ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

Li_python_sec_check

Python 安全规范检查工具 - 基于 CloudBase 规范 + 腾讯安全指南 + LLM 智能分析(LLM 功能默认禁用,本地执行优先)

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/43622283/li-python-sec-check
Or

What This Skill Does

Li_python_sec_check is a specialized OpenClaw agent skill designed to audit Python source code for security vulnerabilities and adherence to industry-standard best practices. By combining the rigorous requirements of CloudBase infrastructure guidelines with comprehensive Tencent security recommendations, this tool provides a multi-layered analysis of your codebase. The skill operates primarily through a local execution engine to ensure data privacy, with an optional LLM-assisted analysis mode that can be enabled for deep semantic vulnerability detection when complex logic assessment is required.

Installation

To integrate this security tool into your OpenClaw environment, execute the following command in your terminal or ClawHub interface: clawhub install openclaw/skills/skills/43622283/li-python-sec-check Once installed, the skill will be available as an active agent module, ready to scan files or directory paths passed to the assistant.

Use Cases

This skill is indispensable for developers and DevOps engineers aiming to harden their Python applications. Common use cases include:

  • Conducting automated pre-commit security audits to detect common pitfalls like hardcoded secrets, SQL injection vulnerabilities, or insecure cryptographic implementations.
  • Ensuring compliance with enterprise-grade security standards during the code review process.
  • Automating the detection of outdated or vulnerable third-party library dependencies.
  • Providing pedagogical feedback to junior developers on secure coding patterns in Python.

Example Prompts

  1. "Analyze the current project directory using li_python_sec_check and report any high-priority security vulnerabilities."
  2. "Run a security audit on the file 'database_connector.py' and suggest refactoring tips based on CloudBase security guidelines."
  3. "Scan my entire codebase for hardcoded API keys or sensitive credentials and explain how to mitigate each finding."

Tips & Limitations

  • Local First: The tool defaults to local static analysis. For the most sensitive code, keep the LLM-assisted mode disabled to prevent source code from being sent to external models.
  • Scope: While the tool excels at pattern matching and vulnerability identification, it should not replace human security audits for critical production systems.
  • Context: Always provide the full scope of your project directory when possible, as the tool performs better when it can analyze cross-file dependencies and imports. The skill currently focuses primarily on Python; it will not offer relevant analysis for other languages within your repository.

Metadata

Author@43622283
Stars4473
Views3
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-43622283-li-python-sec-check": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#security#python#static-analysis#devsecops#code-quality#privacy#llm
Safety Score: 4/5

Flags: file-read, code-execution