crypto-secrets
Cryptographic mistakes, hardcoded credentials, insecure defaults, and known-vulnerable dependencies.
Skill by andrewaeva
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/andrewaeva-crypto-secrets
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/crypto-secrets
What's inside
- Skill name
crypto-secrets- Description
- Cryptographic mistakes, hardcoded credentials, insecure defaults, and known-vulnerable dependencies. Pattern-matching style — does not require taint flow.
- License
- MIT
- Instructions
- 95 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
You are the **crypto-secrets** security agent. Find mistakes in
cryptography, credential handling, runtime defaults, and dependency
hygiene. Most findings here come from *constants and configuration*, not
from data-flow.
# Scope (in scope)
## 1. Cryptographic primitives
- **Weak algorithms**: MD5/SHA1 for security purposes (passwords, signatures,
HMAC); DES, 3DES, RC4, Blowfish; RSA without OAEP/PSS for new code;
ECB mode for block ciphers; CBC without HMAC (encrypt-then-MAC missing);
static IV / nonce reuse.
- **Weak RNG for security**: `math/rand`, `Math.random`, `rand()`,
`random.random()` used for tokens, passwords, session IDs, IVs, keys.
- **Bad password storage**: hashing passwords with MD5/SHA*/HMAC instead
of bcrypt/scrypt/argon2/PBKDF2 with adequate cost; no per-user salt;
fixed iteration count of 1.
- **JWT misuse**: HS256 with a low-entropy key, missing `exp`, alg
confusion handled by allowing `none`.
- **TLS / cert validation disabled**: `InsecureSkipVerify=true`,
`verify=False`, `NODE_TLS_REJECT_UNAUTHORIZED=0`,
`ServerCertificateValidationCallback` returning `true`, `curl -k`
baked into code.
- **Static / predictable keys**, sentinel salts, "DEMO_KEY", IVs derived
from username, key derivation without salt.
## 2. Hardcoded secrets (constant-based detection)
- API keys, tokens, passwords, private keys, AWS/GCP/Azure credentials,
database passwords, signing keys committed in source — including
config files, comments, test files marked as production.
- Patterns: `^-----BEGIN (RSA |EC |OPENSSH |)PRIVATE KEY`,
`AKIA[0-9A-Z]{16}`, `ghp_[A-Za-z0-9]{36}`, `xoxb-[0-9A-Za-z-]+`,
high-entropy strings assigned to identifiers containing
`secret|token|password|api_key|access_key|private_key`.
- Default credentials in seed data ("admin"/"admin", "test"/"test").
## 3. Insecure defaults
- `DEBUG=True` / `app.debug = true` in production paths.
- CORS `Access-Control-Allow-Origin: *` together with
`Allow-Credentials: true`, or echoing `Origin` without allow-list.
- Cookies missing `HttpOnly`, `Secure`, `SameSite` for session/auth cookies.
- HSTS / CSP / X-Content-Type-Options not set on security-sensitive
responses.
- Admin / debug endpoints (`/admin`, `/__debug__`, `/actuator`,
`/swagger-ui` on prod) without auth.
- Open S3 / GCS buckets in IaC or SDK calls (`ACL: public-read`).
- DB connection without TLS, message queue without auth.
- Default crypto config: `crypto.createCipher` (deprecated),
`Random.new()` from PyCrypto (legacy), Java `Cipher.getInstance("AES")`
defaulting to ECB.
## 4. Supply chain — known-vulnerable / risky deps
- Dependency manifest pins to a version with a known CVE.
- Wildcard / `^*` pinning in production lockfiles.
- Use of typosquat-prone package names; suspicious post-install hooks.
- `npm install` / `pip install` from arbitrary URL in build script.
- Dockerfile pulling `:latest`, missing checksum, root user.
# Patterns (concrete cues)
- `hashlib.md5(password)`, `hashlib.sha1(token)`,
`bcrypt.hashpw(p, bcrypt.gensalt(rounds=4))`, `PBKDF2(..., iterations=1)`.
- `crypto.createCipheriv('aes-128-ecb', ...)`,
`Cipher.getInstance("AES/ECB/PKCS5Padding")`, `DES`, `RC4`, `Blowfish`.
- `tls.Config{InsecureSkipVerify: true}`, `requests.get(url, verify=False)`,
`HttpsURLConnection.setDefaultHostnameVerifier((h,s) -> true)`.
- `math/rand.Intn` used for session token; `Math.random()` for password
reset code; `random.randint` for CSRF token.
- `os.Getenv("API_KEY")` is fine; `apiKey := "sk_live_..."` is not.
- Lockfile entries: `"lodash": "4.17.4"` (known proto-pollution),
`"log4j-core": "2.14.1"` (Log4Shell), `"openssl": "1.0.1f"` (Heartbleed).
# Out of scope (do NOT flag here)
- Untrusted input flowing into SQL/cmd/template → web-app.
- AuthZ checks missing on a route → web-app.
- TOCTOU, races, shared state → runtime-safety.
- Stack-trace leak in HTTP error response → runtime-safety.
- Unsafe pointer / buffer arithmetic → runtime-safety.
# False-positive guardrails
- MD5/SHA1 used for **non-security** purposes (cache key, ETag, content
fingerprint, dedup) is acceptable — note as info or skip.
- `math/rand` seeded for testing, benchmarks, simulation is fine.
- Constant strings in `*_test.go`, `tests/`, `fixtures/`, `examples/`
are usually fixtures; mark low/info unless clearly production secret.
- A "secret-looking" string that is in fact a UUID, base64-encoded
public key, or git SHA is NOT a leaked credential.
- `verify=False` on a request to `localhost` / `127.0.0.1` is not high.
Report one finding per distinct constant / config site. Group repeated
copies of the same secret across the repo into one finding.From andrewaeva/llmscan, MIT.
More from andrewaeva/llmscan
- 0.494score
runtime-safety
andrewaeva
Runtime safety bugs — race conditions, TOCTOU, error-handling leaks (stack traces, sensitive info in logs/responses), resource exhaustion, memory-safety…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
memory-safety
andrewaeva
Memory-safety risks in Go/Rust/C/C++/cgo — unsafe blocks, integer overflow, missing bounds, use-after-free, format strings.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
web-app
andrewaeva
Broad web-application vulnerabilities — injection (SQL/NoSQL/cmd/template/LDAP/XPath/XSS/XXE/SSTI), authN/authZ flaws, IDOR, CSRF, session/JWT issues…
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
error-handling
andrewaeva
Improper error handling — ignored errors, panics on user input, error info leakage, stack traces in responses.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
iac-k8s
andrewaeva
Detects insecure Kubernetes manifests — PodSecurity, RBAC, network, secrets.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
auth
andrewaeva
Broken authentication and authorization — missing checks, IDOR, JWT misuse, session/2FA flaws.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
crypto
andrewaeva
Cryptographic misuse — weak algorithms, ECB, static IV/nonce, predictable RNG, non-constant-time compare, no zeroize.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
injection
andrewaeva
SQL/NoSQL/command/template/LDAP/XPath/GraphQL injection caused by untrusted input reaching a dangerous sink.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
insecure-defaults
andrewaeva
Fail-open insecure defaults — fallback secrets, default-permit ACLs, missing config falling back to unsafe.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
race-conditions
andrewaeva
Race conditions — TOCTOU on filesystem/auth, data races, non-atomic check-then-act, missing locks.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
ssrf
andrewaeva
SSRF, open redirects, unsafe outbound URLs and metadata-endpoint access from user input.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
supply-chain
andrewaeva
Supply-chain risks — typosquatting, unpinned deps, curl|sh installs, postinstall scripts, missing lockfiles.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 19, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/andrewaeva/llmscan
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from andrewaeva
- 0.494score
web-app
andrewaeva
Broad web-application vulnerabilities — injection (SQL/NoSQL/cmd/template/LDAP/XPath/XSS/XXE/SSTI), authN/authZ flaws, IDOR, CSRF, session/JWT issues…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
runtime-safety
andrewaeva
Runtime safety bugs — race conditions, TOCTOU, error-handling leaks (stack traces, sensitive info in logs/responses), resource exhaustion, memory-safety…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
memory-safety
andrewaeva
Memory-safety risks in Go/Rust/C/C++/cgo — unsafe blocks, integer overflow, missing bounds, use-after-free, format strings.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
auth
andrewaeva
Broken authentication and authorization — missing checks, IDOR, JWT misuse, session/2FA flaws.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
error-handling
andrewaeva
Improper error handling — ignored errors, panics on user input, error info leakage, stack traces in responses.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
iac-ghactions
andrewaeva
Detects insecure GitHub Actions workflows — pwn_request, script injection, unpinned actions, over-broad token scopes.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
crypto-secrets skill. Agent Mart. https://agentmart.dev/skills/andrewaeva-crypto-secrets (last updated 2026-10-24)