PkgRadar

Package evidence

@codeperfect/[email protected]

Install-time lifecycle script: preinstall="npm cache clean --force"

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 bytes734,130
Previous version2.0.0
Published2026-04-29T20:23:50.699Z
SHA-2562fa121b76699ceb9ad8d4dbe5b647efa30a984b63636e4bc8c669549c0014f1b

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: preinstall added in 2.1.0 vs 2.0.0: "npm cache clean --force"

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.1.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.jsonpreinstall added in 2.1.0 vs 2.0.0: "npm cache clean --force"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpreinstall added in 2.1.0 vs 2.0.0: "npm cache clean --force"40
lowInstall-time lifecycle scriptpackage.jsonpreinstall="npm cache clean --force"5

Manifest

Package metadata

Scripts41
  • • --------------- checking --------------- •
  • • --------------- fixing --------------- •
  • • --------------- helpers --------------- •
  • • --------------- unit --------------- •
  • # --------------- BUILDING --------------- #
  • # --------------- CUSTOM --------------- #
  • # --------------- DOCS --------------- #
  • # --------------- GENERAL --------------- #
  • # --------------- 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
  • preinstallnpm cache clean --force
  • preparehusky
  • …and 11 more.
Dependencies3
  • @codeperfect/eslint-config^1.4.0
  • @typescript-eslint/utils^8.59.0
  • minimatch^10.2.5