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":["@switchbot/[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":["@switchbot/[email protected]"],"fail_on":"review"}'Why flagged
What the scanner saw
Large Javascript Payload: 2851365 bytes
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 14 · status changed
Evidence
Static findings
2 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| medium | Large Javascript Payload | package/dist/index.js | 2851365 bytes | 10 |
Show all 2 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| medium | Large Javascript Payload | package/dist/index.js | 2851365 bytes | 10 |
| low | Install-time lifecycle script | package.json | prepare="node scripts/install-git-hooks.mjs" | 4 |
Manifest
Package metadata
Scripts23
buildnode scripts/build.mjsdevtsx src/index.tshooks:installnode scripts/install-git-hooks.mjslint:mdmarkdownlint "**/*.md"lint:md:changelogmarkdownlint CHANGELOG.mdlint:stdoutbash scripts/lint-stdout.shpreparenode scripts/install-git-hooks.mjsprepublishOnlynpm test && npm run build && npm run smoke:pack-install && npm run smoke:codex-pack-installsmoke:codex-pack-installnode scripts/smoke-codex-pack-install.mjssmoke:pack-installnode scripts/smoke-pack-install.mjsstartnode dist/index.jstestvitest runtest:allnpm test && npm run test:workspacestest:coveragevitest run --coveragetest:release-smoke:manualnpm test -- tests/commands/policy.test.ts tests/commands/devices.test.ts tests/commands/explain.test.ts tests/commands/doctor.test.ts tests/commands/mcp.test.ts tests/commands/health-check.test.ts tests/commands/quota.test.ts tests/commands/status-sync.test.ts tests/status-sync/smoke.test.ts tests/commands/watch.test.ts tests/commands/events.test.ts tests/devices/catalog-fidelity.test.ts tests/commands/schema.test.ts tests/commands/auth.test.ts tests/commands/config.test.ts tests/commands/scenes.test.ts tests/commands/batch.test.ts tests/commands/history.test.ts tests/commands/expand.test.ts tests/commands/webhook.test.ts tests/commands/daemon.test.ts tests/commands/upgrade-check.test.ts tests/commands/install.test.ts tests/commands/uninstall.test.ts tests/commands/rules.test.ts tests/commands/plan.test.tstest:watchvitesttest:workspacesnpm test --workspaces --if-presenttypechecktsc --noEmittypecheck:allnpm run typecheck && npm run typecheck:workspacestypecheck:workspacesnpm run typecheck --workspaces --if-presentverify:pre-commitnpm run build && npm test -- tests/version.test.tsverify:pre-pushnpm run build && npm test -- tests/version.test.ts && npm run smoke:pack-installverify:releasenode scripts/verify-release.mjs
Dependencies4
axios^1.7.9mqtt^5.3.0open^10.2.0pino^9.0.0