AI Security Review
scanned 6d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. The package is a broad OpenCode workflow plugin that writes Optima agent/config artifacts and talks to configured ClickUp, GitHub, local OpenCode, and QA browser endpoints during explicit plugin/tool use.
Decision evidence
public snapshot- dist/index.js:16896 syncs generated Optima agent markdown into OPENCODE_CONFIG_DIR when plugin config loads unless disabled.
- dist/index.js includes user-configured ClickUp/GitHub/OpenCode API clients and QA browser automation with dynamic command execution.
- package.json defines no install/preinstall/postinstall lifecycle hooks; package code is not run at npm install.
- README.md documents this as an OpenCode plugin installed by adding it to OpenCode config and describes repository-local .optima config/artifacts.
- dist/index.js network endpoints are aligned to ClickUp, GitHub, local OpenCode, local CDP, and chatgpt QA workflow features.
- dist/sanitize_cli.js is an explicit optima-sanitize-host CLI; ssh/python/sqlite/file writes are tied to user-invoked host sanitization and backups.
- Secrets are read from configured references for ClickUp/GitHub and redacted in webhook audit logging; no credential harvesting loop or unrelated exfiltration found.
- Agent config writes are transparent plugin behavior for its stated role-based OpenCode agent product, not install-time or covert AI-agent control mutation.
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 · L14502Package source references a known benign dynamic code generation pattern.
dist/index.jsView on unpkg · L14031Package 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