Security audit

From Xiaowen-Jiang/agent-enterprise · View interactive version

Security audit is an AI agent skill from the GitHub repository Xiaowen-Jiang/agent-enterprise. Review code and architecture for security vulnerabilities using OWASP guidelines

How to use this skill

Skill file

Process

  1. Map the attack surface — Identify entry points (APIs, forms, file uploads, auth endpoints)
  2. OWASP Top 10 check:
  1. Check secrets management — Hardcoded keys, tokens in source, .env in git
  2. Review auth/authz — Token validation, session handling, role checks
  3. Check input validation — All user inputs sanitized and validated
  4. Dependency audit — Check for known vulnerabilities in dependencies

Output Format

## Security Audit Report

**Scope**: [Files/components reviewed]
**Risk Level**: Critical / High / Medium / Low

### Findings

#### [CRITICAL] Finding Title
- **Location**: file:line
- **Vulnerability**: [OWASP category]
- **Impact**: [What an attacker could do]
- **Remediation**: [Specific fix with code example]

#### [HIGH] Finding Title
...

### Summary
- Critical: N findings
- High: N findings
- Medium: N findings
- Low: N findings

### Recommendations
1. [Priority-ordered action items]

Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.