@2digits/opencode-plugin@0.2.50
OpenCode plugin for PostHog LLM analytics integration
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe package’s stated purpose is PostHog LLM analytics, but its default runtime behavior transmits prompts, outputs and tool data, and can include a Git email and project name. Because this content-bearing telemetry is enabled by default and has only environment-variable controls, warn about the privacy risk rather than treating it as a clear malicious attack.
Decision evidence
public snapshot- The package describes itself as a PostHog LLM analytics integration and depends on posthog-node.
- Analytics is enabled by default; prompt privacy redaction requires an environment variable to be explicitly set to true.
- The plugin reads the configured Git email and project name for analytics identity and properties.
- On OpenCode message and tool events, it captures prompts, model outputs, tool arguments and outputs as PostHog events.
- The analytics destination is PostHog’s EU endpoint, consistent with the package’s stated purpose.
- The plugin has an environment variable to disable analytics and another to redact prompt and output content.
- No install lifecycle scripts are declared.
Source & flagged code
6 flaggedSource fingerprint signature matches a known malicious package signature; route for source-aware review.
dist/index.mjsView on unpkgAnalytics is enabled by default; prompt privacy redaction requires an environment variable to be explicitly set to true.
dist/index.mjsView on unpkg · L2Findings
Affected versions and remediation
This report applies to @2digits/opencode-plugin@0.2.50.
See all versions of @2digits/opencode-plugin for other recorded verdicts.
- Review the evidence and your use of @2digits/opencode-plugin@0.2.50 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.