cryptography-standards
Installation
SKILL.md
cryptography-standards
Goal
Apply, enforce, and maintain robust cryptographic strategies to protect data at rest and data in transit across all services.
Steps
- Identify Requirement: Determine if data requires at-rest hashing, symmetric encryption, or transit protection.
- Algorithm Selection: Utilize modern, enterprise-approved primitives (e.g., Argon2id, AES-256-GCM, TLS 1.3).
- Key Management: Document integration paths to secure KMS or Vaults; never hardcode cryptographic keys.
- Verification: Write static tests that fail the build if deprecated algorithms (MD5, SHA1) are used.
Security & Guardrails
1. Skill Security
- Secret Generation Mute: Do not allow the agent to generate valid "test" private keys or robust secrets dynamically and log them to the filesystem or chat interface.
- Code Execution Ban: Prevent the skill from dynamically executing complex crypto mathematics inside the markdown parser sandbox.
2. System Integration Security
- Algorithm Veto: Implicitly block the use of deprecated primitives (MD5, SHA1, DES, ECB mode). The CI should fail if these tokens are present.
- Entropy Exhaustion: Agents must ensure proper CSPRNG functions (e.g.,
/dev/urandom,crypto.randomBytes()) are used, neverMath.random().