codex-security-audit-skill

Audit codebases for exposed secrets, auth flaws, and launch-blocking security risks.

1|Updated Aug 6, 2026
One-click install
npx skills add https://github.com/luce12/agent-dev-workflow --skill codex-security-audit-skill-luce12
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: codex-security-audit-skill
Source: https://github.com/luce12/agent-dev-workflow/tree/main/toolkits/codex-security-audit-skill
Command: npx skills add https://github.com/luce12/agent-dev-workflow --skill codex-security-audit-skill-luce12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Shipping a SaaS app, API, or MVP without a structured security review leaves you exposed to leaked credentials, broken authorization, and misconfigured deployments. This Skill performs a pragmatic, evidence-based security audit of your codebase and produces a prioritized fix plan before launch. ## Core Features & Use Cases - Secret Scanning: Runs a local pattern scanner (scripts/scan_secrets.py) to detect AWS keys, GitHub tokens, OpenAI keys, Stripe secrets, private keys, and assigned credentials, with redacted output. - Structured Audit Workflow: Reviews authentication, authorization and multi-tenancy, input validation, file uploads, CORS/headers/rate limits, payments and webhooks, dependencies, and logging using references/security-checks.md. - Severity-Classified Report: Outputs confirmed findings (Critical/High/Medium/Low) with file-and-line evidence, concrete risk, minimal fixes, and a fastest safe fix plan. - Use Case: Before publishing your MVP, ask for an audit of secrets, auth, API routes, and deploy config, then have the Critical and High fixes implemented directly with regression tests. ## Quick Start Use codex-security-audit-skill on this project to check secrets, auth, authorization, API routes, CORS, and deploy config, then give me confirmed findings with risk levels and a fix plan.

Frequently Asked Questions about codex-security-audit-skill

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

FAQPage Schema
How do I audit my codebase for security risks before launch?▼

Run a structured security audit covering secrets, authentication, authorization, input validation, CORS, uploads, payments, and dependencies. This Skill inspects your repository, classifies findings by severity with file-and-line evidence, and outputs a prioritized fix plan.

How to scan a project for exposed API keys and secrets?▼

Use the included scan_secrets.py script with python3 against your project path. It detects AWS keys, GitHub tokens, OpenAI and Stripe keys, private keys, and assigned secrets, printing redacted matches with file paths and line numbers as leads for manual review.

What does a security audit checklist for SaaS apps cover?▼

The security-checks.md reference covers repository hygiene, authentication and sessions, multi-tenant authorization, injection, file uploads, CORS and headers, rate limits, payment webhook verification, dependency hygiene, logging privacy, and mobile client risks.

Can the security audit also implement the fixes it finds?▼

Yes. When asked, it patches Critical and High issues with the smallest necessary surface, preserves existing architecture, adds validation and authorization checks near boundaries, and adds regression tests for auth, injection, upload, and webhook paths.

Does the secret scanner prove a credential is actually leaked?▼

No. The scanner output is only a first pass and matches should be treated as leads needing code review. The audit rules require separating confirmed issues from suspicious patterns and never printing full secrets.

What are the limitations of this security audit approach?▼

It avoids claiming current CVEs unless verified with an actual audit command, does not provide legal or compliance conclusions, and focuses on concrete exploitable risks rather than generic checklists. Findings require plausible code paths as evidence.