opencli
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from arbitrary external websites into the agent context via commands like
extract,state, andnetwork, creating a surface for indirect prompt injection. - Ingestion points: Website content fetched via
extract,state,eval, andnetworkcommands inSKILL.mdandscripts/opencli-core.mjs. - Boundary markers: The skill does not implement specific delimiters or instructions to ignore embedded commands within ingested content.
- Capability inventory: Executes subprocesses (
opencli,pgrep,lsof,open,osascript) and performs file system operations (logging in~/.opencli/logs/, data collection viareceiver.mjs). - Sanitization: Includes
scrubUrlto redact sensitive tokens (e.g.,__gmitm) from URLs before logging. - [COMMAND_EXECUTION]: The skill frequently uses
child_process.spawnandexecFileSyncto execute theopencliutility and other system tools includingpgrep,lsof,open, andosascript(for macOS window management). - [DYNAMIC_EXECUTION]: Implements dynamic JavaScript execution within the browser's context via the
evalandbatchcommands to interact with DOM elements and perform data extraction at runtime. - [EXTERNAL_DOWNLOADS]: Documents and provides instructions for the user to download and install the OpenCLI binary and browser extension from the author's official GitHub repository (
github.com/yan-labs/OpenCLI).
Audit Metadata