audit-security

Audits entire codebase for security risks including secrets exposure and misconfigurations.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/mia-cx/.agents --skill audit-security-mia-cx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-security
Source: https://github.com/mia-cx/.agents/tree/main/skills/audit-security
Command: npx skills add https://github.com/mia-cx/.agents --skill audit-security-mia-cx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run a whole-codebase security audit — secrets scanning, trust boundary analysis, OWASP Top 10 evaluation, configuration review, and dependency audit. Use when a user wants a security review of the entire project (not just a PR), and when the repository is described with terms like "security audit", "pen test", "hardening", or "vulnerability scan".

Core Features & Use Cases

  • Automated scanning of secrets across all tracked files to surface credentials and sensitive data.
  • Comprehensive configuration and access review, including CORS, auth, CSP, and dev-mode exposure checks.
  • Trust-boundary mapping and full-repo threat modeling to identify cross-component risks and data flow weaknesses.
  • Dependency audit coordination with the Security Reviewer to surface known vulnerable components and remediation recommendations.
  • Supports full-repo scope vs. PR-only review by overriding the subagent's scoping rule.

Quick Start

Override the Security Reviewer’s scope to cover the entire repository and run a full codebase security assessment.

Frequently Asked Questions about audit-security

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

FAQPage Schema
How do I run a full codebase security audit instead of just scanning a PR diff?

A whole-codebase security audit scans for secrets exposure, trust boundary issues, configuration weaknesses, and vulnerable dependencies. It evaluates the OWASP Top 10 across the entire repository rather than just reviewing PR diffs.

How do I scan my repository for exposed secrets and sensitive credentials?

Automated secrets scanning checks all tracked files in the repository to surface credentials and sensitive data. It identifies exposed secrets across the entire codebase during a comprehensive security audit.

Does this security audit evaluate configuration weaknesses like CORS and CSP?

The security audit includes a comprehensive configuration and access review that checks CORS, authentication, CSP, and dev-mode exposure. It identifies configuration weaknesses across the repository to prevent unauthorized access.

Can I audit vulnerable dependencies and get remediation recommendations?

Dependency audit coordination with the Security Reviewer surfaces known vulnerable components and provides remediation recommendations. This dependency audit is part of the comprehensive codebase security assessment.

When should I use a full-repo vulnerability scan instead of a PR-only review?

Use a full-repo vulnerability scan when you need comprehensive hardening, pentest, or threat modeling across the entire project. PR-only reviews miss cross-component risks, whereas full-repo analysis maps trust boundaries and identifies data flow weaknesses.

What is trust boundary mapping and how does it identify cross-component risks?

Trust boundary mapping is a full-repo threat modeling technique that identifies cross-component risks and data flow weaknesses. It analyzes the entire codebase to surface security risks where data crosses trust boundaries.