Back to skills

insecure-defaults

security

Detects fail-open security vulnerabilities where applications run insecurely due to missing or weak configuration. Focuses on distinguishing exploitable defaults (app runs with a weak secret) from fai

Setup & Installation

npx skills add https://github.com/trailofbits/insecure-defaults --skill insecure-defaults
or paste the link and ask your coding assistant to install it
https://github.com/trailofbits/insecure-defaults
View on GitHub

What This Skill Does

Detects fail-open security vulnerabilities where applications run insecurely due to missing or weak configuration. Focuses on distinguishing exploitable defaults (app runs with a weak secret) from fail-secure patterns (app crashes without proper config). Covers hardcoded credentials, weak crypto, permissive access controls, and debug features left enabled. Manual code review misses fail-open patterns because the code looks correct at a glance — this skill traces the actual runtime path to confirm whether a missing env var causes a crash or silently falls back to a weak default.

When to use it

  • Working with insecure defaults functionality
  • Implementing insecure defaults features
  • Debugging insecure defaults related issues