High-risk tools in Python
9 of the 14 tools in Python are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
condaExecuteRuns conda commands (list, info, env-list, create, remove, update) and returns structured JSON output.
-
mypyExecuteRuns mypy and returns structured type-check diagnostics (file, line, severity, message, code).
-
pip-installExecuteRuns pip install and returns a structured summary of installed packages. WARNING: may execute untrusted code.
-
poetryExecuteRuns Poetry commands and returns structured output. Supports install, add, remove, show, build, update, lock, check, and export actions.
-
pyenvExecuteManages Python versions via pyenv.
-
pytestExecuteRuns pytest and returns structured test results (passed, failed, errors, skipped, failures).
-
ruff-checkExecuteRuns ruff check and returns structured lint diagnostics (file, line, code, message).
-
uv-installExecuteRuns uv pip install and returns a structured summary of installed packages. WARNING: may execute untrusted code.
-
uv-runExecuteRuns a command in a uv-managed environment and returns structured output.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.