banditpython

banditpython: A skill to catch unsafe Python calls, weak-cryptography usage, shell-injection risks, and similar patterns before merge or release.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "banditpython" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f3bb92fc45e644fd14923ff96db07850a11a9a7fd207c419148010e18e79f539. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/scan-python-code-for-risky-security-patterns-with-bandit-before-review-or-release before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

banditpython: A skill to catch unsafe Python calls, weak-cryptography usage, shell-injection risks, and similar patterns before merge or release.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Bandit CLI, Python source tree
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 Bandit 扫描 Python 代码中的高风险安全模式后再进行审查或发布"
slug: "scan-python-code-for-risky-security-patterns-with-bandit-before-review-or-release"
version: "1.0.0"
displayName: "在审查或发布之前,使用Bandit扫描Python代码中的高风险安全模式"
summary: "捕获不安全的 Python 调用、弱加密使用、shell 注入风险以及类似的模式在合并或发布之前。"
license: "MIT"
description: "捕获不安全的 Python 调用、弱加密使用、shell 注入风险以及类似的模式在合并或发布之前。"
github_stars: 7933
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 7933

在审查或发布之前,使用Bandit扫描Python代码中的高风险安全模式

Catch insecure Python calls, weak crypto usage, shell injection risks, and similar patterns before merge or release.

Prerequisites

Bandit CLI, Python source tree

Installation

Use the upstream install or setup path that matches your environment:

  • docker pull ghcr.io/pycqa/bandit/bandit
  • docker pull --platform=<architecture> ghcr.io/pycqa/bandit/bandit:latest

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 提供使用 Bandit 扫描 Python 代码安全风险的能力,对开发者在合并或发布前捕获不安全调用、弱加密、shell 注入等具有明确实用价值
Trigger Precision55/100

Areas to improve

  • 触发词缺失 Reported severity: Minor

    description 描述了功能但未提供具体的触发词或关键词列表,也未说明如何识别用户意图

    Recommendation: 建议在 description 或 skill_body 中补充具体的触发关键词,如 'bandit scan', 'python security scan', 'check for shell injection' 等,以提升触发精准度

Structure and Standards68/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档未明确说明何时使用此 Skill

    Recommendation: 建议添加 'When to Use' 章节,说明在代码合并前、发布前等场景下使用此 Skill

  • 缺少端到端示例 Reported severity: Minor

    文档未提供具体的执行示例或端到端使用流程

    Recommendation: 建议添加一个完整的示例,展示如何调用此 Skill 进行代码扫描并解读结果

Execution Reliability65/100

Areas to improve

  • 异常处理缺失 Reported severity: Minor

    未覆盖主要异常情况,如 Bandit 未安装、扫描失败、结果解析错误等

    Recommendation: 建议补充异常处理逻辑,如检查 Bandit 是否可用、处理扫描错误、提供结果解析指导等

Evidence Verifiability (mean of the first four)68/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • bandit.readthedocs.io
  • docs.python.org
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Bandit CLI, Python source tree

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.