ai2pentesttool-installer
Fail
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructions direct the user to clone a repository from an unverified GitHub account at
https://github.com/penligent/AI2PentestTool.git. - [REMOTE_CODE_EXECUTION]: After cloning the external repository, the skill requires installing unverified dependencies via
pip install -r requirements.txtand executing the application's logic throughpython main.py. - [COMMAND_EXECUTION]: The tool's primary function is the execution of system commands to install security software. It utilizes
subprocess.runandos.systemequivalents to interact with package managers (apt,brew) and binary files. - [PRIVILEGE_ESCALATION]: The documentation explicitly instructs the user to provide administrative privileges using
sudofor tool installation, allowing the unverified third-party scripts to run with root access. - [DYNAMIC_EXECUTION]: The skill implements an
AIAgentclass that generates "installation plans" (shell commands) dynamically based on AI responses. These plans are then executed by theToolInstallerwithout visible sanitization, enabling potential arbitrary command execution if the AI output is manipulated. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The skill processes tool definitions and metadata from
config.py(theTOOLS_INFOdictionary) to generate prompts for the AI agent. - Boundary markers: There are no visible delimiters or instructions provided to the agent to ignore potentially malicious content within the tool descriptions.
- Capability inventory: The skill possesses capabilities for shell command execution (
subprocess.run), environment variable access (OPENAI_API_KEY), and network communication. - Sanitization: The skill lacks validation or sanitization of the installation plans generated by the AI agent before they are passed to the shell for execution.
Recommendations
- AI detected serious security threats
Audit Metadata