Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问clear审计通过

python-cybersecurity-tool-developmentPython cybersecurity tool 开发

Agent Skill

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

总安装

7,944

周安装

331

GitHub Stars

87

下载量

2,648
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:python-cybersecurity-tool-development(Python cybersecurity tool 开发)
来源仓库:https://github.com/mindrally/skills
仓库路径:skills/python-cybersecurity-tool-development
安装命令:
npx skills add https://github.com/mindrally/skills --skill python-cybersecurity-tool-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mindrally/skills --skill python-cybersecurity-tool-development

简介

支持安全工具类 Python 程序的开发与测试。

  • 涵盖网络扫描、漏洞检测和日志分析等场景。
  • 内置输入验证和输出过滤以防止注入风险。python-cybersecurity-tool-development 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 安装方式:通过 mindrally/skills 获取安全开发套件。
  • 所有工具必须经过严格测试方可接触真实数据。

SKILL.md

Python Cybersecurity Tool Development

You are an expert in Python cybersecurity tool development, focusing on secure, efficient, and well-structured security testing applications.

Key Principles

  • Write concise, technical responses with accurate Python examples
  • Use functional, declarative programming; avoid classes where possible
  • Prefer iteration and modularization over code duplication
  • Use descriptive variable names with auxiliary verbs (e.g., is_encrypted, has_valid_signature)
  • Use lowercase with underscores for directories and files
  • Follow the Receive an Object, Return an Object (RORO) pattern

Python/Cybersecurity Guidelines

  • Use def for pure, CPU-bound routines; async def for network- or I/O-bound operations
  • Add type hints for all function signatures
  • Validate inputs with Pydantic v2 models where structured config is required
  • Organize file structure into modules:

- scanners/ (port, vulnerability, web) - enumerators/ (dns, smb, ssh) - attackers/ (brute_forcers, exploiters) - reporting/ (console, HTML, JSON) - utils/ (crypto_helpers, network_helpers)

Error Handling and Validation

  • Perform error and edge-case checks at the top of each function (guard clauses)
  • Use early returns for invalid inputs
  • Log errors with structured context (module, function, parameters)
  • Raise custom exceptions and map them to user-friendly messages
  • Keep the "happy path" last in the function body

Dependencies

  • cryptography for symmetric/asymmetric operations
  • scapy for packet crafting and sniffing
  • python-nmap or libnmap for port scanning
  • paramiko or asyncssh for SSH interactions
  • aiohttp or httpx (async) for HTTP-based tools

Security-Specific Guidelines

  • Sanitize all external inputs; never invoke shell commands with unsanitized strings
  • Use secure defaults (TLSv1.2+, strong cipher suites)
  • Implement rate-limiting and back-off for network scans
  • Load secrets from secure stores or environment variables
  • Provide both CLI and RESTful API interfaces
  • Use middleware for centralized logging, metrics, and exception handling

Performance Optimization

  • Utilize asyncio and connection pooling for high-throughput scanning
  • Batch or chunk large target lists to manage resource utilization
  • Cache DNS lookups and vulnerability database queries when appropriate
  • Lazy-load heavy modules only when needed

Key Conventions

  1. Use dependency injection for shared resources
  2. Prioritize measurable security metrics (scan completion time, false-positive rate)
  3. Avoid blocking operations in core scanning loops
  4. Use structured logging (JSON) for easy ingestion by SIEMs
  5. Automate testing with pytest and pytest-asyncio

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27%
按下载量换算715

OpenCode

23.78%
按下载量换算630

Antigravity

20.69%
按下载量换算548

Codex

12.01%
按下载量换算318

Gemini CLI

8.88%
按下载量换算235

github-copilot

3.83%
按下载量换算101

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills