Package evidence
@posthog/[email protected]
Js Decode Then Exec: base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.
Trust signals
Why this verdict
PkgRadar discounts a release’s score when public reputation argues against novel malware. The verdict above already reflects these — the panel just explains what was applied.
- Weekly downloads
- 3,012Niche · −30% score
- Versions published
- 226Established · −30% score
- First published
- Oct 2025
- Publisher
- GitHub ActionsTrusted automation · −70% score
Effective trust discount applied: −70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.
Recommended action
Review before promotingMixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.
Block this release in CIcurl · GitHub Actions
Fail the build when this package version is added or upgraded. Replace $PKGRADAR_TOKEN with a Pro / Team API key from your dashboard.
curl -fsS https://pkgradar.com/gate/npm \
-H "Authorization: Bearer $PKGRADAR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"specs":["@posthog/[email protected]"],"fail_on":"review"}'GitHub Actions step:
- name: PkgRadar gate
run: |
curl -fsS https://pkgradar.com/gate/npm \
-H "Authorization: Bearer ${{ secrets.PKGRADAR_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"specs":["@posthog/[email protected]"],"fail_on":"review"}'Why flagged
What the scanner saw
Js Decode Then Exec: base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (1 event)
- new → available · risk review · score 25 · status changed
Evidence
Static findings
10 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Js Decode Then Exec | package/dist/server/bin.cjs | base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern. | 45 |
| high | Js Decode Then Exec | package/dist/server/agent-server.js | base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern. | 45 |
Show all 10 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Js Decode Then Exec | package/dist/server/bin.cjs | base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern. | 45 |
| high | Js Decode Then Exec | package/dist/server/agent-server.js | base64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern. | 45 |
| low | Credential file access | package/dist/server/bin.cjs | matched "GITHUB_TOKEN" | 5 |
| low | Credential file access | package/dist/server/agent-server.js | matched "GITHUB_TOKEN" | 5 |
| low | Credential file access | package/dist/agent.js | matched "GITHUB_TOKEN" | 5 |
| low | Credential file access | package/dist/adapters/codex/local-tools-mcp-server.js | matched "GITHUB_TOKEN" | 5 |
| low | Credential file access | package/src/adapters/claude/claude-agent.ts | matched "GITHUB_TOKEN" | 5 |
| low | Credential file access | package/src/adapters/codex/codex-agent.ts | matched "GITHUB_TOKEN" | 5 |
| low | Credential file access | package/src/adapters/local-tools/tools/signed-commit.ts | matched "GITHUB_TOKEN" | 5 |
| low | Large Javascript Payload | package/dist/claude-cli/cli.js | 13711684 bytes | 0 |
Manifest
Package metadata
Scripts6
buildnode ../../scripts/rimraf.mjs dist && tsupcleannode ../../scripts/rimraf.mjs dist .turbodevtsup --watchtestvitest runtest:watchvitesttypecheckpnpm exec tsc --noEmit
Dependencies19
@agentclientprotocol/sdk0.19.0@anthropic-ai/claude-agent-sdk0.2.112@anthropic-ai/sdk0.89.0@hono/node-server^1.19.9@modelcontextprotocol/sdk1.29.0@opentelemetry/api-logs^0.208.0@opentelemetry/exporter-logs-otlp-http^0.208.0@opentelemetry/resources^2.0.0@opentelemetry/sdk-logs^0.208.0@opentelemetry/semantic-conventions^1.28.0@types/jsonwebtoken^9.0.10commander^14.0.2hono^4.11.7jsonwebtoken^9.0.2minimatch^10.0.3tar^7.5.0uuid13.0.0yoga-wasm-web^0.3.3zod^4.2.0