python-security
БесплатноБез исполняемых скриптовНе проверенSecure Python services against secret leakage, injection, unsafe subprocess calls, and dependency drift. Use when handling env vars, tokens, SQL, file paths…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Python Security
Priority: P0 (CRITICAL)
Rules
- Keep secrets in env or secret stores; never hardcode them in code or fixtures.
- Parameterize SQL and validate file or path inputs before use.
- Prefer
subprocess.run([...], shell=False)with explicit args. - Audit dependency surfaces and keep security gates current.
Recipe
- Classify inputs: trusted config, semi-trusted runtime data, untrusted user or PR text.
- Validate or normalize before boundary calls.
- Redact secrets from logs, reports, and artifacts.
- Use least-privilege filesystem and process execution.
- Run dependency/security verification after auth or gate changes.
Anti-Patterns
- No shell string execution for user-shaped input.
- No secrets in example configs, tests, or docs.
- No direct path joins from untrusted input without root checks.
- No "internal-only" exception to SQL or subprocess hygiene.
References
Установить python-security в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл python-security?
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.
Как установить скилл python-security?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл python-security запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic