Skip to main content
Mallory
Malware1 associated actor

Math_Symbol.js

Tracked since Aug 4, 2026 · Updated 4 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK26Techniques
IOCs5Tracked
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

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

View more details →
Shai-Hulud

Stage 2 – Payload (Math_Symbol.js, ~728 KB) ... Vol de credentials ... Autopropagation (worm) ... Malware / Outils # Math_Symbol.js (stealer)

via cyberveillecyberveille.ch
MITRE ATT&CK

Techniques & procedures

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

Initial Access

4 techniques
T1078.004Cloud AccountsEvidence1

Republiant via npm OIDC trusted publishing avec des attestations Sigstore/Fulcio/Rekor valides

T1195Supply Chain CompromiseEvidence3

Ricercatori di sicurezza hanno recentemente identificato una campagna di compromissione della supply chain software presente nell’ecosistema npm - denominata “ ChainDrop ” - che ha interessato oltre 400 pacchetti appartenenti a maintainer e organizzazioni differenti.

T1195.001Compromise Software Dependencies and Development ToolsEvidence3

Le evidenze finora disponibili per la campagna in oggetto, suggeriscono l’utilizzo, da parte degli attaccanti, di credenziali e/o token di accesso npm già compromessi in precedenza per perpetrare la pubblicazione di pacchetti npm opportunamente predisposti, consentendo agli attaccanti la capacità di distribuire versioni contenenti codice malevolo attraverso il registro ufficiale.

T1195.002Compromise Software Supply ChainEvidence1

Le compte maintainer Jaredwray a été compromis et utilisé pour publier des versions malveillantes... La compromission repose sur un hook preinstall (setup.mjs) ajouté au package.json.

Execution

3 techniques
T1059Command and Scripting InterpreterEvidence2

Execution: Used a preinstall hook to download the Bun runtime and execute the obfuscated Math_Symbol.js payload. | Downloads the Bun JavaScript runtime v1.3.13 directly from its official GitHub release page. Launches the second-stage payload via Bun.

T1059.007JavaScriptEvidence7

an obfuscated dropper that quietly pulls down the Bun runtime and uses it to execute a 728 KB payload called Math_Symbol.js

T1574Hijack Execution FlowEvidence2

в package.json появлялся preinstall-скрипт node setup.mjs. В результате вредонос запускался автоматически при выполнении npm install, еще до завершения установки пакета.

Persistence

3 techniques
T1078.004Cloud AccountsEvidence1

Republiant via npm OIDC trusted publishing avec des attestations Sigstore/Fulcio/Rekor valides

T1546Event Triggered ExecutionEvidence1

L’esecuzione del contenuto malevolo avviene durante la fase di installazione del pacchetto, prima del completamento della procedura npm.

T1556Modify Authentication ProcessEvidence1

Le credenziali ottenute vengono successivamente utilizzate per accedere a repository, servizi cloud e account npm, consentendo la pubblicazione automatizzata di ulteriori pacchetti compromessi per la diffusione della campagna verso nuovi bersagli.

Privilege Escalation

2 techniques
T1078.004Cloud AccountsEvidence1

Republiant via npm OIDC trusted publishing avec des attestations Sigstore/Fulcio/Rekor valides

T1546Event Triggered ExecutionEvidence1

L’esecuzione del contenuto malevolo avviene durante la fase di installazione del pacchetto, prima del completamento della procedura npm.

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence4

The loader downloads the Bun runtime, executes a heavily obfuscated second-stage payload ( Math_Symbol.js ), and sweeps the system for sensitive credentials.

T1078.004Cloud AccountsEvidence1

Republiant via npm OIDC trusted publishing avec des attestations Sigstore/Fulcio/Rekor valides

T1574Hijack Execution FlowEvidence2

в package.json появлялся preinstall-скрипт node setup.mjs. В результате вредонос запускался автоматически при выполнении npm install, еще до завершения установки пакета.

Defense Impairment

1 technique
T1556Modify Authentication ProcessEvidence1

