eliyce/paqad-ai/cryptographic-review
Claude Code and agent skill by eliyce/paqad-ai
- community
Checking that the SKILL.md file is still in the repository.
Finds cryptographic failures (weak hashing, insecure modes, hardcoded keys, weak PRNG, disabled TLS verification) from code evidence. Use when docs or code cover password storage, encryption, token or API key generation, outbound HTTPS or key management.
Install
npx vskill@latest install eliyce/paqad-ai/cryptographic-reviewSKILL.md
The same SKILL.md was published earlier as eliyce/paqad-ai/cryptographic-review.
What It Does
Reviews the application's cryptographic implementation for weaknesses that could allow an attacker to recover sensitive data, forge tokens, or intercept communications (covering password storage, symmetric encryption, random number generation, key management, and TLS configuration. Maps to OWASP 2025 A04) Cryptographic Failures.
Use This When
When module docs or code evidence describes password storage, data encryption, token generation, API key creation, external HTTPS calls, or certificate/key management.
Inputs
- Read module docs to identify where cryptography is used.
- Read
references/crypto-weakness-patterns.mdbefore scanning each area. - Read code and configuration files for cryptographic implementation details.
Procedure
- Encryption at rest: Find database columns or file stores that contain PII, financial data, authentication credentials, or health records. Verify encryption is applied and the encryption key is not stored in the same location as the encrypted data.
- Encryption in transit: Verify all inter-service and client-server communication uses TLS 1.2+. Search for patterns that disable certificate verification:
verify=False,rejectUnauthorized: false,InsecureSkipVerify: true,CURLOPT_SSL_VERIFYPEER = false,ssl._create_unverified_context(),NODE_TLS_REJECT_UNAUTHORIZED=0.
- Key management: Scan codebase for hardcoded secrets, API keys, or encryption keys embedded as string literals or in config files committed to the repository. Verify that key rotation procedures exist. Verify keys are not stored alongside the data they protect.
- Password storage: Identify the hashing algorithm used for passwords:
MD5,SHA1,SHA256(even with salt) → flag as weak for password hashing; fast algorithms enable brute-forcebcryptwith cost factor ≥ 10 → acceptableargon2idwith memory ≥ 64MB, iterations ≥ 3 → recommendedPBKDF2with ≥ 100,000 iterations → acceptable- Check that each password has a unique random salt (not a global salt)
- Random number generation: Find uses of
Math.random(),rand(),mt_rand(),random.random(),java.util.Randomin security-sensitive contexts (session ID generation, token generation, OTP generation, CSRF token generation). These are not cryptographically secure. Requirecrypto.randomBytes(),random_bytes(),secrets.token_bytes(),java.security.SecureRandom.
- Symmetric encryption: Find uses of ECB mode (
AES/ECB,openssl_encrypt(..., "aes-128-ecb", ...)). ECB mode leaks patterns in ciphertext, identical plaintext blocks produce identical ciphertext. Check for static/hardcoded IVs. Verify IVs are generated with a CSPRNG per encryption operation.
Output Contract
- Match
assets/output.template.md:## Findingswith severity, WSTG-CRYP id (fromassets/wstg-mapping.txt),Evidence: file:line, andRequired action:per bullet. - Output must pass
scripts/lint-findings.sh(exit 0). - Never include raw secret values:
file:lineonly.
Escalate / Stop Conditions
- Ask when the encryption library is not identified: cannot verify algorithm without knowing the library.
- Warn when
MD5orSHA1is used anywhere for password hashing: these are never acceptable regardless of salt. - Do not flag cryptography findings for non-security data (e.g., MD5 used for cache key generation or file checksums is acceptable).
Resources
references/crypto-weakness-patterns.mdscripts/scan-crypto-smells.sh: pre-investigation grep for known anti-patternsscripts/lint-findings.sh: enforces WSTG-CRYP id, Evidence:file:line, and no raw-secret leakassets/output.template.mdassets/wstg-mapping.txt
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingruntime/capabilities/security/skills/cryptographic-review/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eliyce/paqad-ai/cryptographic-review)