Recommended action
Block this updateStatic 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":["@decaf-ts/[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":["@decaf-ts/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
Credential file access: matched ".npmrc"
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 high · score 120 · status changed
Related candidates
Linked campaigns and clusters
tvenceslau
8 members · evidence strength 84Evidence
Static findings
13 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Credential file access | package/lib/cjs/cli-module.cjs | matched ".npmrc" | 30 |
| high | Credential file access | package/lib/esm/cli-module.js | matched ".npmrc" | 30 |
| high | Credential file access | package/package.json | matched "NPM_TOKEN" | 30 |
Show all 13 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Credential file access | package/lib/cjs/cli-module.cjs | matched ".npmrc" | 30 |
| high | Credential file access | package/lib/esm/cli-module.js | matched ".npmrc" | 30 |
| high | Credential file access | package/package.json | matched "NPM_TOKEN" | 30 |
| low | Obfuscation | package/lib/cjs/client/crypto.cjs | matched "Buffer.from(str, \"base64" | 3 |
| low | Obfuscation | package/lib/cjs/client/fabric-fs.cjs | matched "Buffer.from(str, \"base64" | 3 |
| low | Obfuscation | package/lib/cjs/client/FabricClientStatement.cjs | matched "\\u0000" | 3 |
| low | Obfuscation | package/dist/for-fabric.cjs | matched "Buffer.from(t.x||\"\",\"base64" | 3 |
| low | Obfuscation | package/lib/cjs/client/utils.cjs | matched "Buffer.from(jwk.x || \"\", \"base64" | 3 |
| low | Obfuscation | package/lib/esm/client/crypto.js | matched "Buffer.from(str, \"base64" | 3 |
| low | Obfuscation | package/lib/esm/client/fabric-fs.js | matched "Buffer.from(str, \"base64" | 3 |
| low | Obfuscation | package/lib/esm/client/FabricClientStatement.js | matched "\\u0000" | 3 |
| low | Obfuscation | package/dist/for-fabric.js | matched "Buffer.from(e.x||\"\",\"base64" | 3 |
| low | Obfuscation | package/lib/esm/client/utils.js | matched "Buffer.from(jwk.x || \"\", \"base64" | 3 |
Manifest
Package metadata
Scripts44
builddecaf build --dev && sed -i -e '1i#!/usr/bin/env node\' lib/cjs/bin/cli.cjsbuild:contractdecaf fabric compile-contract --sourcemaps --dev --debug --bundle --name ${CONTRACT_NAME:-GlobalContract} --input ./src/contract --output ./docker/infrastructure/chaincode && LEVEL=verbose decaf fabric extract-indexes --folder ./lib/cjs/contract --outDir ./docker/infrastructure/chaincode/${CONTRACT_NAME:-GlobalContract}build:contract2decaf fabric compile-contract --debug --bundle --name ${CONTRACT_NAME:-GlobalContract} --input ./src/contract --output ./docker/infrastructure/chaincode && LEVEL=verbose decaf fabric extract-indexes --folder ./lib/cjs/contract --outDir ./docker/infrastructure/chaincode/${CONTRACT_NAME:-GlobalContract}build:proddecaf build --prod && sed -i -e '1i#!/usr/bin/env node\' lib/cjs/bin/cli.cjsclean-publishnpx clean-publishcopy-storagesudo cp -R docker/infrastructure/storage docker/docker-data/ && sudo chmod -R 755 docker/docker-datacopy:cryptodecaf fabric get-crypto-material --folder ./docker/docker-datacoveragerimraf ./workdocs/reports/data/*.json && npm run test:unit -- --coverage --config=./workdocs/reports/jest.coverage.config.cjsdeploy:contractdecaf fabric deploy-contract --name ${CONTRACT_NAME:-GlobalContract} --input ${CONTRACT_NAME:-GlobalContract}do-installNPM_TOKEN=$(cat .npmtoken) npm installdocsnpx rimraf ./docs && mkdir docs && build-scripts --docsdrawingsfor FILE in workdocs/drawings/*.drawio; do echo "converting $FILE to image..." && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/extract:collectionsdecaf fabric extract-collections --folder ./lib/cjs/contract --outDir ./docker/infrastructure/chaincode/GlobalContract --mspIds '["org-b","org-c"]' --mainMspId org-aextract:indexesdecaf fabric extract-indexes --folder ./lib/cjs/contract --outDir ./docker/infrastructure/chaincode/GlobalContractflash-forwardnpx npm-check-updates -u && npm run do-installinfrastructure-hsm:downdocker compose -f ./docker/infrastructure/docker-compose-hsm.yaml down --rmi local -vinfrastructure-hsm:updocker compose -f ./docker/infrastructure/docker-compose-hsm.yaml up -dinfrastructure:downdocker compose -f ./docker/infrastructure/docker-compose.yaml down --rmi local -v && rm -rf ./docker/docker-data && rm -f ./tests/integration/chaincodeTrackers/*.countinfrastructure:updocker compose -f ./docker/infrastructure/docker-compose.yaml up -dlinteslint .lint-fixeslint --fix .on-first-runnpx update-scripts --bootprepare-prnpm run lint-fix && npm run build:prod && npm run coverage && npm run docsprepare-releasenpm run build:prodpublish-docsdocker run -it --rm --user $(id -u):$(id -g) -v "$(pwd)/workdocs/confluence:/content" -e ATLASSIAN_API_TOKEN=$(cat .confluence-token) ghcr.io/markdown-confluence/publish:latestrelease./bin/tag-release.shrepo:doccodex exec "$(cat ./.codex/prompts/doc.md) $(cat ./.codex/prompts/bulk-docs.md) base_path is ./" -s workspace-writerepo:initcodex exec "$(cat ./.codex/prompts/repo-setup.md) base_path is `./`, initialize the repository" -s workspace-writerepo:prnpm run repo:doc && npm run repo:tests && npm run repo:readmerepo:readmecodex exec "$(cat ./.codex/prompts/update-readme.md) base_path is ./" -s workspace-write- …and 14 more.
Dependencies12
@decaf-ts/corelatest@decaf-ts/db-decoratorslatest@decaf-ts/decorationlatest@decaf-ts/decorator-validationlatest@decaf-ts/for-couchdblatest@decaf-ts/injectable-decoratorslatest@decaf-ts/logginglatest@decaf-ts/transactional-decoratorslatest@decaf-ts/ui-decoratorslatest@peculiar/x509^1.14.2json-stringify-deterministic^1.0.12sort-keys-recursive^2.1.10
Optional dependencies1
pkcs11js^2.1.6