security-audit

Scans dependencies, secrets, and OWASP Top 10 risks to generate security audit reports.

Updated Jul 31, 2026
One-click install
npx skills add https://github.com/shengmingzhishu/LeeCommonVideoCut --skill security-audit-shengmingzhishu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-audit
Source: https://github.com/shengmingzhishu/LeeCommonVideoCut/tree/main/.trae/skills/shared/security-audit
Command: npx skills add https://github.com/shengmingzhishu/LeeCommonVideoCut --skill security-audit-shengmingzhishu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pip-audit, safety, trufflehog, gitleaks.

What problem does it solve? Teams shipping full-stack applications often lack a systematic way to catch dependency vulnerabilities, leaked secrets, and common web security flaws before release. This Skill provides a repeatable audit workflow that produces a structured, dated security report. ## Core Features & Use Cases - Dependency Vulnerability Scanning: Runs pip-audit or safety for Python backends and pnpm/npm audit for frontends, with severity-based response SLAs (Critical within 24h, High within 3 days). - Secret Leakage Detection: Uses truffleHog or gitleaks to scan Git history and code for hardcoded API keys, database passwords, and unignored .env files. - OWASP Top 10 Checklist: Walks through access control, injection, misconfiguration, authentication, SSRF, and frontend XSS checks with concrete verification items. - Use Case: Before a release, run the audit to produce docs/security-audit-{date}.md containing a severity-ranked vulnerability list and per-item remediation advice. ## Quick Start Run a security audit on this repository covering dependency vulnerabilities, leaked secrets, and the OWASP Top 10 checklist, then generate the audit report.

Frequently Asked Questions about security-audit

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

FAQPage Schema
How do I scan Python dependencies for known vulnerabilities?▼

Run pip-audit after installing it with pip, or use safety check as an alternative. Both tools compare installed packages against known vulnerability databases and report affected versions with severity levels.

How to detect leaked secrets in a Git repository?▼

Use truffleHog with the git mode against the local repository, or run gitleaks detect on the source directory. Both scan commit history for hardcoded API keys, tokens, and passwords, including verified credential matches.

What is the difference between pip-audit and safety for vulnerability scanning?▼

pip-audit uses the PyPA Advisory Database and is the officially maintained scanner, while safety uses its own curated vulnerability database. The audit workflow accepts either tool for backend dependency checks.

Does the OWASP Top 10 checklist cover frontend security issues?▼

Yes, the audit includes a dedicated frontend section checking for XSS via dangerouslySetInnerHTML, sensitive data in localStorage, javascript: protocol in href attributes, DOMPurify sanitization, and production sourcemap exposure.

How are vulnerability severity levels handled in the audit?▼

Findings are classified as Critical, High, Medium, or Low with defined response times: Critical within 24 hours blocking release, High within 3 days, Medium within one week, and Low tracked for the next iteration.