opencode-lane
Pass
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands to diagnose failed runs, specifically using
tailto read the last lines of log files (e.g.,tail -n 40 "$f"). - [INDIRECT_PROMPT_INJECTION]: The skill directs the agent to process data from external log files such as
opencode-lane.jsonlandprovider.events.jsonl, which record tool outputs and provider events. These sources could contain untrusted data from external code or tool executions. - Ingestion points: Log files located in
~/.config/opencode/and the path specified by theLANE_PROMPT_FILEenvironment variable. - Boundary markers: The skill advises the agent to filter data by specific fields like
task,session, andlog_originto ensure context relevance. - Capability inventory: File system access, shell command execution (via
tail), and network interaction with the TypeSafe judging service. - Sanitization: The instructions explicitly require the redaction of known credential patterns and environment secret values before the data is processed or transmitted to the judging service.
- [DYNAMIC_EXECUTION]: The skill describes a workflow for generating and installing TypeScript modules into the
~/.config/opencode/plugins/directory, where they are dynamically loaded and executed by the OpenCode system.
Audit Metadata