Skip to main content
Mallory
Malware2 associated actors

npm-builders

Tracked since Mar 18, 2026 · Updated 9 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK10Techniques
IOCs2Tracked
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Lazarus

npm-builders version 1.0.8, an unobfuscated sample that cleanly represents the techniques used in the majority of the npm malware leveraged in Contagious Trader.

via kmseckmsec.uk
Contagious Interview

npm-builders version 1.0.8, an unobfuscated sample that cleanly represents the techniques used in the majority of the npm malware leveraged in Contagious Trader.

via kmseckmsec.uk
MITRE ATT&CK

Techniques & procedures

10 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1195Supply Chain CompromiseEvidence1

The npm malware is fairly consistent across repositories ... The table below shows a variety of trading bot repositories and their malicious npm dependencies.

Execution

2 techniques
T1053Scheduled Task/JobEvidence1

The infection chain is invoked by a postinstall script that executes /test.js , which invokes the malicious from_str() function.

T1059Command and Scripting InterpreterEvidence1

On Windows, it uses wmic to enumerate local disks. On Linux systems, it creates a backdoor by appending an SSH public key to the user’s ~/.ssh/authorized_keys file. It also permits SSH (port 22) using ufw.

Persistence

3 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

On Linux systems, it creates a backdoor by appending an SSH public key to the user’s ~/.ssh/authorized_keys file.

T1053Scheduled Task/JobEvidence1

The infection chain is invoked by a postinstall script that executes /test.js , which invokes the malicious from_str() function.

T1098.004SSH Authorized KeysEvidence1

On Linux systems, it creates a backdoor by appending an SSH public key to the user’s ~/.ssh/authorized_keys file. It also permits SSH (port 22) using ufw.

Privilege Escalation

3 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

On Linux systems, it creates a backdoor by appending an SSH public key to the user’s ~/.ssh/authorized_keys file.

T1053Scheduled Task/JobEvidence1

The infection chain is invoked by a postinstall script that executes /test.js , which invokes the malicious from_str() function.

T1098.004SSH Authorized KeysEvidence1

On Linux systems, it creates a backdoor by appending an SSH public key to the user’s ~/.ssh/authorized_keys file. It also permits SSH (port 22) using ufw.

Stealth

1 technique
T1027Obfuscated Files or InformationEvidence1

The following other trading themed repositories implement similar encoded exfiltration endpoint implementations ... Base64-encoded exfiltration endpoint ... Some trading bots utilise a really neat method to exfiltrate data with some good misdirection to evade a cursory glance.

Discovery

2 techniques
T1082System Information DiscoveryEvidence1

npm malware capabilities Retrieves the victim’s IP using api.ipify[.]org ... On Windows, it uses wmic to enumerate local disks.

T1083File and Directory DiscoveryEvidence1

Scans the victim’s filesystem using a dynamic pattern retrieved from the exfiltration server ... Here is the scan patterns response: { "scanPatterns" :[ ".env" , ".bash_history" , "ConsoleHost_history.txt" ]}

Command and Control

1 technique
T1105Ingress Tool TransferEvidence1

The SSH key is retrieved dynamically from the exfiltration server ... Path Purpose / (root) Returns the actor’s SSH key to be added /api/scan-patterns Scan patterns for enumerating files to steal /api/block-patterns Blocklist of patterns when enumerating files.

Exfiltration

1 technique
T1567Exfiltration Over Web ServiceEvidence1

The infection vector can vary: Direct exfiltration to HTTP endpoint ... Direct exfiltration to an actor-controlled database ... The Base64-encoded content is http://65.109.25[.]6:6000/api/polymarket-copytrading-bot-api-key/validate.

Indicators of compromise

Observables

2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching2Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping10Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.