AI Security Review
scanned 5d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established by source inspection. The package is an opencode plugin/CLI with explicit project setup, integration, and QA automation functions, including powerful user-invoked browser scripting.
Decision evidence
public snapshot- package.json exposes main dist/index.js and bin dist/sanitize_cli.js but has no install/preinstall/postinstall hooks.
- dist/index.js contains user-invoked tools that write opencode agents/config and project documentation files.
- dist/index.js includes ClickUp/GitHub API clients and browser automation endpoints, gated behind configured tool calls.
- dist/index.js uses dynamic Function for QA browser/CDP commands, a dangerous capability when invoked with user-supplied command JSON.
- No lifecycle hook or import-time execution found in package.json.
- scripts/optima-sanitize-host.js only imports dist/sanitize_cli.js main when run explicitly as a script.
- Network endpoints are package-aligned integrations: api.clickup.com, api.github.com, localhost/127.0.0.1 CDP/opencode, chatgpt.com start URL.
- No credential harvesting or broad env/file exfiltration pattern found; token-like fields are redacted in webhook audit artifacts.
- Child process use appears limited to explicit git/host sanitization helper flows, not install-time execution.
- File writes are explicit project/tool outputs such as .opencode agent config, docs, logs, screenshots, and locks.
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 · L14711Package source references a known benign dynamic code generation pattern.
dist/index.jsView on unpkg · L14159Package 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