Package evidence
@sanity/[email protected]
Js Split Join Obfuscation: Array-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.
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
- 717,897Ubiquitous · −70% score
- Versions published
- 3,877Mature · −50% score
- First published
- Sep 2016
- Publisher
- sanity-svc.npm
Effective trust discount applied: −70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.
Recommended action
Review before promotingMixed 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":["@sanity/[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":["@sanity/[email protected]"],"fail_on":"review"}'Why flagged
What the scanner saw
Js Split Join Obfuscation: Array-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (1 event)
- new → available · risk review · score 12 · status changed
Evidence
Static findings
1 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Js Split Join Obfuscation | package/dist/util/update/isInstalledUsingYarn.js | Array-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis. | 40 |
Manifest
Package metadata
Scripts16
buildswc --delete-dir-on-start --strip-leading-paths --out-dir dist/ src --ignore '**/*.test.ts' --ignore '**/__tests__/**'build:typespkg-utils build --emitDeclarationOnlycheck:topic-aliasestsx scripts/check-topic-aliases.tscheck:typestsc --noEmitlinteslint .manifest:generateoclif manifestmanifest:removerimraf oclif.manifest.jsonpostbuildpnpm run manifest:generate && pnpm run check:topic-aliasesposttestpnpm run lintprewatchpnpm run manifest:removepublintpublintreadmeoclif readme --tsconfig-path tsconfig.lib.json --no-source-linkstestvitest runtest:coveragevitest run --coveragetest:watchvitestwatchswc --delete-dir-on-start --strip-leading-paths --out-dir dist/ --watch src
Dependencies67
@oclif/core^4.10.6@oclif/plugin-help^6.2.45@oclif/plugin-not-found^3.2.81@sanity/cli-build^0.0.0-20260528100500@sanity/cli-core^0.0.0-20260528100500@sanity/client^7.22.0@sanity/codegen^6.1.0@sanity/descriptors^1.3.0@sanity/export^6.1.0@sanity/federation0.1.0-alpha.8@sanity/generate-help-url^4.0.0@sanity/id-utils^1.0.0@sanity/import^6.0.1@sanity/migrate^6.1.2@sanity/runtime-cli^15.1.2@sanity/schema^5.26.0@sanity/telemetry^0.9.0@sanity/template-validator^3.1.0@sanity/types^5.26.0@sanity/worker-channels^2.0.0@vercel/frameworks3.21.1@vitejs/plugin-react^5.2.0chokidar^5.0.0console-table-printer^2.15.0date-fns^4.1.0debug^4.4.3dotenv^17.3.1eventsource^4.1.0execa^9.6.0form-data^4.0.5- …and 37 more.