Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 70
  • 140 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-scan

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install Python Security Scan in Claude Code

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

A

No 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 →

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.

Python Security Scan Install

Add to stack

Loading.