sc-lang-python

Detect Python-specific security anti-patterns in code and configuration files.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill sc-lang-python-fatihkan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-lang-python
Source: https://github.com/fatihkan/badi/tree/main/.claude/skills/security-check/sc-lang-python
Command: npx skills add https://github.com/fatihkan/badi --skill sc-lang-python-fatihkan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Python projects often suffer from language-specific security pitfalls that generic scanners miss, causing hidden risks and runtime issues.

Core Features & Use Cases

  • Python-specific vulnerability patterns: pickle, YAML, eval/exec, SSRF, insecure configs, etc.
  • Reference-based checks via the python-security-checklist for deep scanning in codebases and CI pipelines.
  • Use Case: When auditing a Python project, run this skill to surface Python-only security anti-patterns across dependencies, config, and code paths.

Quick Start

Scan a Python codebase to detect language-specific security anti-patterns and surface actionable remediation steps.

Frequently Asked Questions about sc-lang-python

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

FAQPage Schema
How do I scan Python code for language-specific security vulnerabilities?

To scan Python code for security vulnerabilities, apply a static analysis skill to source files and configuration files to surface language-specific anti-patterns like pickle, YAML, and eval/exec risks. It validates patterns against safe-encoding and dependency handling risks.

What are common Python security anti-patterns to check for in an audit?

Common Python security anti-patterns include unsafe deserialization via pickle, insecure YAML loading, arbitrary code execution through eval or exec, SSRF vulnerabilities, and insecure dependency configurations. Scanning validates these against safe-encoding and serialization best practices.

Can I check pyproject.toml and requirements.txt for insecure dependencies?

Yes, you can check pyproject.toml and requirements.txt for insecure dependencies. The analysis applies to configuration files to surface language-specific risks related to dependency handling and validate them against the Python security checklist.

How do I detect eval and exec code execution risks in Python source files?

Detect eval and exec code execution risks by running a deep scan across Python source files to identify language-idiomatic attack vectors. The analysis validates code paths against safe-encoding and execution best practices to surface actionable remediation steps.

Does generic static analysis find Python-specific vulnerabilities like pickle and SSRF?

Generic static analysis often misses Python-specific vulnerabilities like pickle and SSRF. A dedicated Python security deep scan surfaces language-idiomatic attack vectors and configuration risks that generic scanners overlook, validating patterns against a specific security checklist.

When should I use a Python-specific security scanner over a general linting tool?

Use a Python-specific security scanner when auditing a project for language-idiomatic attack vectors that general linting tools miss. It is necessary for deep scanning codebases and CI pipelines to surface language-specific risks in serialization, dependency handling, and code execution.