With the continuous development of deep learning applications in communication systems, end-to-end image transmission methods based on Deep Joint Channel Coding (DeepJSCC) have gradually become a research hotspot. However, existing methods often focus on optimizing transmission performance and pay insufficient attention to security during communication, making it difficult to resist eavesdropping attacks. Therefore, this article proposes a deep learning communication encoding, decoding, and encryption method based on latent space perturbation and adversarial eavesdropping. This method uses the latent variables output by the encoder as channel transmission symbols in the end-to-end communication autoencoder framework, and introduces a key controlled latent space encryption mechanism at the transmitting end to achieve lightweight perturbation through dimension scrambling and symbol flipping. Meanwhile, a multi key pool strategy is designed to randomly select keys at the sample level to enhance attack uncertainty. To further enhance system security, an eavesdropper network is introduced and an adversarial training mechanism is constructed, enabling legitimate receivers to achieve high-quality reconstruction under the correct key, while eavesdroppers find it difficult to recover valid information. In addition, this article proposes a dual security degradation assessment strategy and analyzes the performance differences between the erroneous key receiving end and the keyless eavesdropping end, in order to more comprehensively measure system security. The experimental results on the MNIST dataset show that the proposed method can maintain good reconstruction quality and semantic consistency under different signal-to-noise ratio conditions, while significantly reducing the recovery performance under eavesdropping and incorrect key conditions, verifying the effective balance between transmission reliability and security of the method. Compared with existing methods, the method proposed in this paper has the advantages of simple structure, low computational cost, and easy implementation, making it suitable for secure image communication in resource constrained scenarios.