Python Security Scan
Skill by sugarforever
Scans Python projects, including Flask, Django and FastAPI apps, for OWASP Top 10 flaws, hardcoded secrets and vulnerable dependencies. Built for developers and reviewers running security audits or pre-deployment checks.
Install Python Security Scan
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sugarforever/01coder-agent-skills /tmp/01coder-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/01coder-agent-skills/skills/python-security-scan ~/.claude/skills/python-security-scanRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sugarforever/01coder-agent-skills /tmp/01coder-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/01coder-agent-skills/skills/python-security-scan ~/.gemini/antigravity-cli/skills/python-security-scanAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install Python Security Scan in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Python Security Scan is a skill that runs security reviews of Python projects. It covers OWASP Top 10 categories, injection flaws, insecure deserialization, authentication issues, cryptographic failures and hardcoded secrets. It applies extra checks for Flask, Django and FastAPI, and it audits dependencies for known CVEs. The skill offers quick, full and targeted scan types.
The scanner works in steps: it detects the project framework, runs a dependency audit, scans for secrets and analyzes code patterns against reference guides. Findings are rated from CRITICAL to INFO and written into a security report. Real .env files are skipped by default, while .env.example and .env.template files are checked for documentation quality. The skill is aimed at developers and reviewers doing security audits, code reviews and pre-deployment checks.
Written from the project's SKILL.md and checked against it.
What it can do
- Quick scanFast check for hardcoded secrets, dangerous functions, command and SQL injection patterns, and known vulnerable dependencies.
- Full scanBroader assessment covering OWASP Top 10:2025 categories, framework issues, authentication, cryptography and misconfigurations.
- Targeted scanRuns checks for one category at a time, such as injection, deserialization, auth, secrets, deps, crypto or a framework.
- Framework detectionIdentifies Flask, Django or FastAPI projects and applies framework-specific checks.
- Dependency auditChecks project dependencies for known CVEs using a provided script, pip-audit or safety.
- Secret scanningScans source code for hardcoded credentials and reviews .env.example templates for documented variables.
- Security reportGenerates a report with findings rated CRITICAL, HIGH, MEDIUM, LOW or INFO, with file, risk and fix details.
- CI/CD outputCan produce SARIF, JSON, JUnit XML and GitHub Security Advisories style output.
What you need
- Python
- pip-audit or safety for manual dependency checks
Try asking
- Run a full security scan on this Flask project and list the findings
- Check this repo for hardcoded secrets and API keys
- Audit the Python dependencies in requirements.txt for known CVEs
Good to know
- Real .env files are skipped by default and included only if the user explicitly asks
- The .env.example and .env.template files are analyzed for documentation quality only
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/python-security-scan/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Python Security Scan
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
Python Security Scan: common questions
Does the Python Security Scan skill read my real .env files?
By default no. Real .env files such as .env.local and .env.production are skipped, and the --include-env-files flag is used only when the user explicitly requests it.
Which output formats does the scan support?
The source says it can generate SARIF for GitHub Code Scanning, JSON for custom integrations, JUnit XML for CI pipelines, and GitHub Security Advisories.
Which Python frameworks does it check?
It detects and applies specific checks for Flask, Django and FastAPI, and it also covers core Python issues for all projects.
How do I install Python Security Scan?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Python Security Scan free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Python Security Scan safe to use?
It scores 70 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Python Security Scan?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
