security-audit
Use when conducting security assessments — OWASP Top 10 / API / LLM, CWE Top 25, CVSS scoring — auditing PHP/TYPO3, APIs, frontend, Terraform/K8s/Docker IaC, AWS cloud, AI agent configs, or scanning dependencies. Also use when fixing a reported vulnerability or a repository secur
Install
npx skills add https://github.com/lufox-digital/security-audit-skill/tree/main/skills/security-audit
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install lufox-digital-security-audit-skill@llmmart
git clone https://github.com/lufox-digital/security-audit-skill.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole lufox-digital/security-audit-skill collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Security Audit Skill
Security audit patterns (OWASP Top 10, LLM Top 10 2025, CWE Top 25 2025, CVSS v4.0), cloud/IaC, GitHub security. 80+ PHP/TYPO3 checkpoints (v14.3 LTS in typo3-security.md).
Expertise Areas
- Vulnerabilities: XXE, SQLi, XSS, CSRF, command injection, path traversal, file upload, deserialization, SSRF, SSTI, JWT, type juggling
- Standards: OWASP Top 10 / API / LLM (2025), CWE Top 25, CVSS v3.1/v4.0, OWASP ASVS
- Cloud & IaC: AWS; Terraform, Kubernetes, Docker, Helm, Ansible
- API & Frontend: REST/GraphQL authZ, rate limits, mass assignment, CSP, DOM-XSS
- AI Agents: SKILL.md/AGENTS.md/CLAUDE.md/mcp.json/hooks.json audit; prompt injection; excessive agency
Reference Files (in references/, .md implied)
- Core: owasp-top10, cwe-top25, xxe-prevention, cvss-scoring, api-key-encryption
- Prevention: deserialization-prevention, path-traversal-prevention, file-upload-security, input-validation, error-message-sanitization, ssh-forced-command-hardening
- Architecture: authentication-patterns, security-headers, security-logging, cryptography-guide, security-invariants, indistinguishability-defences
- Ordering-sensitive guarantees: formal-model-checking — finite design checks for concurrency, commits and process loss; use when those orderings affect a specific security claim
- Language features (
*-security-features): php, python, javascript-typescript, nodejs, go - Frameworks (
*-security): typo3, typo3-fluid, typo3-typoscript, symfony, react, vue - Cloud & IaC: aws-security, iac-security
- API & Frontend: api-security, frontend-security
- AI Agent: llm-security (OWASP LLM Top 10 2025)
- Threats: modern-attacks, cve-patterns
- DevSecOps: ci-security-pipeline, supply-chain-security, automated-scanning, gha-security, git-history-secrets
- Incident: supply-chain-incident-response
- Fixing a reported vulnerability in a client that builds request URLs from keys or ids: path-traversal-prevention § Identifiers in Outgoing Request Paths
Security Checklist
-
semgrep/opengrep,trivy fs --severity HIGH,CRITICAL,gitleaksclean - bcrypt/Argon2 passwords, CSRF on state changes, TLS 1.2+
- Server-side input validation; parameterized SQL; XML entities off
- Output encoding + CSP; no unserialize() on user input
- API keys encrypted; exception messages sanitized
- Secrets out of VCS; audit logging on
- Uploads validated, renamed, outside web root
- Headers HSTS + X-Content-Type-Options; dependencies scanned
GitHub Actions Security
- NEVER interpolate
${{ inputs.* }}/${{ github.event.* }}inrun:— useenv: - Dependency triage: upgrade > override > dismiss. Full patterns:
references/gha-security.md.
Verification
./scripts/security-audit-dispatcher.sh /path/to/project # auto-detect stack
./scripts/security-audit.sh /path/to/project # PHP-only
./scripts/github-security-audit.sh owner/repo # GH repo
Dispatcher detects the stack from indicator files and runs matching scripts/scanners/*.sh (13 ecosystems; see references/ index).
Contributing: https://github.com/lufox-digital/security-audit-skill
Files (security-audit-skill)
-
evals
-
evals.json 24.2 KB
Loading…
-
-
references
-
api-key-encryption.md 7.4 KB
Loading… -
api-security.md 49.4 KB
Loading… -
authentication-patterns.md 37.7 KB
Loading… -
automated-scanning.md 23.8 KB
Loading… -
aws-security.md 17.8 KB
Loading… -
ci-security-pipeline.md 23.5 KB
Loading… -
cryptography-guide.md 33.5 KB
Loading… -
cve-patterns.md 43.9 KB
Loading… -
cvss-scoring.md 11.5 KB
Loading… -
cwe-top25.md 16.4 KB
Loading… -
deserialization-prevention.md 19.8 KB
Loading… -
error-message-sanitization.md 12.1 KB
Loading… -
file-upload-security.md 36.8 KB
Loading… -
formal-model-checking.md 6.2 KB
Loading… -
frontend-security.md 42.3 KB
Loading… -
gha-security.md 5.1 KB
Loading… -
git-history-secrets.md 4.6 KB
Loading… -
go-security-features.md 29 KB
Loading… -
iac-security.md 40.7 KB
Loading… -
indistinguishability-defences.md 4.5 KB
Loading… -
input-validation.md 25.3 KB
Loading… -
javascript-typescript-security-features.md 34.7 KB
Loading… -
llm-security.md 46.6 KB
Loading… -
modern-attacks.md 40.5 KB
Loading… -
nodejs-security-features.md 30.9 KB
Loading… -
owasp-top10.md 7.7 KB
Loading… -
path-traversal-prevention.md 27.4 KB
Loading… -
php-security-features.md 21.6 KB
Loading… -
python-security-features.md 35 KB
Loading… -
react-security.md 18.5 KB
Loading… -
security-headers.md 25.6 KB
Loading… -
security-invariants.md 10.8 KB
Loading… -
security-logging.md 37.5 KB
Loading… -
ssh-forced-command-hardening.md 9.7 KB
Loading… -
supply-chain-incident-response.md 13 KB
Loading… -
supply-chain-security.md 28.8 KB
Loading… -
symfony-security.md 9.4 KB
Loading… -
typo3-fluid-security.md 12.5 KB
Loading… -
typo3-security.md 22.3 KB
Loading… -
typo3-typoscript-security.md 12.5 KB
Loading… -
vue-security.md 16.9 KB
Loading… -
xxe-prevention.md 10.3 KB
Loading…
-
-
scripts
-
scanners
-
android.sh 6.3 KB
Loading… -
aws.sh 4.9 KB
Loading… -
common.sh 1.9 KB
Loading… -
csharp.sh 5.7 KB
Loading… -
drupal.sh 5 KB
Loading… -
go.sh 7.4 KB
Loading… -
ios.sh 6.8 KB
Loading… -
java.sh 6.1 KB
Loading… -
javascript.sh 11.5 KB
Loading… -
joomla.sh 3.7 KB
Loading… -
nodejs.sh 11.3 KB
Loading… -
php.sh 16.3 KB
Loading… -
python.sh 8.7 KB
Loading… -
secrets.sh 7.1 KB
Loading… -
wordpress.sh 5.7 KB
Loading…
-
-
github-security-audit.sh 10.4 KB
Loading… -
security-audit-dispatcher.sh 6 KB
Loading… -
security-audit.sh 16.2 KB
Loading…
-
-
checkpoints.yaml 161.1 KB
Loading… -
SKILL.md 4 KB
--- # SPDX-License-Identifier: CC-BY-SA-4.0 # SPDX-FileCopyrightText: Lufox Digital GmbH name: security-audit description: "Use when conducting security assessments — OWASP Top 10 / API / LLM, CWE Top 25, CVSS scoring — auditing PHP/TYPO3, APIs, frontend, Terraform/K8s/Docker IaC, AWS cloud, AI agent configs, or scanning dependencies. Also use when fixing a reported vulnerability or a repository security advisory." license: "(MIT AND CC-BY-SA-4.0). See LICENSE-MIT and LICENSE-CC-BY-SA-4.0" compatibility: "Requires uv (runs the hook on Python 3.11 or later), grep, jq, gh CLI." metadata: author: Lufox Digital GmbH version: "2.11.14" repository: https://github.com/lufox-digital/security-audit-skill allowed-tools: Bash(grep:*) Bash(jq:*) Bash(gh:*) Read Glob Grep --- # Security Audit Skill Security audit patterns (OWASP Top 10, LLM Top 10 2025, CWE Top 25 2025, CVSS v4.0), cloud/IaC, GitHub security. 80+ PHP/TYPO3 checkpoints (v14.3 LTS in `typo3-security.md`). ## Expertise Areas - **Vulnerabilities**: XXE, SQLi, XSS, CSRF, command injection, path traversal, file upload, deserialization, SSRF, SSTI, JWT, type juggling - **Standards**: OWASP Top 10 / API / LLM (2025), CWE Top 25, CVSS v3.1/v4.0, OWASP ASVS - **Cloud & IaC**: AWS; Terraform, Kubernetes, Docker, Helm, Ansible - **API & Frontend**: REST/GraphQL authZ, rate limits, mass assignment, CSP, DOM-XSS - **AI Agents**: SKILL.md/AGENTS.md/CLAUDE.md/mcp.json/hooks.json audit; prompt injection; excessive agency ## Reference Files (in `references/`, `.md` implied) - **Core**: owasp-top10, cwe-top25, xxe-prevention, cvss-scoring, api-key-encryption - **Prevention**: deserialization-prevention, path-traversal-prevention, file-upload-security, input-validation, error-message-sanitization, ssh-forced-command-hardening - **Architecture**: authentication-patterns, security-headers, security-logging, cryptography-guide, security-invariants, indistinguishability-defences - **Ordering-sensitive guarantees**: [formal-model-checking](references/formal-model-checking.md) — finite design checks for concurrency, commits and process loss; use when those orderings affect a specific security claim - **Language features** (`*-security-features`): php, python, javascript-typescript, nodejs, go - **Frameworks** (`*-security`): typo3, typo3-fluid, typo3-typoscript, symfony, react, vue - **Cloud & IaC**: aws-security, iac-security - **API & Frontend**: api-security, frontend-security - **AI Agent**: llm-security (OWASP LLM Top 10 2025) - **Threats**: modern-attacks, cve-patterns - **DevSecOps**: ci-security-pipeline, supply-chain-security, automated-scanning, gha-security, git-history-secrets - **Incident**: supply-chain-incident-response - **Fixing a reported vulnerability** in a client that builds request URLs from keys or ids: path-traversal-prevention § Identifiers in Outgoing Request Paths ## Security Checklist - [ ] `semgrep`/`opengrep`, `trivy fs --severity HIGH,CRITICAL`, `gitleaks` clean - [ ] bcrypt/Argon2 passwords, CSRF on state changes, TLS 1.2+ - [ ] Server-side input validation; parameterized SQL; XML entities off - [ ] Output encoding + CSP; no unserialize() on user input - [ ] API keys encrypted; exception messages sanitized - [ ] Secrets out of VCS; audit logging on - [ ] Uploads validated, renamed, outside web root - [ ] Headers HSTS + X-Content-Type-Options; dependencies scanned ## GitHub Actions Security - **NEVER** interpolate `${{ inputs.* }}` / `${{ github.event.* }}` in `run:` — use `env:` - Dependency triage: upgrade > override > dismiss. Full patterns: `references/gha-security.md`. ## Verification ```bash ./scripts/security-audit-dispatcher.sh /path/to/project # auto-detect stack ./scripts/security-audit.sh /path/to/project # PHP-only ./scripts/github-security-audit.sh owner/repo # GH repo ``` Dispatcher detects the stack from indicator files and runs matching `scripts/scanners/*.sh` (13 ecosystems; see `references/` index). --- > Contributing: https://github.com/lufox-digital/security-audit-skill
Reviews (0)
No reviews yet.
Comments
Sign in to join the conversation.
No comments yet. Start the conversation.