PkgRadar

Package evidence

@pact-foundation/[email protected]

Credential file access: matched ".npmrc"

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.

Publisher
GitHub ActionsTrusted automation · −70% score

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

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":["@pact-foundation/[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":["@pact-foundation/[email protected]"],"fail_on":"high"}'
Artifact bytes182,409
Previous version16.3.1
Published2026-05-04T08:12:24.102Z
SHA-2562da54eb3b021a3fc3b5589178778bf7dac3c594582cf2facb97b5f755a33aa64

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

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highCredential file accesspackage/scripts/ci/lib/create_npmrc_file.shmatched ".npmrc"30
mediumRemote Payloadpackage/scripts/trigger-9x-release.shmatched "curl "12
mediumRemote Payloadpackage/scripts/trigger-release.shmatched "curl "12
Show all 6 findings (low-signal and informational)
SeverityKindPathDetailPoints
highCredential file accesspackage/scripts/ci/lib/create_npmrc_file.shmatched ".npmrc"30
mediumRemote Payloadpackage/scripts/trigger-9x-release.shmatched "curl "12
mediumRemote Payloadpackage/scripts/trigger-release.shmatched "curl "12
lowObfuscationpackage/src/v4/message/asynchronousMessage.jsmatched "Buffer.from(content, 'base64"3
lowObfuscationpackage/src/messageConsumerPact.jsmatched "Buffer.from(reified.contents, 'base64"3
lowObfuscationpackage/src/dsl/verifier/proxy/messages.jsmatched "Buffer.from(req.body.request?.contents?.content, 'base64"3

Manifest

Package metadata

Scripts24
  • checknpm run format && npm run lint
  • check:fixnpm run format:fix && npm run lint:fix
  • cleanrimraf dist coverage .nyc_output logs pacts
  • compilerimraf dist && tsc
  • coveragenyc npm run test
  • disttsc && copyfiles package.json ./dist
  • docker:alpine:attachdocker run -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --entrypoint /bin/bash --rm -it pact-js:alpine
  • docker:alpine:builddocker build --build-arg NODE_VERSION=${NODE_VERSION:-current} -f Dockerfile.alpine -t pact-js:alpine .
  • docker:alpine:rundocker run -e LOG_LEVEL=${LOG_LEVEL:-info} -e GIT_REF=${GIT_REF:-test} -e GITHUB_ACTIONS=${GITHUB_ACTIONS:-false} -e SKIP_EXAMPLES=${SKIP_EXAMPLES:-''} -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --rm pact-js:alpine
  • docker:debian:attachdocker run -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --entrypoint /bin/bash --rm -it pact-js:debian
  • docker:debian:builddocker build --build-arg NODE_VERSION=${NODE_VERSION:-current} -f Dockerfile.debian -t pact-js:debian .
  • docker:debian:rundocker run -e LOG_LEVEL=${LOG_LEVEL:-info} -e GIT_REF=${GIT_REF:-test} -e GITHUB_ACTIONS=${GITHUB_ACTIONS:-false} -e SKIP_EXAMPLES=${SKIP_EXAMPLES:-''} -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --rm pact-js:debian
  • formatbiome format
  • format:fixbiome format --write
  • install-plugins./scripts/install-plugins
  • lintnpm run lint:biome && npm run lint:tsc
  • lint:biomebiome lint
  • lint:fixnpm run lint:fix:biome
  • lint:fix:biomebiome lint --write
  • lint:tsctsc --noEmit
  • predistnpm run clean
  • pretestnpm run install-plugins
  • releasecommit-and-tag-version
  • testmocha
Dependencies15
  • @pact-foundation/pact-core^19.2.0
  • axios^1.12.2
  • body-parser^2.2.0
  • chalk4.1.2
  • express^5.1.0
  • graphql^16.11.0
  • graphql-tag^2.12.6
  • http-proxy^1.18.1
  • https-proxy-agent^7.0.6
  • js-base64^3.7.8
  • lodash^4.17.21
  • ramda^0.32.0
  • randexp^0.5.3
  • router^2.2.0
  • stack-utils^2.0.6