continuous-learning-v3
Warn
Audited by Gen Agent Trust Hub on Mar 15, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The
SKILL.mdfile contains instructions for the agent to perform an 'automatic setup' when the skill is first loaded. This involves the agent executing shell commands likecp,mkdir, andtouchto install a JavaScript plugin into the user's~/.config/opencode/plugins/directory without a manual installation script. - [COMMAND_EXECUTION]: The skill relies on executing system commands for project detection and instinct management. The
plugins/continuous-learning.jsfile usesexecSyncforgitoperations, and theinstinct-cli.pyscript usessubprocess.runto manage the lifecycle of learned patterns. - [DATA_EXFILTRATION]: The plugin hooks into all tool executions (
tool.execute.beforeandtool.execute.after) to record inputs and outputs to a localobservations.jsonlfile. Although it employs a regex-based redaction mechanism for common secrets like API keys and passwords, this broad logging of session data represents a potential exposure risk for sensitive information processed by the agent. - [EXTERNAL_DOWNLOADS]: The
instinct-cli.pyscript includes animportcommand that enables fetching behavior definitions from arbitrary URLs usingurllib.request.urlopen. This provides a channel for untrusted external data to be integrated into the agent's behavior model.
Audit Metadata