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)"

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":["@gzxijiu/[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":["@gzxijiu/[email protected]"],"fail_on":"high"}'
Artifact bytes46,659
Previous version0.7.3
Published2026-05-25T02:57:21.500Z
SHA-2566e59ce8073a2948873561b4d4d5a9fa6cf5926b7e21d1244cac3ddaf2faaa53c

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

high
Last checked
highRisk
66Score
0.8.0Version
Status history (1 event)
  1. newavailable · risk high · score 66 · status changed

Related candidates

Linked campaigns and clusters

Publisher / release actor burststale

gzxijiu.liufaxiang

2 members · evidence strength 57
Repeated static TTPstale

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)"

2 members · evidence strength 63
Repeated static TTPstale

Install-time lifecycle script — postinstall="node -e \"if (process.env.init_cwd === process.cwd()) { process.exit(1) }\" || (pnpm exec simple-git-hooks && git config core.hookspath .git/hooks/)"

2 members · evidence strength 63

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall-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)"30
highInstall-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/)"30
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall-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)"30
highInstall-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/)"30
lowObfuscationpackage/bin/count-eslint-disables.mjsmatched "\\x1B"3
lowObfuscationpackage/mcp/server.mjsmatched "\\u001B"3

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.0
  • pacote^21.5.0
  • prompts^2.4.2
  • recast^0.23.11
  • semver^7.8.1