python-autotuner
Fail
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill uses a high-risk execution pattern to install the
uvpackage manager by fetching a shell script fromhttps://astral.sh/uv/install.shand piping it directly toshinSKILL.md. - [DYNAMIC_EXECUTION]: The
scripts/benchmark.pyscript dynamically loads and executes code from abenchmark_spec.pyfile found in the same directory as the target file usingimportlib.util.exec_module. This mechanism can be exploited to execute arbitrary Python code if a malicious spec file is placed in the workspace. - [COMMAND_EXECUTION]: The skill invokes several command-line tools (
ruff,ty,pytest,radon) via thesubprocessmodule. - The file
evals/fixtures/subprocess_safety/runner.pycontainssubprocess.runcalls withshell=True, which increases the risk of command injection. - The tool scripts pass user-controlled file paths to these binaries, which may lead to unexpected behavior if paths are not properly validated by the underlying shell.
- [INDIRECT_PROMPT_INJECTION]: The skill processes arbitrary Python source code to perform optimization and error fixing. It lacks sufficient boundary markers or sanitization to prevent the agent from following instructions embedded within the analyzed code's comments or strings.
- Ingestion points: Python source code files provided as the
TARGET_FILEargument. - Boundary markers: No explicit delimiters are used when passing the file content or analysis results to the agent's context.
- Capability inventory: The agent has the ability to write to the file system, execute shell commands (via linters and test runners), and perform git operations.
- Sanitization: No sanitization is performed on the ingested code before it is analyzed by the agent.
Recommendations
- HIGH: Downloads and executes remote code from: https://astral.sh/uv/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata