Skip to main content

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, which often contain credentials and tokens. This data is then sent to an attacker-controlled webhook. Additionally, a preinstall hook writes a marker file to a fixed path on the system.

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: 09/12/2026, 07:02:09 UTC

Technical Analysis

The @offa/offa-uwk npm package declares a postinstall hook that runs index.js. This script collects os.hostname(), os.userInfo().username, process.cwd(), and the entire process.env object, then sends this data as a JSON payload to a hardcoded attacker-controlled webhook URL. The environment variables may include sensitive tokens for AWS, GCP, GitHub, npm, and other services. A preinstall hook also writes a marker file to /home/OFFA/flag. This behavior constitutes malicious exfiltration of sensitive 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 compromise and unauthorized access to cloud services, repositories, and other resources. The presence of a marker file may indicate system compromise or persistence attempts.

Mitigation Recommendations

No official patch or remediation is indicated in the provided data. Users should immediately uninstall the affected versions (=999.0.0 and =999.0.1) of the @offa/offa-uwk package and avoid installing it. Review environment variables and credentials for potential compromise and rotate any exposed secrets. Monitor for unauthorized access resulting from leaked tokens.

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
Ecosystems
["npm"]

Threat ID: 6a735742bf8831d539159019

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

Last enriched: 09/12/2026, 07:02:09 UTC

Last updated: 09/12/2026, 07:02:09 UTC

Views: 18

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