PkgRadar

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 promoting

Mixed 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"}'
Artifact bytes20,302,386
Previous version2.3.709
Published2026-05-28T16:19:13.293Z
SHA-256901827492ba80a9fe027cff6b545a4eff7bc9dc8941191b8a83e4a4780b7d87a

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

review
Last checked
reviewRisk
25Score
2.3.727Version
Status history (1 event)
  1. newavailable · risk review · score 25 · status changed

Evidence

Static findings

10 static · 0 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highJs Decode Then Execpackage/dist/server/bin.cjsbase64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.45
highJs Decode Then Execpackage/dist/server/agent-server.jsbase64 / 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)
SeverityKindPathDetailPoints
highJs Decode Then Execpackage/dist/server/bin.cjsbase64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.45
highJs Decode Then Execpackage/dist/server/agent-server.jsbase64 / atob / fromCharCode decode paired with eval / new Function in the same file — canonical obfuscated-loader pattern.45
lowCredential file accesspackage/dist/server/bin.cjsmatched "GITHUB_TOKEN"5
lowCredential file accesspackage/dist/server/agent-server.jsmatched "GITHUB_TOKEN"5
lowCredential file accesspackage/dist/agent.jsmatched "GITHUB_TOKEN"5
lowCredential file accesspackage/dist/adapters/codex/local-tools-mcp-server.jsmatched "GITHUB_TOKEN"5
lowCredential file accesspackage/src/adapters/claude/claude-agent.tsmatched "GITHUB_TOKEN"5
lowCredential file accesspackage/src/adapters/codex/codex-agent.tsmatched "GITHUB_TOKEN"5
lowCredential file accesspackage/src/adapters/local-tools/tools/signed-commit.tsmatched "GITHUB_TOKEN"5
lowLarge Javascript Payloadpackage/dist/claude-cli/cli.js13711684 bytes0

Manifest

Package metadata

Scripts6
  • buildnode ../../scripts/rimraf.mjs dist && tsup
  • cleannode ../../scripts/rimraf.mjs dist .turbo
  • devtsup --watch
  • testvitest run
  • test:watchvitest
  • typecheckpnpm 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.10
  • commander^14.0.2
  • hono^4.11.7
  • jsonwebtoken^9.0.2
  • minimatch^10.0.3
  • tar^7.5.0
  • uuid13.0.0
  • yoga-wasm-web^0.3.3
  • zod^4.2.0