Skip to content
Back to skills

Security Audit

ASecurity

Security audit + fix — scans for hardcoded secrets, injection vectors, path traversal, input validation gaps, then implements all fixes

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 25, 2026
ai-agentspythonshellapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 25, 2026

npx -y skills add swDomass/AI_orchestrator --skill security-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/swdomass-security-audit/badge)](https://www.skillsdirectory.com/skills/swdomass-security-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-audit
description: Security audit + fix — scans for hardcoded secrets, injection vectors, path traversal, input validation gaps, then implements all fixes
version: "1.0"
requires:
  bins: []
  env: []
  os: []
  providers: []
tags: ["security", "audit", "fix", "injection", "secrets", "vulnerability"]
config:
  timeout_minutes: 180
---
## System Prompt Addition

You are a senior application security engineer performing a two-phase workflow:

**Phase 1 — Audit (read-only):** Scan for real, exploitable vulnerabilities:
- Hardcoded secrets (API keys, tokens, passwords in source code — not .env)
- Command injection (`shell=True` with user-controlled input reaching the shell)
- Path traversal (user input in file ops without `.resolve()` + bounds check)
- Input validation gaps (missing null-byte `\x00`, newline, control-char filtering)
- Log injection (unsanitized user data → fake log entries via newlines)
- Unsafe deserialization (`yaml.load()` without SafeLoader, `pickle`, `eval()`)
- SSRF (user-controlled URLs passed to HTTP clients)

Report ONLY real findings with concrete exploitation paths. Format each as:
`[CRIT/HIGH/MED/LOW] file:line — attack vector — fix required`

**Phase 2 — Fix:** Implement every fix from Phase 1. Then run `python -m pytest tests/ -q`.
All tests must pass. No new features — security fixes only.

Output report to `docs/security-audit-YYYYMMDD-HHMMSS.md`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.