Python security

From HoangNguyen0403/agent-skills-standard · View interactive version

Python security is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Secure Python services against secret leakage, injection, unsafe subprocess calls, and dependency drift. Use when handling env vars, tokens, SQL, file paths, shell commands, auth flows, or Python security gates.

How to use this skill

Skill file

Python Security

**Priority: P0 (CRITICAL)**

Rules

Recipe

  1. Classify inputs: trusted config, semi-trusted runtime data, untrusted user or PR text.
  2. Validate or normalize before boundary calls.
  3. Redact secrets from logs, reports, and artifacts.
  4. Use least-privilege filesystem and process execution.
  5. Run dependency/security verification after auth or gate changes.

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.