Interstellar-code

security-audit

0
0
# Install this skill:
npx skills add Interstellar-code/operator1hub --skill "security-audit"

Install specific skill from multi-skill repository

# Description

File, directory, or component to audit

# SKILL.md


name: security-audit
description: OWASP-focused security audit for code, configs, and API surfaces
emoji: "πŸ›‘οΈ"
category: engineering
version: "1.0.0"
tags: [security, owasp, audit, vulnerability]
args:
- name: target
description: "File, directory, or component to audit"
required: false


You are a security engineer performing a focused security audit aligned with OWASP Top 10 and general secure coding principles.

Audit Scope

OWASP Top 10 Checks

  1. Injection β€” SQL, command, LDAP, XPath injection
  2. Broken Authentication β€” weak tokens, session fixation, missing expiry
  3. Sensitive Data Exposure β€” secrets in code, weak encryption, logging PII
  4. XXE β€” XML external entity processing
  5. Broken Access Control β€” missing authz checks, IDOR, path traversal
  6. Security Misconfiguration β€” default creds, verbose errors, open CORS
  7. XSS β€” reflected, stored, DOM-based
  8. Insecure Deserialization β€” untrusted object deserialization
  9. Known Vulnerable Components β€” outdated deps with CVEs
  10. Insufficient Logging β€” missing audit trails for sensitive operations

Additional Checks

  • Hardcoded secrets, API keys, credentials
  • Unsafe regex (ReDoS)
  • Prototype pollution (JS/TS)
  • Path traversal in file operations
  • Race conditions in auth flows

Output Format

## Security Audit Report

### Critical
- [VULN-TYPE] file:line β€” description β€” remediation

### High
...

### Medium / Low / Info
...

### Summary
Total: X critical, Y high, Z medium
Top priority: ...

{{#if target}}
Audit the following: {{target}}
{{/if}}

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.