Malicious code in @offa-uwk/offa-uwk (npm)
The npm package @offa-uwk/offa-uwk version 999.0.6 contains malicious code that executes during installation. Its postinstall script collects host identifiers and sends them to a hardcoded external URL, then forcibly shuts down the host machine. A preinstall step writes a marker file outside the package directory. This behavior is consistent with a proof-of-concept malicious artifact.
AI Analysis
Technical Summary
The package @offa-uwk/offa-uwk version 999.0.6 includes a postinstall script that gathers host information such as hostname, username, and current working directory, then sends this data via HTTPS POST to a hardcoded webhook.site URL. Immediately after sending this beacon, the script attempts to forcibly power off the host using 'shutdown -h now' or 'systemctl poweroff'. Additionally, a preinstall script writes a marker file at /home/OFFA/flag outside the package directory. This indicates intentional malicious behavior embedded in the package installation process.
Potential Impact
The malicious postinstall script leaks host identifiers to an external collector, potentially exposing sensitive environment information. The forced shutdown disrupts system availability and could cause data loss or service interruption. The creation of a marker file outside the package directory may indicate persistence or tracking attempts. There is no indication of further exploitation or remote code execution beyond these actions.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing this specific package version (=999.0.6). Since this is a malicious package artifact, the best mitigation is to remove it from any environment and avoid using untrusted or suspicious npm packages. Monitor for any unexpected shutdowns or presence of the /home/OFFA/flag file as indicators of compromise.
Malicious code in @offa-uwk/offa-uwk (npm)
Description
The npm package @offa-uwk/offa-uwk version 999.0.6 contains malicious code that executes during installation. Its postinstall script collects host identifiers and sends them to a hardcoded external URL, then forcibly shuts down the host machine. A preinstall step writes a marker file outside the package directory. This behavior is consistent with a proof-of-concept malicious artifact.
Affected software
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
Technical Analysis
The package @offa-uwk/offa-uwk version 999.0.6 includes a postinstall script that gathers host information such as hostname, username, and current working directory, then sends this data via HTTPS POST to a hardcoded webhook.site URL. Immediately after sending this beacon, the script attempts to forcibly power off the host using 'shutdown -h now' or 'systemctl poweroff'. Additionally, a preinstall script writes a marker file at /home/OFFA/flag outside the package directory. This indicates intentional malicious behavior embedded in the package installation process.
Potential Impact
The malicious postinstall script leaks host identifiers to an external collector, potentially exposing sensitive environment information. The forced shutdown disrupts system availability and could cause data loss or service interruption. The creation of a marker file outside the package directory may indicate persistence or tracking attempts. There is no indication of further exploitation or remote code execution beyond these actions.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing this specific package version (=999.0.6). Since this is a malicious package artifact, the best mitigation is to remove it from any environment and avoid using untrusted or suspicious npm packages. Monitor for any unexpected shutdowns or presence of the /home/OFFA/flag file as indicators of compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12327
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735746bf8831d539159fa4
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 09/12/2026, 07:01:59 UTC
Last updated: 09/12/2026, 07:01:59 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.