Le credenziali ottenute vengono successivamente utilizzate per accedere a repository, servizi cloud e account npm, consentendo la pubblicazione automatizzata di ulteriori pacchetti compromessi per la diffusione della campagna verso nuovi bersagli.

Credential Access

9 techniques
T1003OS Credential DumpingEvidence1

It harvests npm registry authentication tokens from .npmrc files ... and AWS access keys and session tokens directly from the ~/.aws/credentials file.

T1528Steal Application Access TokenEvidence4

The worm self-propagated to more than 400 packages in under four hours by stealing npm tokens and republishing infected versions. Credential harvesting The payload performs a broad sweep of the infected environment, targeting: npm tokens from ~/.npmrc, environment variables (NPM_TOKEN), and CI runner contexts. GitHub credentials such as PATs, GITHUB_TOKEN, and OIDC tokens from runner memory.

T1552Unsecured CredentialsEvidence2

The loader downloads the Bun runtime, executes a heavily obfuscated second-stage payload ( Math_Symbol.js ), and sweeps the system for sensitive credentials.

T1552.001Credentials In FilesEvidence4

Vol de credentials... Kubernetes service account tokens, npm tokens, GitHub Actions OIDC... Sweep regex style TruffleHog sur le disque pour clés génériques, bearer tokens, blocs de clés privées

T1552.003Shell HistoryEvidence1

The malware also attempts to capture HashiCorp Vault client tokens by reading the VAULT_TOKEN environment variable

T1552.005Cloud Instance Metadata APIEvidence2

Vol de credentials : AWS (IMDS, credential chains, Secrets Manager)

T1555Credentials from Password StoresEvidence8

The payload performs a broad sweep of the infected environment, targeting: AWS credentials from ~/.aws/credentials... Kubernetes credentials from ~/.kube/config... SSH keys from ~/.ssh/.

T1556Modify Authentication ProcessEvidence1

Le credenziali ottenute vengono successivamente utilizzate per accedere a repository, servizi cloud e account npm, consentendo la pubblicazione automatizzata di ulteriori pacchetti compromessi per la diffusione della campagna verso nuovi bersagli.

T1649Steal or Forge Authentication CertificatesEvidence5

Una volta eseguito, il malware raccoglie informazioni e credenziali presenti sul sistema locale, incluse variabili d’ambiente, token npm, token GitHub, chiavi SSH, credenziali cloud e segreti utilizzati nelle pipeline di automazione.

Discovery

1 technique
T1526Cloud Service DiscoveryEvidence3

Query the npm registry to enumerate all packages that are owned or writable by that token.

Lateral Movement

1 technique
T1570Lateral Tool TransferEvidence1

Researchers also observed worm-like behavior designed to infect additional npm packages belonging to maintainers who installed compromised dependencies, allowing the campaign to expand rapidly across the ecosystem.

Command and Control

2 techniques
T1071.004DNSEvidence1

DomainSender : résout des destinations via DNS et envoie les données chiffrées

T1105Ingress Tool TransferEvidence2

The loader downloads the Bun runtime, executes a heavily obfuscated second-stage payload ( Math_Symbol.js ), and sweeps the system for sensitive credentials.

Exfiltration

3 techniques
T1041Exfiltration Over C2 ChannelEvidence2

The stolen information is sent out of the victim environment, after which publishing access is used to alter package archives, raise their version numbers, and release them again.

T1567Exfiltration Over Web ServiceEvidence2

The malware encrypted collected data before exfiltrating it to a public GitHub repository.

T1567.001Exfiltration to Code RepositoryEvidence3

Primary - GitHub dead-drop repositories: The worm uses the victim’s own GitHub token to create a new public repository under their identity.

Impact

1 technique
T1496Resource HijackingEvidence1

🪱 Autopropagation (worm) # Le payload se propage en : Découvrant les packages du maintainer via l’API npm... injectant le hook malveillant et les fichiers payload

Indicators of compromise

Observables

5 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 matching5Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups 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 mapping26Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.