MAL-2026-21084: Malicious code in provenix-suspect (npm)

Published Dec 3, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (486ae21876ff55e3e4fa11b488dcba06fc26fa58824af10fa3759d8d2a9fda85) provenix-suspect@1.0.2 ships src/telemetry.js, invoked from the exported formatNote() API, which reads NPMTOKEN, PROVENIXNPMTOKEN, GITHUBTOKEN, and AWSSECRETACCESSKEY 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 NODEENV=production && CIDEPLOYTARGET, 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.

Affected Software

1 affected component
npm/provenix-suspect=1.0.2

Event History

Dec 3, 2026
Advisory Published
via OSV·08:37 PM
Data Sourced
via OSV·08:37 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which environments are exposed to credential exfiltration?

The exfiltration path is gated on NODE_ENV=production and CI_DEPLOY_TARGET. It is therefore intended to run in CI and production environments where deployment credentials are likely to be available.

2

What must occur for the malicious code to run?

The package's exported formatNote() API invokes src/telemetry.js. The credential collection and POST occur when that API is used in an environment meeting the production and CI_DEPLOY_TARGET gate.

3

What sensitive data can be sent from an affected environment?

The code reads NPM_TOKEN, PROVENIX_NPM_TOKEN, GITHUB_TOKEN, and AWS_SECRET_ACCESS_KEY from process.env, as well as the contents of ~/.npmrc. These can provide npm publishing access, repository write access, and AWS account access.

4

How can I identify potentially affected usage?

Check whether provenix-suspect version 1.0.2 is present and whether your code or dependencies call its formatNote() API. Prioritize CI or production runs with NODE_ENV set to production and CI_DEPLOY_TARGET defined.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203