AI Security Review
scanned 5d ago · by lpm-firewall-aiNo confirmed malicious attack surface was found. The package is a powerful OpenCode workflow plugin that mutates agent configuration and external task/PR systems only through plugin configuration or user-invoked tools.
Decision evidence
public snapshot- dist/index.js registers OpenCode tools that can create/prompt sessions, drive QA Chrome/CDP, and modify ClickUp/GitHub when invoked.
- dist/index.js config hook can write generated agent markdown into process.env.OPENCODE_CONFIG_DIR/agents.
- dist/index.js uses child_process for git and optional systemctl QA-browser service control.
- package.json has no install/postinstall lifecycle hooks; prepack is publish-time only.
- README.md describes an OpenCode workflow/agent plugin and lists the same tools/agents found in dist/index.js.
- dist/index.js external calls are package-aligned: api.clickup.com, api.github.com, configured local OpenCode/OpenChamber/CDP URLs, and chatgpt.com QA start URL.
- ClickUp webhook mode requires explicit enabled config, API token, team/list IDs, public URL, and validates signatures before routing.
- Filesystem writes are scoped to Optima repo state, generated agents, logs, worktrees, or explicit OPENCODE_CONFIG_DIR sync; no credential harvesting or covert exfiltration found.
- scripts/optima-sanitize-host.js only imports the source/dist sanitize CLI; dist/sanitize_cli.js is the bundled CLI with the same Optima functionality.
Source & flagged code
5 flagged · loading sourceA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index.jsView on unpkg · L14749Package source references a known benign dynamic code generation pattern.
dist/index.jsView on unpkg · L14193Package source references dynamic require/import behavior.
scripts/optima-sanitize-host.jsView on unpkg · L9Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/sanitize_cli.jsView on unpkg · L2592