PkgRadar

Package evidence

@gzxijiu/[email protected]

Install-time lifecycle script: preinstall="node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || (pnpm dlx only-allow pnpm && pnpm config set registry https://registry.npmmirror.com)"

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
41Mature · −50% score
First published
Jan 2025
Publisher
gzxijiu.liufaxiang

Effective trust discount applied: 50% (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":["@gzxijiu/[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":["@gzxijiu/[email protected]"],"fail_on":"review"}'
Artifact bytes47,012
Previous version0.8.0
Published2026-05-26T02:38:35.380Z
SHA-256c588d48546da0187fb4b2b002e26abbfd2b938443a49e22f443c5b4d954cfd0d

Why flagged

What the scanner saw

Install-time lifecycle script: preinstall="node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || (pnpm dlx only-allow pnpm && pnpm config set registry https://registry.npmmirror.com)"

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.8.1Version
Status history (1 event)
  1. newavailable · risk review · score 5 · status changed

Evidence

Static findings

2 static · 0 from release diff · showing high-signal first.

No high-signal findings — see all findings below.

Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
lowInstall-time lifecycle scriptpackage.jsonpreinstall="node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || (pnpm dlx only-allow pnpm && pnpm config set registry https://registry.npmmirror.com)"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || (pnpm exec simple-git-hooks && git config core.hooksPath .git/hooks/)"5

Manifest

Package metadata

Scripts8
  • changelognode ./scripts/changelog.mjs --all
  • linteslint "**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}"
  • lint:fixeslint "**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}" --fix
  • lint:inspectpnpm exec eslint-config-inspector
  • postinstallnode -e "if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }" || (pnpm exec simple-git-hooks && git config core.hooksPath .git/hooks/)
  • preinstallnode -e "if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }" || (pnpm dlx only-allow pnpm && pnpm config set registry https://registry.npmmirror.com)
  • releasenode ./scripts/release.mjs
  • setupnode ./bin/setup.mjs
Dependencies11
  • @babel/parser^7.29.3
  • ansis^4.3.0
  • cosmiconfig^9.0.1
  • cross-spawn^7.0.6
  • dayjs^1.11.20
  • ignore^7.0.5
  • npm-check-updates^22.2.1
  • pacote^21.5.0
  • prompts^2.4.2
  • recast^0.23.11
  • semver^7.8.1