Skip to main content

Malicious code in easydsbots (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 06:28:27 UTC)
Source: GCVE Database
Product: easydsbots

Description

The easydsbots npm package version 1.0.0 contains malicious code that executes with root privileges during installation. It uses an obfuscated install script triggered by a postinstall lifecycle hook that runs 'sudo node install.js', hiding its true behavior. The package also includes obfuscated runtime code and dependencies that enable it to register systemd or init.d services, indicating it attempts to install a persistent root-level daemon on the host system.

Affected software

npmghsa
easydsbots
Affected versions
=1.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/19/2026, 14:23:23 UTC

Technical Analysis

The easydsbots npm package (version 1.0.0) declares a postinstall script that runs 'sudo node install.js', escalating privileges to root during installation. The install.js script is heavily obfuscated using techniques such as rotated string arrays, hex-encoded property lookups, control-flow flattening, and self-defending stubs to conceal its behavior. The runtime code (index.js) is similarly obfuscated and decodes base64 strings at runtime. It checks for the 'INVOCATION_ID' environment variable, which is set when launched by systemd, and depends on the 'node-linux' library to register systemd or init.d service units. This combination strongly indicates the package attempts to install a root-persistent daemon on the host system during npm install, representing a malicious package designed for stealthy persistence.

Potential Impact

Installation of easydsbots version 1.0.0 can lead to unauthorized root-level code execution on the host system. The malicious postinstall script runs with escalated privileges, potentially allowing attackers to install persistent daemons that survive reboots and maintain control over the compromised system. This poses a significant risk of system compromise, data theft, or further malware deployment.

Mitigation Recommendations

No official patch or remediation is currently documented for this package. Users should avoid installing easydsbots version 1.0.0. Audit existing systems for presence of this package and remove it if found. Monitor for unauthorized systemd or init.d service files that may have been installed. Exercise caution with npm packages that execute scripts with elevated privileges during installation. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

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-14265
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a85b4bfacd9273b49252355

Added to database: 08/19/2026, 13:50:55 UTC

Last enriched: 08/19/2026, 14:23:23 UTC

Last updated: 10/02/2026, 13:52:00 UTC

Views: 22

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