Advisory

MAL-2026-7022

Also known as: GHSA-wchw-4whx-qhq5

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

Summary

Malicious code in tslint-conf (npm)

Details

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

Source: amazon-inspector (31b464b1646f8e2d36ce68a86af599cc49d5381f08af70302ff01f42957234a1)
The package presents itself as the pino logger (README, index.d.ts, docs/, and lib/ files all reference pinojs/pino) but is published under the unrelated name tslint-conf. Its default export is an Express-style middleware factory whose invocation synchronously calls runJobA, which uses child_process.spawn("node", ["lib/caller.js",...], { detached: true, stdio: "ignore" }) followed by child.unref() to launch a hidden background worker. lib/caller.js performs axios.get against https://peach-eligible-penguin-917.mypinata.cloud/ipfs/bafkreigjnxn5vnn34rc5r43ajwwkmk4akqpm4awmq5gdhakgszpeqiffsu, takes the response body, and passes it to new Function.constructor("require", s) then invokes the resulting function with require, granting the fetched code full Node.js capabilities on the host. The remote content is attacker-controlled (Pinata account under the operator's control), unpinned by hash/signature, and executed unconditionally on every use of the middleware. Combined with the pino cover story, any consumer misled into using this package as their logger triggers remote code execution.

Source: ghsa-malware (fd778fbc5944f702647d34b24bddbfa8e34c8d9255f53cc5d24b1af71482848a)
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-07-08 21:15 UTC
Modified
2026-07-09 13:31 UTC

Affected packages and fixes

tslint-conf

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