Individual skill
crypto-misuse
Block weak ciphers, predictable RNG, undersized keys, fast-hash password storage, nonce reuse, and non-constant-time comparison. Use when generating code that hashes, encrypts, or signs, code that compares secrets, MACs, or tokens, or config for key sizes and randomness.
skills/crypto-misuse/SKILL.md
Source commit eaba88102d91df65a9aa6397e8507c315c018f5e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Instructions only
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 23
- Repository last updated
- Aug 14, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude-skills Repository topic
- llm Repository topic
- security Repository topic
- skills Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,185 bytesSKILL.mdcore · 9,185 bytesreferences/verifying-findings.mddoc · 4,833 bytesrules/algorithm_blocklist.jsonasset · 2,614 bytesrules/key_size_minimums.jsonasset · 1,440 bytestests/corpus.jsonasset · 2,396 bytes
Read excerpt
# Cryptographic Misuse
## Rules (for AI agents)
### ALWAYS
- Use a maintained, widely reviewed cryptographic API — the platform's own (Node
`crypto`, Java JCE, .NET `System.Security.Cryptography`, Go `crypto/*`) or a
reputable third-party one (PyCA `cryptography`, `golang.org/x/crypto`, Bouncy
Castle). Prefer high-level, misuse-resistant APIs over assembling low-level
primitives yourself. In Python, `from Crypto…` resolves to either the abandoned
`pycrypto` or its maintained fork `pycryptodome` depending on what is installed —
the import line is identical, so depend on `pycryptodome` explicitly.
- Use a cryptographically secure RNG for anything security-relevant: Python
`secrets.token_bytes` / `secrets.token_urlsafe`, JS `crypto.getRandomValues` /