PkgRadar

Package evidence

@guardrails-ai/[email protected]

Install-time lifecycle script: postinstall="python3 -m pip install guardrails-ai==0.4.2"

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
2
First published
Mar 2024
Publisher
cal.cour

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":["@guardrails-ai/[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":["@guardrails-ai/[email protected]"],"fail_on":"review"}'
Publishercal.cour
Artifact bytes22,247
Previous versionnone
Published2024-03-21T18:07:09.000Z
SHA-2568aef05ab515e79e49b7b0fd9024d73071bbb965e3e7b16873c9f875967bf9408

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="python3 -m pip install guardrails-ai==0.4.2"

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

Availability ledger

available

review
Last checked
reviewRisk
5Score
0.1.0Version
Status history (2 events)
  1. availableavailable · risk review · score 5 · status available -> available, risk high -> review, score 35 -> 5
  2. newavailable · risk high · score 35 · 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="python3 -m pip install guardrails-ai==0.4.2"5

Manifest

Package metadata

Scripts14
  • buildtsc
  • debugnpm run build; GUARDRAILS_PROCESS_COUNT="1" node debug.test.js
  • docsrm -rf ./docs; npx typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts
  • e2enpm run build; GUARDRAILS_PROCESS_COUNT="1" node e2e.test.js
  • itsnpm run build; NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --detectOpenHandles ./tests/integration-tests
  • linteslint ./src --quiet
  • lint-fixeslint --fix ./src
  • postinstallpython3 -m pip install guardrails-ai==0.4.2
  • prepackrm -rf ./dist; npm run build
  • qanpm run lint; npm run test-cov;
  • testnpm run uts; npm run its;
  • test-covNODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --detectOpenHandles ./unit-tests --coverage
  • test-filenpm run build; NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --detectOpenHandles tests/integration-tests/structured-output/rail-string.test.js
  • utsNODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --detectOpenHandles ./tests/unit-tests
Dependencies2
  • lodash.clonedeep^4.5.0
  • pythonia^1.1.1