aws-sdk-java-v2-kms

Warn

Audited by Socket on Sep 14, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
references/spring-boot-integration.md

The fragment is intended to provide AWS KMS-backed encryption and database integration and does not show evidence of malware or deliberate supply-chain sabotage. It contains significant security and correctness issues: arbitrary endpoint configuration, application-managed static credentials, plaintext data keys retained in the cache, zeroing cached keys after use, and especially unsafe deterministic AES-GCM nonce construction. The envelope encryption implementation should not be used without redesigning nonce generation, key-cache handling, and credential configuration. Health endpoint exposure should also be restricted.

Confidence: 98%Severity: 82%
AnomalyLOW
references/technical-guide.md

The fragment is legitimate AWS KMS demonstration and utility code with no evidence of malicious behavior, data theft, backdoors, or intentional obfuscation. It contains a significant cryptographic implementation flaw in the AES-GCM envelope encryption example because the IV/nonce is not retained for decryption, plus incomplete plaintext-key cleanup on exceptional paths and potential KMS key accumulation in the asynchronous signing example. It should be corrected before production use, but the code does not appear to be malware.

Confidence: 98%Severity: 58%
Audit Metadata
Analyzed At
Sep 14, 2026, 09:09 PM
Package URL
pkg:socket/skills-sh/giuseppe-trisciuoglio%2Fdeveloper-kit%2Faws-sdk-java-v2-kms%2F@9ca37adf5f659da8bd5ed0b019773a2736b35cc557a94eff385688e78ab9eadd
Security Audit — socket — aws-sdk-java-v2-kms