PkgRadar

Package evidence

@xai-official/[email protected]

Install-time lifecycle script: postinstall="node bin/postinstall.js"

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
5,798Niche · −30% score
Versions published
115Established · −30% score
First published
Oct 2025
Publisher
xai-security

Effective trust discount applied: 30% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.

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":["@xai-official/[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":["@xai-official/[email protected]"],"fail_on":"review"}'
Publisherxai-security
Artifact bytes5,084
Previous version0.2.50
Published2026-06-12T03:02:09.075Z
SHA-256798072d87fbba9da7a606e248ef5403f7274e608b8580c692a9c86d23b18585b

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="node bin/postinstall.js"

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

Availability ledger

available

review
Last checked
reviewRisk
3Score
0.2.51Version
Status history (1 event)
  1. newavailable · risk review · score 3 · 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="node bin/postinstall.js"5

Manifest

Package metadata

Scripts1
  • postinstallnode bin/postinstall.js
Dependencies1
  • @iarna/toml^3.0.0
Optional dependencies6
  • @xai-official/grok-darwin-arm640.2.51
  • @xai-official/grok-darwin-x640.2.51
  • @xai-official/grok-linux-arm640.2.51
  • @xai-official/grok-linux-x640.2.51
  • @xai-official/grok-win32-arm640.2.51
  • @xai-official/grok-win32-x640.2.51