PkgRadar

Package evidence

@supercat1337/[email protected]

Install-time lifecycle script: preinstall="npm i -g esbuild && npm i -g rollup"

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
13
Versions published
5
First published
Mar 2025
Publisher
supercat1337

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":["@supercat1337/[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":["@supercat1337/[email protected]"],"fail_on":"review"}'
Publishersupercat1337
Artifact bytes28,074
Previous version1.0.0
Published2025-03-25T17:03:47.359Z
SHA-256e122e1f046b0285fc926251e29d70f292f24319826c32f378a1acb7e15e4ed5a

Why flagged

What the scanner saw

Install-time lifecycle script: preinstall="npm i -g esbuild && npm i -g rollup"

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

Availability ledger

available

review
Last checked
reviewRisk
5Score
1.0.2Version
Status history (1 event)
  1. newavailable · risk review · score 5 · 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.jsonpreinstall="npm i -g esbuild && npm i -g rollup"5

Manifest

Package metadata

Scripts9
  • buildnpm run remove_type_files && npm run build_esm && npm run build_esm_min && npm run create_types
  • build_esmrollup ./src/index.js --file ./dist/device-detect.esm.js --format es
  • build_esm_bundlerollup ./src/index.js --file ./dist/device-detect.bundle.esm.js --format es -p ./node_modules/@rollup/plugin-node-resolve
  • build_esm_bundle_minesbuild --minify --bundle --platform=neutral --legal-comments=none ./src/index.js --outfile=./dist/device-detect.bundle.esm.min.js
  • build_esm_minesbuild --minify --bundle --platform=neutral --legal-comments=none ./dist/device-detect.esm.js --outfile=./dist/device-detect.esm.min.js
  • create_typesnpx -p typescript tsc --project my.tsconfig.types.json
  • preinstallnpm i -g esbuild && npm i -g rollup
  • remove_type_filesdel /q *.d.ts *.d.ts.map && cd dist && del /s /q *.d.ts *.d.ts.map && cd ..
  • testc8 ava
Dependencies1
  • detectincognitojs^1.3.7