Skip to content
Back to skills

Insecure Defaults

ASecurity

Audit a file, directory or the whole repository for insecure default configuration: fallback secrets, default credentials, fail-open security switches, weak crypto, permissive access, debug leakage. Each candidate is traced to the security decision it reaches before it is reported. Use when asked for an insecure-defaults or configuration security audit, before a release, or after changing secrets, auth or config handling.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 3, 2026
securitygoshellnodedockerapifrontendbackendsecurity

Works with

  • claude code
  • api

Security analysis

A100/100

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

Scanned December 3, 2026

npx -y skills add onprem-ai/platform --skill insecure-defaults --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Insecure Defaults?

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

Security grade badge for Insecure Defaults
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/onprem-ai-insecure-defaults/badge)](https://www.skillsdirectory.com/skills/onprem-ai-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: insecure-defaults
description: "Audit a file, directory or the whole repository for insecure default configuration: fallback secrets, default credentials, fail-open security switches, weak crypto, permissive access, debug leakage. Each candidate is traced to the security decision it reaches before it is reported. Use when asked for an insecure-defaults or configuration security audit, before a release, or after changing secrets, auth or config handling."
---

# Insecure defaults audit

<!-- Written for this repository, not part of upstream: Trail of Bits ships this as a
plugin command (commands/audit.md) and a workflow (workflows/audit.js), with no
SKILL.md. Everything else in this directory is upstream, unmodified; see
../THIRD-PARTY.md. -->

The method and the corpus are upstream's: read `README.md` here first (what it finds,
the two candidate shapes, the five refuting steps). `references/<id>.md` holds, per
category, **Report when** / **Skip when** with worked vulnerable/secure pairs;
`references/<id>.json` holds the seed grep patterns (POSIX ERE).

Categories: `fallback-secrets`, `default-credentials`, `fail-open-security`,
`weak-crypto`, `permissive-access`, `debug-features`.

## Run it

**With a workflow tool** (Claude Code's `Workflow`, or any harness that runs the
`export const meta` + script format): run `workflows/audit.js` with
`args: { scope: "<path, default .>", pluginRoot: "<absolute path of this directory>" }`
and print the result by `status` as `commands/audit.md` describes. Its model names
(`sonnet`, `opus`) may need mapping to the harness's models.

**Without one**, do the same pipeline by hand, one category at a time:

1. Recon: what runs in production here (for this repository: the control plane under
   `planes/control/` (`backend`, `api-gateway`, `frontend`, `compose.yaml`, `deploy/`),
   the inference node under `planes/inference/` (`lifecycle-manager`, `deploy/`), and
   their Dockerfiles); which config wrappers can return a default (settings classes,
   `os.environ` / `os.getenv` reads, `std::env` reads, compose `${VAR:-default}`).
2. Discover: for each category, read its `.json` and `.md`, grep the scope with the
   seed patterns plus patterns derived for this stack (`os.getenv("X", "...")`,
   Pydantic settings defaults, `${VAR:-default}` in shell and compose files). Collect candidates, do not judge yet.
3. Verify: for each candidate start at "refuted" and walk the five steps in
   `README.md` ("How it runs"), stopping at the first that refutes it. An incomplete
   trace is refuted. Cite file and line, and the sink it reaches.
4. Report: the surviving findings with severity and the fix, the refuted ones with the
   step that refuted them, and which categories found no derived patterns (a coverage
   gap, not a clean result).

No candidates is a real result but not proof of absence; say so.

Files in this skill

  • README.md6.6 KB
  • SKILL.md2.8 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
  • workflows/audit.js35 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 security →

Comments

Loading comments…

Newsletter

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