Malware in tinymask-js
Malware was discovered in the npm package tinymask-js. Systems with this package installed are considered fully compromised and require immediate remediation including secret rotation and package removal.
- Disclosed
- Last updated
- Blast radius
- Any system with tinymask-js installed or running
- Ecosystems
- Attack vectors
- Affected entities
- tinymask-jsnpm package containing malware
A critical malware incident was identified in the npm package tinymask-js. According to the GitHub Advisory (GHSA-993g-jhvm-h79j), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the malicious package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the initial compromise, given that the attacker may have gained full control of the system.\n\nAffected users should treat their systems as potentially fully compromised and take appropriate incident response measures.
Indicators of compromise
- Packages
- tinymask-js
Remediation
- Immediately rotate all secrets and keys from a different, uncompromised computer
- Remove the tinymask-js package from all affected systems
- Conduct a full security audit and forensic analysis of any system that had tinymask-js installed
- Monitor affected systems for signs of persistent malware or unauthorized access
- Consider rebuilding or replacing systems that had this package installed, as full removal of malware cannot be guaranteed
Sources
- GitHub Advisory GHSA-993g-jhvm-h79j · GitHub Advisory Database
Cite this entry
"Malware in tinymask-js." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 27, 2026; last updated July 27, 2026. https://supplychainattack.org/incident/malware-in-tinymask-js-80hkkm
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- activecritical
Malware in edu-npm-dependency-chain-demo
Malware discovered in the npm package edu-npm-dependency-chain-demo. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in roblox-api-client
Malware was discovered in the npm package roblox-api-client, resulting in full system compromise for any computer with the package installed or running. The advisory recommends immediate removal of the package and rotation of all secrets and keys from a different computer.
npmCompromised package - containedcritical
Malware in jextic-eclib
Malware was discovered in the npm package jextic-eclib, resulting in full system compromise of any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.
npmCompromised package - activecritical
Malware in @thone33/analytics-injector
Malware discovered in the npm package @thone33/analytics-injector. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package