demo-awesome-date-formater-test@0.0.6
Malicious code in demo-awesome-date-formater-test (npm)
Analysis
Package demo-awesome-date-formater-test@0.0.6 is a typosquat that depends on the known-malicious package demo-awesome-date-parser-test@0.0.6. The formater package is a heavily obfuscated thin wrapper that does nothing except import and re-export the malicious dependency. The dependency (demo-awesome-date-parser-test) contains a 143KB javascript-obfuscator payload that monitors clipboard content and injects client-side code, using base64-js, jquery, and moment as cover dependencies. The require path in the formater code ('demo-awesome-date-parser') does not match the declared dependency name, confirming the typosquat/dependency-confusion attack pattern.
- analyzed by
- Leitwacht
- first seen
- Jul 27, 2026, 09:29 AM
- analyzed
- Jul 27, 2026, 09:31 AM
Related advisories
- vscode-designer-14@14.0.1
- dateuuidv2@1.0.0
- dynstrg-howto@1.0.1
- compress-edge@1.0.0
- page-navigation@1.0.1
- xo-member-components@28.0.0
- merchantprefsservice-paypal@28.0.0
- identityauthorizationserv@28.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.