Skip to main content

Malicious code in forge-extended (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 01:22:41 UTC)
Source: GCVE Database
Product: forge-extended

Description

The npm package 'forge-extended' version 1.0.1 contains malicious code that executes during installation. Its preinstall script collects sensitive system information including hostname, username, home directory, DNS servers, and contents of /etc/passwd and /etc/hosts. This data is sent over HTTPS to an unauthorized external endpoint unrelated to the package's documented functionality. Installation of this package can lead to full system compromise, and all secrets and keys on the affected system should be considered exposed and rotated immediately. Removal of the package does not guarantee eradication of all malicious artifacts.

Affected software

npmghsa
forge-extended
Affected versions
=1.0.1

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: 09/08/2026, 05:24:03 UTC

Technical Analysis

The 'forge-extended' npm package version 1.0.1 includes a preinstall lifecycle script that automatically executes upon installation. This script gathers detailed system information such as os.hostname(), os.userInfo().username, home directory, DNS server list, and reads sensitive files /etc/passwd and /etc/hosts. It then transmits this aggregated data as a JSON payload to a Burp Collaborator subdomain under oastify.com, an out-of-band reconnaissance endpoint unrelated to the package's intended use. This behavior constitutes a malicious backdoor and reconnaissance beacon, indicating a dependency confusion or supply chain attack vector. The package compromises the host system, potentially granting attackers full control.

Potential Impact

Systems with 'forge-extended' version 1.0.1 installed are fully compromised due to the exfiltration of sensitive system information and potential backdoor access. All secrets, credentials, and keys stored on the affected system should be considered compromised and require immediate rotation. The malicious code executes automatically during installation without user interaction, increasing risk of unnoticed compromise. Removal of the package alone may not remove all malicious components introduced, implying persistent threat presence.

Defensive Guidance

No official patch or fix is currently documented for this malicious package version. Immediate mitigation involves uninstalling the 'forge-extended' package version 1.0.1 from all affected systems. Due to the high likelihood of full system compromise, all secrets and credentials on the affected machines must be rotated from a separate, trusted environment. Comprehensive system audits and potential reimaging of affected hosts are recommended to ensure removal of any persistent malicious artifacts. Monitor for any network communications to suspicious domains such as oastify.com and block them if possible.

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-12040
Osv Schema Version
1.7.4
Aliases
["GHSA-prw8-rx62-jhmh"]
Ecosystems
["npm"]

Threat ID: 6a9f9111acd9273b49ff2adf

Added to database: 09/08/2026, 04:37:37 UTC

Last enriched: 09/08/2026, 05:24:03 UTC

Last updated: 10/04/2026, 07:14:16 UTC

Views: 20

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