skills/mukul975/anthropic-cybersecurity-skills/implementing-aes-encryption-for-data-at-rest/Gen Agent Trust Hub
implementing-aes-encryption-for-data-at-rest
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill implements AES-256-GCM encryption for data at rest using standard libraries and secure parameters.\n
- Evidence:\n
- Analysis of
scripts/agent.pyandscripts/process.pyshows proper use of PBKDF2-HMAC-SHA256 with 600,000 iterations for key derivation.\n - Cryptographically secure random nonces are generated via
os.urandom()and are never reused for the same key.\n - The implementation includes integrity checks via the GCM authentication tag, ensuring that modified ciphertext will be detected during decryption.\n- [INDIRECT_PROMPT_INJECTION]: The skill possesses a potential attack surface for indirect prompt injection as it reads and processes external files.\n
- Ingestion points: The
encrypt_fileanddecrypt_filefunctions inscripts/agent.pyandscripts/process.pyread data from user-specified file paths.\n - Boundary markers: No explicit delimiters or instructions are used to distinguish between processed data and agent instructions.\n
- Capability inventory: The skill is capable of writing files and creating directories on the local file system.\n
- Sanitization: The implementation uses authenticated encryption (AES-GCM), which verifies the integrity of the encrypted data, preventing the processing of tampered ciphertext.
Audit Metadata