PkgRadar

Package evidence

@swc/[email protected]

Install-time lifecycle script: postinstall="node postinstall.js"

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
35,922,532Ubiquitous · −70% score
Versions published
903Mature · −50% score
First published
Feb 2019
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":["@swc/[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":["@swc/[email protected]"],"fail_on":"review"}'
Artifact bytes25,994
Previous version1.15.41-nightly-20260609.1
Published2026-06-09T16:04:41.838Z
SHA-256af115710dba2e6f04dc6f86f39bfdcf4b228e95de8a1b1b0e71df40b5acaf72a

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="node postinstall.js"

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

Availability ledger

available

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

Evidence

Static findings

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

No high-signal findings — see all findings below.

Show all 1 findings (low-signal and informational)
SeverityKindPathDetailPoints
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node postinstall.js"5

Manifest

Package metadata

Scripts9
  • artifactsnapi artifacts --npm-dir scripts/npm
  • buildtsc -d && napi build --manifest-path ../../Cargo.toml --platform -p binding_core_node --js ./binding.js --dts ./binding.d.ts --release -o .
  • build:devtsc -d && napi build --manifest-path ../../Cargo.toml --platform -p binding_core_node --js ./binding.js --dts ./binding.d.ts -o .
  • build:tstsc -d
  • build:wasmnpm-run-all "pack -- build ../../bindings/binding_core_wasm --scope swc {1} -t {2} --features plugin" --
  • packwasm-pack
  • postinstallnode postinstall.js
  • testrstest
  • versionnapi version --npm-dir scripts/npm
Dependencies2
  • @swc/counter^0.1.3
  • @swc/types^0.1.26
Optional dependencies12
  • @swc/core-darwin-arm641.15.41
  • @swc/core-darwin-x641.15.41
  • @swc/core-linux-arm-gnueabihf1.15.41
  • @swc/core-linux-arm64-gnu1.15.41
  • @swc/core-linux-arm64-musl1.15.41
  • @swc/core-linux-ppc64-gnu1.15.41
  • @swc/core-linux-s390x-gnu1.15.41
  • @swc/core-linux-x64-gnu1.15.41
  • @swc/core-linux-x64-musl1.15.41
  • @swc/core-win32-arm64-msvc1.15.41
  • @swc/core-win32-ia32-msvc1.15.41
  • @swc/core-win32-x64-msvc1.15.41