Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By trailofbits Verified Orgv2.0.3CC-BY-SA-4.0In 3 marketplaces
Audits a file, directory or whole repo for insecure defaults such as fallback secrets and default credentials. Runs parallel sweeps per category, then has a verifier agent try to refute each finding before reporting.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
3 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Audits a codebase for insecure default configuration, tracing each candidate before reporting it.
/plugin install insecure-defaults # marketplace
/plugin install ./plugins/insecure-defaults # local checkout
/insecure-defaults:audit # whole repo
/insecure-defaults:audit src/ # subtree
/insecure-defaults:audit src/config/app.py # one file
Argument is a file or a directory. Optional; defaults to ..
Whatever you point at is the target, however test-like it looks: a run scoped to tests/ audits the tests. Exclusions (fixtures, docs, vendored code) apply only outside the scope you named.
Use the command, not the workflow. Invoking
insecure-defaults:audit-pipeline directly stops immediately. No fallback: if the
corpus can't be read, the run errors rather than guessing.
| Category | Example | Corpus |
|---|---|---|
| Fallback secrets | SECRET = env.get('KEY') or 'dev' | fallback-secrets.md |
| Default credentials | seeded admin / admin123 | default-credentials.md |
| Fail-open switches | getenv('REQUIRE_AUTH', 'false') | fail-open-security.md |
| Weak crypto | hashlib.md5(password) | weak-crypto.md |
| Permissive access | ACL='public-read', 0o666, CORS * | permissive-access.md |
| Debug leakage | traceback.format_exc() in a response | debug-features.md |
Each category is three files that must agree:
workflows/audit.js | an { id, title } row, all the script knows. Ships as /insecure-defaults:audit-pipeline |
references/<id>.json | title + seed patterns |
references/<id>.md | Report when / Skip when, plus worked vulnerable/secure pairs |
The sweep agent loads both files for its own category and no others. It has to be the agent, not the script: a workflow has no filesystem access. tests/seed-coverage.js checks the three correspond, since nothing at runtime can.
Candidates come in two shapes, judged differently:
env.get('K', 'x') does; env['K'] crashes instead, so it's fine.| Phase | Agents | Model | Does |
|---|---|---|---|
| Recon | 1 | Sonnet | Classify scope, profile stack + deploy manifests |
| Discover | 6 | Sonnet | One sweep per category, in parallel |
| Verify | N | Opus | Refuting agents batched by category, ≤16 findings each |
| Report | 1 | Sonnet | Severity, remediation, coverage |
Between Discover and Verify: dedup keyed on category:file:line, so the rule id prefixes the path. Two patterns in one category hitting the same line collapse; the same line flagged by two different categories stays as two candidates. hashlib.md5(k) can be a real weak-crypto finding and a false permissive-access match at once, and one merged verdict would have to cover both readings.
Verify then batches by category, ≤16 findings per agent. Each agent reads exactly one corpus and applies one discriminator. A category with more than 16 findings is split across several agents, so no single agent can run past the tool-call cap and return a partial verdict list. Coverage is uncapped; only per-agent size is.
Sweeps collect and don't judge: a sweep only greps, so it files candidates without classifying them and the verifier decides with the file in context. Each verifier starts at refuted: true and stops at the first step that kills a candidate:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub trailofbits/skills --plugin insecure-defaultsPlugins from other owners that cover similar ground