Skip to content
Back to skills

Trailofbits Insecure Defaults

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsgoexpressdatabasesecurity

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add bepaldes/heimdall-agent --skill trailofbits-insecure-defaults --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trailofbits Insecure Defaults?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Trailofbits Insecure Defaults
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bepaldes-trailofbits-insecure-defaults/badge)](https://www.skillsdirectory.com/skills/bepaldes-trailofbits-insecure-defaults)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md6.6 KB
  • SKILL.md2 KB
  • commands/audit.md1.4 KB
  • references/debug-features.json777 B
  • references/debug-features.md2.3 KB
  • references/default-credentials.json723 B
  • references/default-credentials.md2.2 KB
  • references/fail-open-security.json686 B
  • references/fail-open-security.md2 KB
  • references/fallback-secrets.json522 B
  • references/fallback-secrets.md2.1 KB
  • references/permissive-access.json720 B
  • references/permissive-access.md2.2 KB
  • references/weak-crypto.json794 B
  • references/weak-crypto.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.