Loading...
Loading...
Audit cryptography implementation — algorithm choice, key sizes, KDF parameters, IV/nonce handling, signature verification, randomness, TLS configuration, and key rotation. Deeper than owasp-audit A02. Use when the user mentions 'crypto review,' 'cryptography audit,' 'encryption review,' 'KDF,' 'PBKDF2,' 'Argon2,' 'bcrypt cost,' 'IV reuse,' 'nonce reuse,' 'AES mode,' 'AES-GCM,' 'AES-ECB,' 'signature verification,' 'TLS configuration,' 'cipher suites,' 'key rotation,' 'libsodium,' 'BoringSSL,' or 'is this crypto right.'
npx skill4agent add briiirussell/cybersecurity-skills crypto-auditowasp-auditowasp-auditsecrets-auditiam-audithash(key + message)MD5SHA1DESRC4BlowfishAES.*ECBpkcs1_v1_5RSA.encryptPBKDF2HKDFArgon2scryptpbkdf2_hmaciterationsiv = "0000000000000000"iv = bytes(16)Cipher.getInstance("AES")AES.new(key)crypto.createCiphercrypto.timingSafeEqualhmac.compare_digestsubtle.ConstantTimeCompareowasp-auditalgjwt.decodejwt.verifyalg: noneowasp-auditparseInt → NaNjwt.decodeverifyalg: 'none'verify.*sigtimingSafeEqualcrypto.randomBytessecrets.token_bytescrypto/randSecRandomCopyBytesSecureRandomMath.random()random.random()rand()arc4random_uniformMath.randomrandom.randomrand(mt_randRandom.newVERIFY_PEERowasp-audittestssl.sh https://targetsslyze --regular targetMessageVerifierMessageEncryptorcryptography.fernetdjango.core.signingiron-sessioncookie-signatureCommonCryptotestssl.shcurl --tlsv1.3 --tls-max 1.3 https://target# Cryptography Implementation Audit
## Project: [name]
## Scope: [components covered]
## Date: [date]
### Summary
[2-3 paragraphs]
### Findings
| ID | Severity | Component | Issue | CWE |
|----|----------|-----------|-------|-----|
### Per-finding detail
[Title, severity, file:line, description, vulnerable snippet, remediation, verification]
### TLS posture (if applicable)
[Output of testssl.sh / sslyze]
### Key inventory
| Key | Purpose | Location | Algorithm | Rotation |
|-----|---------|----------|-----------|----------|
### Recommendations
[Prioritized]owasp-audit