Skip to main content

Malicious code in dakumangalsingh (npm)

0
Critical
Published: 08/12/2026 (08/12/2026, 12:39:55 UTC)
Source: GCVE Database
Product: dakumangalsingh

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (502c2aae77a471762612a5114d299651b7e75571d5c6d9dd5665a3dc2c503327) package.json declares a postinstall hook that executes a bundled Windows PE launcher (DakuMangalSingh\DakuMangalSingh.exe) at npm install time. The launcher is a jpackage wrapper that loads an embedded JAR named virus.jar containing classes Main, Executor, BatchExecutor, Fetch, RobotService (java.awt.Robot input synthesis), Screenshort (screen capture), and DeviceId (host fingerprinting) — the shape of a remote-command agent with screen-capture and input-synthesis capability. A bundled replicate.bat installs persistence by creating a shortcut to the dropped executable in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup so the payload auto-runs at every user logon. A cleanup.bat kills the process and recursively deletes the package folder, providing anti-forensics on the installer's host. Installing the package on Windows results in immediate arbitrary code execution, a persistent logon-triggered agent, and evidence-removal tooling — with no legitimate library functionality.

Affected software

npmghsa
dakumangalsingh
Affected versions
=1.0.1=1.0.0=1.1.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/12/2026, 16:53:53 UTC

Technical Analysis

The 'dakumangalsingh' npm package declares a postinstall hook that runs a bundled Windows PE executable at install time. This executable is a jpackage wrapper loading an embedded Java JAR named virus.jar, which contains classes enabling remote command execution, screen capture, input synthesis via java.awt.Robot, and host fingerprinting. A replicate.bat script creates persistence by adding a shortcut to the executable in the Windows startup folder, ensuring the payload runs at each user logon. A cleanup.bat script is included to kill the process and delete the package folder recursively, facilitating anti-forensics. The package provides no legitimate library functionality and results in immediate arbitrary code execution and persistent compromise on Windows hosts.

Potential Impact

Installing this package on a Windows system results in immediate arbitrary code execution with high privileges, persistent remote access via a command-and-control agent, screen capture and input synthesis capabilities, host fingerprinting, and the ability to remove traces of the infection. This compromises system confidentiality, integrity, and availability.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing the 'dakumangalsingh' package. Remove any installations of this package immediately and scan affected systems for persistence mechanisms and malicious artifacts. Monitor for suspicious startup shortcuts and unexpected executables in user application data folders. Since this is a malicious package with no legitimate functionality, blocking or blacklisting the package name in npm registries is recommended.

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

Threat ID: 6a7c9b46bf8831d539cdd27f

Added to database: 08/12/2026, 16:11:50 UTC

Last enriched: 08/12/2026, 16:53:53 UTC

Last updated: 09/24/2026, 21:28:51 UTC

Views: 17

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