code-vuln-audit
Scan code for security issues: dependency vulnerabilities (npm/pip audit), secret leaks (regex and entropy analysis), and OWASP anti-patterns like SQL…
Skill by zebbern
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zebbern-code-vuln-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-vuln-audit
What's inside
- Skill name
code-vuln-audit- Description
- Scan code for security issues: dependency vulnerabilities (npm/pip audit), secret leaks (regex and entropy analysis), and OWASP anti-patterns like SQL injection, XSS, or command injection. Use when the user mentions security scans, vulnerability detection, secret leaks, API keys, OWASP, npm audit, pip-audit, hardcoded passwords, or code security checks.
- License
- MIT
- Instructions
- 148 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- LICENSE
- SKILL.md
- security_scan.py · scripts/
SKILL.md (first lines)
# code-vuln-audit
A code security scanning tool with three core scanning capabilities:
1. **Dependency Vulnerability Scanning** — Automatically detects known vulnerabilities in npm / pip dependencies
2. **Secret Leak Detection** — Discovers hardcoded secrets, tokens, and passwords via regex matching + Shannon entropy analysis
3. **OWASP Pattern Detection** — Identifies common security anti-patterns such as SQL injection, XSS, command injection, and insecure deserialization
## Quick Start
```bash
# Scan the current directory (all checks)
python3 scripts/security_scan.py .
# Scan dependencies only
python3 scripts/security_scan.py --mode deps .
# Detect secret leaks only
python3 scripts/security_scan.py --mode secrets /path/to/project
# Detect OWASP security patterns only
python3 scripts/security_scan.py --mode owasp .
# Output report in JSON format
python3 scripts/security_scan.py --format json --output report.json .
# Only show findings at high severity and above
python3 scripts/security_scan.py --severity high .
```
## Scan Module Details
### 1. Dependency Vulnerability Scanning (deps)
Automatically detects the project type and invokes the appropriate tool:
| Project Type | Detection File | Tool Used |
|---|---|---|
| Node.js | `package.json` + `package-lock.json` | `npm audit` |
| Python | `requirements.txt` / `pyproject.toml` / `Pipfile` | `pip-audit` |
If the corresponding audit tool is not installed, a helpful message is displayed instead of an error.
### 2. Secret Leak Detection (secrets)
Detection is performed in two ways:
**Regex Matching**: Covers common secret formats
| Secret Type | Example Pattern |
|---|---|
| AWS Access Key | 20-character string starting with `AKIA` |
| GitHub Token | Starts with `ghp_` or `github_pat_` |
| Slack Token | Starts with `xoxb-` or `xoxp-` |
| Stripe Key | Starts with `sk_live_` or `pk_live_` |
| Private Key File | `-----BEGIN PRIVATE KEY-----` |
| Generic API Key | Format like `api_key = "..."` |
| Credentials in URL | `https://user:pass@host` |
| JWT Token | `eyJ...` format |
**Shannon Entropy Analysis**: Computes information entropy for string constants in code (threshold > 4.5 and length >= 20) to discover secrets in non-standard formats.
### 3. OWASP Pattern Detection (owasp)
Covers statically detectable security patterns from the OWASP Top 10:
| OWASP Category | Detection Patterns |
|---|---|
| A02: Cryptographic Failures | Weak hashes (MD5/SHA1), weak ciphers (DES/RC4) |
| A03: Injection | SQL injection, command injection (os.system / subprocess shell / eval / exec), XSS (innerHTML / document.write / dangerouslySetInnerHTML / v-html) |
| A04: Insecure Design | Path traversal |
| A05: Security Misconfiguration | Debug mode enabled, CORS wildcard, binding to 0.0.0.0 |
| A08: Integrity Failures | Insecure deserialization (pickle / yaml.load / marshal / unserialize) |
| A10: SSRF | User input passed directly to HTTP requests |
Supported languages: Python, JavaScript/TypeScript, Java, PHP, Ruby, Go, and more.
## Parameters
| Parameter | Description | Default |
|---|---|---|
| `TARGET` | Directory to scan | Current directory |
| `--mode MODE` | Scan mode: `all`, `deps`, `secrets`, `owasp` | `all` |
| `--format FORMAT` | Output format: `text`, `json` | `text` |
| `--output FILE` | Output file path | stdout |
| `--severity LEVEL` | Minimum reporting level: `low`, `medium`, `high`, `critical` | `low` |
| `--exclude-dir DIR` | Additional directories to exclude (repeatable) | - |
| `--max-file-kb SIZE` | Maximum file size to scan in KB | `512` |
| `-h, --help` | Show help | - |
## Output Format
### Text Output (default)
```
=== Security Scan Report ===
Target: /path/to/project
Modules: deps, secrets, owasp
[CRITICAL] AWS Access Key ID
File: src/config.py:15
Code: AWS_KEY = "AKIAIOSFODNN7EXAMPLE"
[HIGH] SQL Injection (f-string)
File: src/db.py:42
Code: cursor.execute(f"SELECT * FROM users WHERE id={user_id}")
--- Summary ---
Critical: 1 | High: 1 | Medium: 0 | Low: 0
Total findings: 2
```
### JSON Output
```json
{
"target": "/path/to/project",
"scan_time": "2026-04-14T10:30:00",
"findings": [From zebbern/claude-code-guide, MIT.
More from zebbern/claude-code-guide
- 0.746score
audit-flow
ArunJRK
Interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers with SQLite persistence and Mermaid export.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.740score
r3f-best-practices
three-agent-skills
React Three Fiber (R3F) and Poimandres ecosystem best practices.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.740score
three-best-practices
three-agent-skills
Three.js performance optimization and best practices guidelines.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
repo-audit
zebbern
Deep analysis of Git history: identify frequently changed hotspot files, analyze code ownership by contributor, and scan for leaked secrets.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
dataset-quality-audit
zebbern
Run comprehensive quality checks on tabular data (CSV/Excel/TSV/JSON), detecting missing values, duplicates, outliers, format issues, and type inconsistencies…
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
database-scout
zebbern
Explore SQLite and PostgreSQL databases: list tables, inspect schemas (columns/types/constraints), preview data, generate Mermaid ER diagrams, and run safe…
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
project-sizing-guide
zebbern
Software project effort estimation assistant.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
chart-image
zebbern
Generate publication-quality PNG chart images from data, supporting line, bar, area, candlestick, pie, and heatmap charts.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
code-to-diagram
zebbern
Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
log-error-digest
zebbern
Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
data-viz-renderer
zebbern
Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
http-load-profiler
zebbern
Run stepped HTTP load tests with ab/wrk, ramping concurrency levels to collect p50/p90/p99 latency, detect performance inflection points, and recommend…
SkillCFreshness: C★ 4.7KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 4,678
- Forks
- 471
- Open issues
- 3
- Last commit (this folder)
- May 31, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zebbern/claude-code-guide
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zebbern
- 0.693score
api-fuzzing
zebbern
API fuzzing for bug bounty.
SkillAFreshness: A★ 131Claude Code +9 - 0.662score
chart-image
zebbern
Generate publication-quality PNG chart images from data, supporting line, bar, area, candlestick, pie, and heatmap charts.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
code-to-diagram
zebbern
Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
data-viz-renderer
zebbern
Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
database-scout
zebbern
Explore SQLite and PostgreSQL databases: list tables, inspect schemas (columns/types/constraints), preview data, generate Mermaid ER diagrams, and run safe…
SkillCFreshness: C★ 4.7KClaude Code +9 - 0.662score
dataset-quality-audit
zebbern
Run comprehensive quality checks on tabular data (CSV/Excel/TSV/JSON), detecting missing values, duplicates, outliers, format issues, and type inconsistencies…
SkillCFreshness: C★ 4.7KClaude Code +9
Cite this page
code-vuln-audit skill. Agent Mart. https://agentmart.dev/skills/zebbern-code-vuln-audit (last updated 2026-10-24)