Skip to main content

Malicious code in twork-data-services-sme-agent-company-relation (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 09:14:25 UTC)
Source: GCVE Database
Product: twork-data-services-sme-agent-company-relation

Description

The npm package 'twork-data-services-sme-agent-company-relation' version 20.5.3 contains malicious code that downloads and executes a native binary from multiple external hosts. The package uses obfuscation techniques to evade detection, writes the payload to temporary directories with disguised names, sets executable permissions, and runs it detached from the main process. A secondary dropper labeled as an 'Analytics SDK' also executes arbitrary code. Installation of this package results in full system compromise, requiring immediate secret and key rotation and package removal.

Affected software

npmghsa
twork-data-services-sme-agent-company-relation
Affected versions
=20.5.3

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/06/2026, 19:19:57 UTC

Technical Analysis

The malicious npm package 'twork-data-services-sme-agent-company-relation' version 20.5.3 unconditionally loads an initialization script that dynamically assembles hostnames to fetch a platform-specific native binary from multiple *.workers.dev domains. It uses DNS TXT record fallback channels for additional payload retrieval. The payload is saved to temporary directories with randomized disguised filenames, permissions are set to executable, and the binary is spawned detached via shell commands. Additionally, a secondary dropper in 'lib/telemetry.js' uses obfuscated child process spawning and base64 decoding to execute a written file. There is no integrity verification or relation to the package's declared purpose, indicating deliberate malicious intent. The package effectively grants full control of the infected system to an external entity.

Potential Impact

Any system with this package installed or running should be considered fully compromised. The attacker gains remote code execution capabilities through the downloaded native binary and secondary dropper. All secrets and keys stored on the compromised system are at risk and must be rotated immediately from a secure environment. Removal of the package alone does not guarantee eradication of the malicious software or attacker persistence.

Mitigation Recommendations

Remove the 'twork-data-services-sme-agent-company-relation' package version 20.5.3 immediately from all affected systems. Rotate all secrets, credentials, and keys that were stored or used on compromised systems from a different, trusted machine. Conduct a thorough investigation for persistence mechanisms or additional malware installed by the attacker. There is no official patch or fix available; remediation relies on removal and secret rotation.

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-12301
Osv Schema Version
1.7.4
Aliases
["GHSA-xp7w-qh77-w69x"]
Ecosystems
["npm"]

Threat ID: 6a74cfacbf8831d5391b216c

Added to database: 08/06/2026, 18:17:16 UTC

Last enriched: 08/06/2026, 19:19:57 UTC

Last updated: 09/07/2026, 23:04:51 UTC

Views: 25

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