Advisory

MAL-2026-12508

Also known as: None

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

Summary

Malicious code in @shiftmarkets/no-brainer-sdk (npm)

Details

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

Source: amazon-inspector (3149c40a7290d16b0247a1128a3e25ba1614e87e5c7261e486ce2e826ac66987)
The package runs node dist/recon.js as a postinstall lifecycle script on every npm install. The script collects host reconnaissance from the installer machine — hostname, username, SUDO_USER, homedir, cwd, network interface addresses (including internal/private IPs), CI indicators, npm lifecycle metadata, and the full list of environment variable names — and additionally filters those names against a credential-focused regex (AWS, GCP, GOOGLE, AZURE, NPM, NODE_AUTH, DOCKER, KUBE, VAULT, TOKEN, SECRET, KEY, PASS, CRED, GITHUB, GITLAB, SSH) to produce a secretish_names list. The JSON payload is POSTed over plain HTTP to the hardcoded bare-IPv4 endpoint http://138.68.108.20:80/cb, which is not a Shift Markets domain. The code labels itself as 'NON-SENSITIVE telemetry' but the destination is an unrelated bare IP and the installer never opted in. Enumerating which cloud/CI secret names exist on the host maps the target's credential inventory for follow-up attacks.

Severity

Not rated by the source.

Dates

Published
2026-08-05 13:09 UTC
Modified
2026-08-05 14:35 UTC

Affected packages and fixes

@shiftmarkets/no-brainer-sdk

npm · All systems

Affected

  • Versions: 1.0.18

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