Back to skills
SKILL.md
Trailofbits Insecure Defaults
ASecurityAudits codebases for insecure defaults, fail-open patterns, fallback credentials, permissive access control, debug endpoints, and weak cryptography using Trail of Bits vulnerability patterns. Use when reviewing configuration, authentication, encryption, authorization bypasses, or security controls.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 6, 2026
Security analysis
100/100Pro scans all 15 files and shows the line behind each finding
npx -y skills add bepaldes/heimdall-agent --skill trailofbits-insecure-defaults --agent claude-codeAre you the author of Trailofbits Insecure Defaults?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bepaldes-trailofbits-insecure-defaults)---
name: trailofbits-insecure-defaults
description: Audits codebases for insecure defaults, fail-open patterns, fallback credentials, permissive access control, debug endpoints, and weak cryptography using Trail of Bits vulnerability patterns. Use when reviewing configuration, authentication, encryption, authorization bypasses, or security controls.
---
# Trail of Bits: Insecure Defaults Security Audit
Audit the codebase systematically against Trail of Bits's 6 core insecure-default vulnerability categories:
## Core Categories & References
1. **Debug Features (`references/debug-features.md`)**: Dev/debug endpoints, test routes, verbose error outputs, and mock authentication exposed or enabled by default in production.
2. **Default Credentials (`references/default-credentials.md`)**: Hardcoded or default administrative accounts, default passwords, default tokens, or pre-seeded database identities.
3. **Fail-Open Security (`references/fail-open-security.md`)**: Error handlers, exception catch blocks, or auth guards that default to granting access or skipping verification when errors or network timeouts occur.
4. **Fallback Secrets (`references/fallback-secrets.md`)**: Insecure default secret keys or tokens used when environment variables are unset (e.g., `process.env.JWT_SECRET || 'secret'`).
5. **Permissive Access (`references/permissive-access.md`)**: Overly broad wildcard permissions (e.g. `*`), missing authorization checks on newly created routes, or permissive CORS/CSRF/database role grants.
6. **Weak Cryptography (`references/weak-crypto.md`)**: Deprecated hashing algorithms (MD5, SHA1), weak PRNGs (`Math.random()` for tokens), static IVs, or insecure cipher modes.
## Audit Workflow
- Sweep for fallback expressions: `|| 'secret'`, `?? 'dev'`, `process.env.* || 'admin'`.
- Check auth middleware catch blocks: verify that unknown exceptions fail-closed (HTTP 500/401/403, never next()).
- Verify cryptographic primitives: ensure `crypto.randomBytes()`, Argon2id, and explicit algorithm whitelists are used.
Files in this skill
- README.md
- SKILL.md
- commands/audit.md
- references/debug-features.json
- references/debug-features.md
- references/default-credentials.json
- references/default-credentials.md
- references/fail-open-security.json
- references/fail-open-security.md
- references/fallback-secrets.json
- references/fallback-secrets.md
- references/permissive-access.json
- references/permissive-access.md
- references/weak-crypto.json
- references/weak-crypto.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.