jb-beans
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a mechanism to inject external data into the AI's system prompt without adequate sanitization or boundary enforcement.
- Ingestion points: The
beans-prime.tsscript executesbeans primeand captures its standard output. This output is derived from the.beans/directory and.beans.ymlfile within the user's project repository. - Boundary markers: The captured output is pushed directly into the
output.systemandoutput.contextarrays usingsystem.push(prime)andcontext.push(prime). There are no delimiters (e.g., XML tags or specific markdown blocks) or instructions for the AI to ignore embedded directives within this content. - Capability inventory: The skill enables the agent to execute various
beansCLI commands, which interact with the local file system. Thebeans-prime.tsscript uses a shell execution wrapper ($) to run commands. - Sanitization: No sanitization, escaping, or validation is performed on the output of
beans primebefore it is injected into the system prompt. - Risk: The
SKILL.mdfile explicitly tells the agent that the output ofbeans prime"takes precedence over generic guidance here," which encourages the AI to follow potentially malicious instructions found in untrusted repositories. - [EXTERNAL_DOWNLOADS]: The skill instructs the user or agent to install the
beansCLI from third-party sources that are not recognized as trusted organizations. - Evidence:
brew install hmans/beans/beansandgo install github.com/hmans/beans@latestinSKILL.md. - [COMMAND_EXECUTION]: The plugin
beans-prime.tsautomatically executes shell commands to check for the presence of thebeansbinary and configuration files. - Evidence: Usage of
$to runwhich beans,test -f, andbeans primein theBeansPrimePluginexport.
Audit Metadata