metatron-pentest-assistant
Fail
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill provides installation instructions and Python code examples that contain hardcoded database credentials.
- Evidence: The MariaDB setup SQL and the
get_db_connectionfunction in thedb.pyexample both use the literal password"123"for themetatronuser. - [EXTERNAL_DOWNLOADS]: The installation process involves downloading and executing a shell script from a remote provider to set up the LLM environment.
- Evidence: In
SKILL.md, the installation steps includecurl -fsSL https://ollama.com/install.sh | shto install the Ollama service. - [COMMAND_EXECUTION]: The skill executes various system reconnaissance tools by interpolating user-supplied target strings into shell commands.
- Evidence: In the
tools.pycode example, functions such asrun_nmap,run_whois, andrun_niktopass thetargetvariable directly into the argument list forsubprocess.run. While using a list is safer than a raw shell string, a malicious target input could still be used to pass unexpected flags to these tools. - [INDIRECT_PROMPT_INJECTION]: The skill ingests raw data from external tools and passes it to a local LLM for analysis without sufficient sanitization, creating a surface for injection.
- Ingestion points: The outputs from system tools (nmap, whois, nikto, etc.) are captured in
tools.pyand passed to the LLM. - Boundary markers: The prompt in
llm.pyuses simple plaintext headers (e.g.,=== NMAP ===) to separate different tool outputs, which is a weak delimiter that can be bypassed by malicious content within those outputs. - Capability inventory: The skill has the capability to execute system commands via
subprocess.run, make network requests to a local API viarequests, and perform write operations to a MariaDB database. - Sanitization: The provided code snippets do not show any validation or sanitization of the tool outputs or the target input before they are included in the prompt template.
Recommendations
- HIGH: Downloads and executes remote code from: https://ollama.com/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata