PkgRadar

Package evidence

@selfxyz/[email protected]

Manifest Codeless Dependency Stub: package ships no JS/TS source but declares 19 dependency(ies) (1 with loose/empty version specs) — dependency-confusion / install-chain loader shape

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
28Mature · −50% score
First published
Mar 2025
Publisher
nicoshark

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

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":["@selfxyz/[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":["@selfxyz/[email protected]"],"fail_on":"high"}'
Publishernicoshark
Artifact bytes20,112
Previous version1.2.2
Published2025-09-26T17:16:46.057Z
SHA-256b4be8532970ae92758542dc13bb47fb8ed858d6019429ea3045f0c1b5fa8bd24

Why flagged

What the scanner saw

Manifest Codeless Dependency Stub: package ships no JS/TS source but declares 19 dependency(ies) (1 with loose/empty version specs) — dependency-confusion / install-chain loader shape

1 remote tarball(s) were followed statically.

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
mediumManifest Codeless Dependency Stubpackage.jsonpackage ships no JS/TS source but declares 19 dependency(ies) (1 with loose/empty version specs) — dependency-confusion / install-chain loader shape15
highRemote Dependency Specpackage.jsondependencies.@ashpect/smt="https://github.com/ashpect/smt#main"12

Remote payloads

Followed remote artifacts

SourceURLRiskScoreSummary
dependencies.@ashpect/smthttps://github.com/ashpect/smt#mainerror0invalid gzip header

Manifest

Package metadata

Scripts50
  • buildyarn hardhat clean && yarn hardhat compile
  • deploy:allnpm run deploy:verifiers:all && npm run deploy:registry && npm run deploy:registry:idcard && npm run deploy:hub:v2
  • deploy:hubnpx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/hub/deployHub.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:hub:v2npx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/hub/deployHubV2.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:pcr0npx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/utils/deployPCR0.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:registrynpx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/registry/deployRegistry.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:registry:idcardnpx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/registry/deployIdCardRegistry.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:test:selfverificationrootnpx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/deployTestSelfVerificationRoot.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:verifier:idnpx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/verifiers/deployAllVerifiers.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:verifiersnpx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/verifiers/deployVerifiers.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • deploy:verifiers:allnpx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/verifiers/deployAllVerifiers.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • export-prodbash ./scripts/prod.sh
  • find:errornpx tsx scripts/findErrorSelectors.ts
  • formatyarn prettier:write
  • prettier:checkprettier --plugin-search-dir . --list-different '**/*.{json,md,yml,sol,ts}'
  • prettier:writeprettier --plugin-search-dir . --write '**/*.{json,md,yml,sol,ts}'
  • publishnpm publish --access public
  • set:hub:v2npx dotenv-cli -- bash -c 'NETWORK=${NETWORK:-alfajores} npx tsx scripts/setHubV2.ts'
  • set:registrynpx dotenv-cli -- bash -c 'NETWORK=${NETWORK:-staging} npx tsx scripts/setRegistry.ts'
  • set:registry:hub:v2npx dotenv-cli -- bash -c 'yarn hardhat ignition deploy ignition/modules/scripts/updateRegistryHubV2.ts --network ${NETWORK:-localhost} ${VERIFY:+--verify}'
  • set:registry:idcardnpx dotenv-cli -- bash -c 'NETWORK=${NETWORK:-staging} npx tsx scripts/setRegistryId.ts'
  • set:verifiers:v2npx dotenv-cli -- bash -c 'NETWORK=${NETWORK:-alfajores} npx tsx scripts/setVerifiersV2.ts'
  • show:registrynpx tsx scripts/showRegistryAddresses.ts
  • testyarn hardhat test
  • test:airdropnpx dotenv-cli -- bash -c 'TEST_ENV=${TEST_ENV:-local} npx hardhat test test/example/airdrop.test.ts'
  • test:attributenpx dotenv-cli -- bash -c 'TEST_ENV=${TEST_ENV:-local} npx hardhat test test/unit/CircuitAttributeHandler.test.ts'
  • test:coverageyarn hardhat coverage
  • test:coverage:localTEST_ENV=local yarn hardhat coverage
  • test:disclosenpx dotenv-cli -- bash -c 'TEST_ENV=${TEST_ENV:-local} yarn hardhat test test/integration/vcAndDisclose.test.ts'
  • test:endtoendnpx dotenv-cli -- bash -c 'TEST_ENV=${TEST_ENV:-local} yarn hardhat test test/Integration/endToEnd.test.ts'
  • …and 20 more.
Dependencies19
  • @ashpect/smthttps://github.com/ashpect/smt#main
  • @eth-optimism/hardhat-ovm^0.2.4
  • @nomiclabs/hardhat-ethers^2.2.3
  • @openpassport/zk-kit-lean-imt^0.0.6
  • @openpassport/zk-kit-smt^0.0.1
  • @openzeppelin/contracts^5.0.2
  • @openzeppelin/contracts-upgradeable^5.1.0
  • @selfxyz/common^0.0.9
  • @zk-kit/imt^2.0.0-beta.4
  • @zk-kit/imt.sol^2.0.0-beta.12
  • @zk-kit/lean-imt^2.0.1
  • axios^1.6.2
  • circomlibjs^0.1.7
  • dotenv^16.3.1
  • hardhat-contract-sizer^2.10.0
  • node-forge^1.3.1
  • poseidon-lite^0.3.0
  • poseidon-solidity^0.0.5
  • snarkjs^0.7.4