PkgRadar

Package evidence

@codeperfect/[email protected]

Install-time lifecycle script: postinstall="patch-package"

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.

Versions published
6
First published
Mar 2026
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

Block this update

Static evidence trips multiple high-signal indicators. Quarantine the release until the publisher validates the change or you can rule out the indicators below.

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":["@codeperfect/[email protected]"],"fail_on":"high"}'

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":["@codeperfect/[email protected]"],"fail_on":"high"}'
Artifact bytes585,000
Previous version2.2.0
Published2026-05-30T00:20:51.635Z
SHA-25672824c63ff45c3f1a16d6a635c1457a0ee1a20604425540883a662419805dc44

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 2.3.0 vs 2.2.0: "patch-package"

1 candidate cluster(s) currently reference this release.

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

Availability ledger

available

high
Last checked
highRisk
45Score
2.3.0Version
Status history (1 event)
  1. newavailable · risk high · score 45 · status changed

Related candidates

Linked campaigns and clusters

Publisher / release actor burstactive

GitHub Actions

109 members · evidence strength 84
Publisher / release actor burstcandidate

GitHub Actions

109 members · max score 283

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.3.0 vs 2.2.0: "patch-package"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.3.0 vs 2.2.0: "patch-package"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="patch-package"5

Manifest

Package metadata

Scripts37
  • • --------------- checking --------------- •
  • • --------------- fixing --------------- •
  • • --------------- helpers --------------- •
  • • --------------- unit --------------- •
  • # --------------- BUILDING --------------- #
  • # --------------- DOCS --------------- #
  • # --------------- LINTING --------------- #
  • # --------------- SCM --------------- #
  • # --------------- TESTING --------------- #
  • buildnpm run clean && npm run compile && npm run resolve-paths
  • check:rulesnpx --yes eslint-config-prettier eslint.config.ts
  • cleannpx --yes rimraf dist
  • commitnpx --yes git-cz
  • compiletsc --build --force ./tsconfig.build.json
  • docsnpm run docs:clean && npm run docs:api
  • docs:apinpx --yes typedoc --options typedoc.json
  • docs:cleannpx --yes rimraf docs/api
  • eslintnpx --yes eslint --max-warnings=0
  • eslint:fixnpm run check:rules && npm run eslint -- --fix
  • eslint:inspectnpx --yes @eslint/config-inspector
  • lintnpm run lint:run
  • lint:fixnpm run prettier:write && npm run eslint:fix
  • lint:runnpm run prettier && npm run eslint
  • lint:stagednpx --yes tsx scripts/lint-staged.ts
  • mutationnpx --yes stryker run
  • packnpm pack --pack-destination dist
  • postinstallpatch-package
  • preparehusky
  • prettiernpx --yes prettier --ignore-unknown --check .
  • prettier:writenpm run prettier -- --write
  • …and 7 more.
Dependencies2
  • @typescript-eslint/utils^8.60.0
  • minimatch^10.2.5