Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @offa/offa-uwk (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:57:06 UTC)
Source: GCVE Database
Product: @offa/offa-uwk

Description

The npm package @offa/offa-uwk versions 999.0.0 and 999.0.1 contains malicious code that executes during installation. It collects sensitive environment information including hostname, username, current working directory, and all environment variables, then sends this data to an attacker-controlled webhook. Additionally, it writes a marker file to a fixed path on the filesystem. This behavior exposes potentially sensitive tokens and credentials present in environment variables to an unauthorized third party.

Affected software

npmghsa
@offa/offa-uwk
Affected versions
=999.0.1=999.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/05/2026, 17:08:03 UTC

Technical Analysis

The @offa/offa-uwk npm package versions 999.0.0 and 999.0.1 declare a postinstall hook that runs index.js. This script collects os.hostname(), os.userInfo().username, process.cwd(), and the entire process.env object, which often contains sensitive tokens such as AWS, GCP, GitHub, and npm credentials. It then sends this data via HTTPS POST to a hardcoded attacker-controlled webhook URL. A preinstall hook also writes a marker file to /home/OFFA/flag. This constitutes malicious exfiltration of environment data during package installation.

Potential Impact

Sensitive environment variables and system information are exfiltrated to an attacker-controlled endpoint during package installation. This can lead to credential leakage and unauthorized access to cloud services, repositories, and other resources if tokens are present in environment variables. The creation of a marker file may also indicate persistence or tracking by the attacker.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing or using the affected versions of @offa/offa-uwk (999.0.0 and 999.0.1). Review and rotate any potentially exposed credentials or tokens if these versions were installed. Consider using package integrity verification and trusted sources to prevent installation of malicious packages.

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-12326
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735742bf8831d539159019

Added to database: 08/05/2026, 15:31:14 UTC

Last enriched: 08/05/2026, 17:08:03 UTC

Last updated: 08/05/2026, 17:08:03 UTC

Views: 2

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