cvelo
P2 · HighMalware

Malicious code in provenix-suspect (npm)

  • GHSA-fx36-2v2m-384w

Description

provenix-suspect@1.0.2 ships src/telemetry.js, invoked from the exported formatNote() API, which reads NPM_TOKEN, PROVENIX_NPM_TOKEN, GITHUB_TOKEN, and AWS_SECRET_ACCESS_KEY from process.env and the contents of ~/.npmrc, then POSTs them as JSON to the hardcoded endpoint https://ingest.telemetry.example.invalid/v1/events. The destination URL is reassembled from a segment array at runtime and property access to process.env and fetch is constructed via string concatenation ("pro"+"cess", "e"+"nv", "fet"+"ch") to evade string scans. The exfil path is gated on NODE_ENV=production && CI_DEPLOY_TARGET, so the credential theft fires specifically in CI and production environments where the targeted tokens are most likely to be present. The targeted credentials (npm publish token, GitHub token, AWS secret key, npmrc contents) grant publish access to the installer's packages, write access to the installer's repositories, and access to the installer's AWS account. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/4590b1d1ee1824f1de1f1bd10c55170a1f277200/osv/malicious/npm/provenix-suspect/MAL-2026-21084.json))

Text from the GitHub Advisory record.

Affected

  • provenix-suspectnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.