insecure-defaults

Identify fail-open insecure defaults in production-reachable code and configuration.

965|142|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/vigolium/vigolium --skill insecure-defaults-vigolium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: insecure-defaults
Source: https://github.com/vigolium/vigolium/tree/main/platform/vigolium-audit/src/content/skills/insecure-defaults
Command: npx skills add https://github.com/vigolium/vigolium --skill insecure-defaults-vigolium

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you find fail-open insecure defaults where applications keep running with weak or unsafe behavior when configuration or secrets are missing.

Core Features & Use Cases

  • Detects fail-open fallbacks that silently use weak secrets or permissive settings in production rather than failing safely.
  • Distinguishes fail-secure vs fail-open by prompting code-path verification to confirm what happens when variables are absent.
  • Covers common insecure defaults including fallback secrets, default credentials patterns, permissive access (e.g., CORS), weak crypto, and debug features that expose internals.

Quick Start

Use the insecure-defaults skill to scan your repository for fail-open secret fallbacks, permissive auth/security settings, weak crypto usage, and debug modes that may run in production when environment variables are missing.

Frequently Asked Questions about insecure-defaults

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a fail-open security default and why is it dangerous in production?

A fail-open security default allows applications to continue running with weak or unsafe behavior, such as using fallback secrets or permissive settings, when configuration or environment variables are missing, exposing production systems to vulnerability.

How do I audit my code for insecure secret fallbacks and missing environment variables?

You can audit production-reachable code by searching for config, auth, and credential patterns, then tracing code paths to verify runtime behavior when environment variables are absent and confirming the actual security impact.

Does this insecure defaults audit cover permissive CORS and weak crypto settings?

Yes, this audit covers common insecure defaults including permissive access settings like CORS, weak crypto usage, default credentials, and debug features that may inadvertently run in production when configuration is missing.

How do I verify if my application fails securely when configuration is absent?

To distinguish fail-secure from fail-open behavior, trace the code paths of your config and auth patterns to verify the actual runtime behavior, ensuring the application safely halts or restricts access when environment variables or secrets are missing.

What is the best way to scan infrastructure as code for default credentials and debug modes?

The best way to scan IaC and configuration is by performing discovery-focused searching for default credential patterns and debug features, then tracing those findings to confirm their production impact and severity.