bento-hotspots
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/hotspots.pyand its test suitescripts/test_hotspots.pyuse thesubprocess.runmethod to executegitcommands (e.g.,git log,git ls-files,git diff) anduvfor script execution. The commands are constructed using list-based arguments without theshell=Trueparameter, which is a standard security practice that prevents shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill analyzes source code and comments from the local repository. There is an inherent attack surface where malicious instructions or deceptive metrics could be embedded in the code being analyzed to influence the agent's refactoring recommendations.
- Ingestion points: The
hotspots.pyscript reads source file content from the local repository via theread()function. - Boundary markers: The instructions do not define explicit delimiters when the agent reads the identified 'hotspots' in the source code, though it is guided by the quantitative metrics output from the script.
- Capability inventory: The skill has the capability to execute shell commands via
gitanduv. The instructions also mention using secondary skills (bento-refactor,bento-ship) to modify code and create pull requests. - Sanitization: The skill performs code analysis using the
lizardlibrary and Python'sastmodule, but does not sanitize the raw source code content before the AI agent reviews it. - [EXTERNAL_DOWNLOADS]: The skill requires the
lizardlibrary for code complexity analysis. This dependency is declared in a PEP 723 script block withinscripts/hotspots.py.lizardis a well-known, established open-source tool used for multi-language software metrics.
Audit Metadata