PkgRadar

Package evidence

@jerome-benoit/[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
56
First published
Jan 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":["@jerome-benoit/[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":["@jerome-benoit/[email protected]"],"fail_on":"high"}'
Artifact bytes1,254,031
Previous version4.6.9
Published2026-05-28T16:45:51.003Z
SHA-25629223b2367c070efa2ea88e469aee3d4dd38237e153fe722a8997a3b08ef24c5

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 4.7.0 vs 4.6.9: "patch-package"

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

Availability ledger

available

high
Last checked
highRisk
45Score
4.7.0Version
Status history (2 events)
  1. availableavailable · risk high · score 45 · status available -> available, risk high -> high, score 90 -> 45
  2. newavailable · risk high · score 90 · status changed

Evidence

Static findings

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

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

Manifest

Package metadata

Scripts29
  • buildtsup
  • build:v2tsup --config tsup.config.v2.ts
  • build:v2:watchtsup --config tsup.config.v2.ts --watch
  • build:watchtsup --watch
  • check-buildls -la dist/ && test -f dist/index.js && test -f dist/index.cjs && test -f dist/index.d.ts
  • check-build:v2ls -la dist/ && test -f dist/index-v2.js && test -f dist/index-v2.cjs && test -f dist/index-v2.d.ts
  • cleanrm -rf dist
  • lintnpm run lint:md:all && eslint . --cache
  • lint-fixnpm run lint:md:fix && eslint . --fix --cache
  • lint:mdmarkdownlint-cli2 '**/*.md'
  • lint:md:allnpm run lint:md && npm run lint:md:toc && npm run lint:md:mermaid
  • lint:md:fixmarkdownlint-cli2 --fix '**/*.md'
  • lint:md:linksfind . -name '*.md' -not -path './node_modules/*' -exec markdown-link-check -c .markdown-link-check.json {} \;
  • lint:md:mermaidfind . -name '*.md' -not -path './node_modules/*' -exec mermaid-validate validate-md {} \; 2>&1 | grep -v 'No Mermaid code blocks'
  • lint:md:toctsx scripts/check-toc.ts
  • postinstallpatch-package
  • preparelefthook install
  • prepare:v2tsx scripts/prepare-v2-package.ts
  • prepublishOnlyif [ "$AI_SDK_VERSION" = "v2" ]; then npm run build:v2 && npm run check-build:v2 && npm run prepare:v2; else npm run build && npm run check-build; fi
  • prettier-checkprettier --cache --check .
  • prettier-fixprettier --cache --write .
  • sandcastletsx .sandcastle/main.ts
  • testvitest run
  • test:coveragevitest run --coverage
  • test:edgevitest --config vitest.edge.config.ts --run
  • test:nodevitest --config vitest.node.config.ts --run
  • test:node:watchvitest --config vitest.node.config.ts
  • test:watchvitest
  • type-checktsc --noEmit
Dependencies5
  • @ai-sdk/provider^3.0.10
  • @ai-sdk/provider-utils^4.0.27
  • @sap-ai-sdk/foundation-models^2.11.0
  • @sap-ai-sdk/orchestration^2.11.0
  • zod^4.4.3