Advisory

MAL-2026-16042

Also known as: GHSA-3j7p-44mj-76hx

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in krdpass-auth-react-native (npm)

Details

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

Source: amazon-inspector (3a74ab9e45d4f67b40e21dc7491aff1979b4bf79be24bc49b8588916c18b847f)
package.json declares a preinstall script (preinstall.js) that runs automatically on npm install. The script collects os.hostname(), os.userInfo(), homedir, internal IP addresses, CI/repository identifiers (GITHUB_REPOSITORY, CI_PROJECT_PATH, JENKINS_URL, etc.), parent package.json metadata, and enumerates process.env keys matching /(TOKEN|KEY|SECRET|PASS|AUTH|CRED|AWS|AZURE|GCP|NPM|GITHUB|GITLAB|API)/i, then POSTs the payload to a hardcoded anonymous collector at https://webhook.site/5ba4d4a7-b977-4bb8-b26e-517b46271316. Bulk env-name enumeration and internal-network / CI-identifier collection are outside any documented purpose of a React Native auth library and disclose to a remote party which credentials exist on the installer or CI runner and how the host is situated. The manifest additionally lists the package's own name (krdpass-auth-react-native ^1.6.0) as one of its dependencies, causing npm to resolve and execute the lifecycle hooks of future self-published versions during install.

Source: ghsa-malware (802615c8d05ade7426df3338956dc9f1e50c4bfdbb4890b873a978859fa2a537)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Severity

Not rated by the source.

Dates

Published
2026-09-08 03:46 UTC
Modified
2026-09-08 19:30 UTC

Affected packages and fixes

krdpass-auth-react-native

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences