insecure-defaults

insecure-defaults is a skill for Claude Code from waybarrios/opencode-power-pack. It costs 48 tokens per session (1,187 once invoked), scanned A, original, MIT.

A security-audit guide for finding settings that quietly make an application run with weak protection when required configuration is missing, such as secrets or authentication settings.

In plain words
What is it for?
Use it when reviewing production code, deployment files, infrastructure settings, Docker configuration, or environment-variable handling for hardcoded secrets and weak defaults.
Why use it?
It catches fail-open behavior, where missing security settings leave the application usable but unsafe instead of stopping it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the opencode-power-pack plugin — 55 skills shipped together

Good fit Use it when reviewing production code, deployment files, infrastructure settings, Docker configuration, or environment-variable handling for hardcoded secrets and weak defaults.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waybarrios/opencode-power-pack/insecure-defaults
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add waybarrios/opencode-power-pack --skill insecure-defaults
Clone the repo
git clone --depth 1 https://github.com/waybarrios/opencode-power-pack

Made for: Claude Code.

Or install opencode-power-pack, the plugin that ships this one along with the rest of its 55 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for insecure-defaults

README.md
[![agentmods](https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/insecure-defaults/github.svg)](https://agentmods.dev/skills/waybarrios/opencode-power-pack/insecure-defaults)
Your own site
<a href="https://agentmods.dev/skills/waybarrios/opencode-power-pack/insecure-defaults"><img src="https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/insecure-defaults/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for insecure-defaults

Your own site · 80×15
<a href="https://agentmods.dev/skills/waybarrios/opencode-power-pack/insecure-defaults"><img src="https://agentmods.dev/badge/skills/waybarrios/opencode-power-pack/insecure-defaults.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,187 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01187
Opus 5.5 $0.00019 $0.00475
Sonnet 5.5 $0.00010 $0.00237
Haiku 4.5 $0.00005 $0.00119

Measured 1mo ago against content hash 1ed1608854d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

insecure-defaults scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

skills/insecure-defaults/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Insecure Defaults Detection

Finds fail-open vulnerabilities where apps run insecurely with missing configuration. Distinguishes exploitable defaults from fail-secure patterns that crash safely.

  • Fail-open (CRITICAL): SECRET = env.get('KEY') or 'default' → App runs with weak secret
  • Fail-secure (SAFE): SECRET = env['KEY'] → App crashes if missing

When to Use

  • Security audits of production applications (auth, crypto, API security)
  • Configuration review of deployment files, IaC templates, Docker configs
  • Code review of environment variable handling and secrets management
  • Pre-deployment checks for hardcoded credentials or weak defaults

When NOT to Use

Do not use this skill for:

  • Test fixtures explicitly scoped to test environments (files in test/, spec/, __tests__/)
  • Example/template files (.example, .template, .sample suffixes)
  • Development-only tools (local Docker Compose for dev, debug scripts)
  • Documentation examples in README.md or docs/ directories
  • Build-time configuration that gets replaced during deployment
  • Crash-on-missing behavior where app won't start without proper config (fail-secure)

When in doubt: trace the code path to determine if the app runs with the default or crashes.

Rationalizations to Reject

  • "It's just a development default" → If it reaches production code, it's a finding
  • "The production config overrides it" → Verify prod config exists; code-level vulnerability remains if not
  • "This would never run without proper config" → Prove it with code trace; many apps fail silently
  • "It's behind authentication" → Defense in depth; compromised session still exploits weak defaults
  • "We'll fix it before release" → Document now; "later" rarely comes

Workflow

Follow this workflow for every potential finding:

1. SEARCH: Perform Project Discovery and Find Insecure Defaults

Determine language, framework, and project conventions. Use this information to further discover things like secret storage locations, secret usage patterns, credentialed third-party integrations, cryptography, and any other relevant configuration. Further use information to analyze insecure default configurations.

Read the full file on GitHub · 114 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 114 lines · 48 tokens per session scan A 1ed1608854d5

Subscribe to this mod's changes

insecure-defaults is a skill published in the GitHub repository waybarrios/opencode-power-pack (544 stars, last pushed 5d ago), licensed MIT. It adds 48 tokens to every session and 1,187 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

plugin-audit

Audit vercel-plugin performance on real-world projects. Extracts tool calls from Claude Code conversation logs, tests hook matching against actual inputs, identifies pattern coverage gaps, and checks plugin cache staleness. Use when asked to audit, test, or investigate plugin skill injection on a real project.

build-with-dhiraj/ai-workflow-framework-portability-kit · 62 tokens

vercel-agent

Vercel Agent guidance — AI-powered code review, incident investigation, and SDK installation. Automates PR analysis and anomaly debugging. Use when configuring or understanding Vercel's AI development tools.

build-with-dhiraj/ai-workflow-framework-portability-kit · 43 tokens

pith-review

One-shot structured code review. Use when reviewing a PR, diff, file, or function. Format: one line per issue. No summaries. Does not persist.

abhisekjha/pith · 37 tokens

react-best-practices

React best-practices reviewer for TSX files. Triggers after editing multiple TSX components to run a condensed quality checklist covering component structure, hooks usage, accessibility, performance, and TypeScript patterns.

build-with-dhiraj/ai-workflow-framework-portability-kit · 47 tokens

improve-codebase-architecture

Find architecture and refactoring opportunities in a codebase, informed by CONTEXT.md and docs/adr/. Use to decouple modules or improve testability.

build-with-dhiraj/ai-workflow-framework-portability-kit · 38 tokens

code-review-excellence

Effective code review — feedback, bug-catching, knowledge sharing. Use for PR reviews, standards, or mentoring.

build-with-dhiraj/ai-workflow-framework-portability-kit · 27 tokens