PkgRadar

Package evidence

@switchbot/[email protected]

Large Javascript Payload: 2855171 bytes

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":["@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"}'
Publishercly-org
Artifact bytes586,343
Previous version3.7.3
Published2026-05-25T06:04:47.439Z
SHA-2566e8160fb4af5252c9593e460c3613762e30a3a600311e2a11a56f0fe2567768e

Why flagged

What the scanner saw

Large Javascript Payload: 2855171 bytes

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
mediumLarge Javascript Payloadpackage/dist/index.js2855171 bytes10
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
mediumLarge Javascript Payloadpackage/dist/index.js2855171 bytes10
lowInstall-time lifecycle scriptpackage.jsonprepare="node scripts/install-git-hooks.mjs"4

Manifest

Package metadata

Scripts23
  • buildnode scripts/build.mjs
  • devtsx src/index.ts
  • hooks:installnode scripts/install-git-hooks.mjs
  • lint:mdmarkdownlint "**/*.md"
  • lint:md:changelogmarkdownlint CHANGELOG.md
  • lint:stdoutbash scripts/lint-stdout.sh
  • preparenode scripts/install-git-hooks.mjs
  • prepublishOnlynpm test && npm run build && npm run smoke:pack-install && npm run smoke:codex-pack-install
  • smoke:codex-pack-installnode scripts/smoke-codex-pack-install.mjs
  • smoke:pack-installnode scripts/smoke-pack-install.mjs
  • startnode dist/index.js
  • testvitest run
  • test:allnpm test && npm run test:workspaces
  • test:coveragevitest run --coverage
  • test: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.ts
  • test:watchvitest
  • test:workspacesnpm test --workspaces --if-present
  • typechecktsc --noEmit
  • typecheck:allnpm run typecheck && npm run typecheck:workspaces
  • typecheck:workspacesnpm run typecheck --workspaces --if-present
  • verify:pre-commitnpm run build && npm test -- tests/version.test.ts
  • verify:pre-pushnpm run build && npm test -- tests/version.test.ts && npm run smoke:pack-install
  • verify:releasenode scripts/verify-release.mjs
Dependencies4
  • axios^1.7.9
  • mqtt^5.3.0
  • open^10.2.0
  • pino^9.0.0