Malicious code in cat-embed-i18n-res (npm)
Description
The npm package cat-embed-i18n-res version 1.0.0 contains malicious code disguised as an internationalization resource. Instead of legitimate localized text, its strings.json file includes HTML/JavaScript payloads that execute cross-site scripting (XSS) attacks when rendered as HTML. These payloads send the user's session cookies and domain information to a remote endpoint, potentially compromising user sessions.
Affected software
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
Technical Analysis
The cat-embed-i18n-res npm package version 1.0.0 ships a strings.json file intended as an i18n translation resource but actually contains malicious HTML/JavaScript XSS payloads. These payloads use event handlers such as <img src=x onerror=...> and <svg onload=...> to execute JavaScript that sends document.domain and document.cookie to https://notpismo.cloud/c. Any application rendering these strings as HTML will inadvertently execute the script, exposing user session cookies and domain data to the attacker-controlled endpoint. The package name and resource framing serve as a disguise for the malicious payload, with no legitimate localization content present.
Potential Impact
If an application uses this package and renders the strings.json content as HTML, it will execute the embedded scripts in the end user's browser. This results in the theft of session cookies and domain information, which can lead to session hijacking and unauthorized access to user accounts or sensitive data. The compromise affects users of applications that incorporate this malicious package version 1.0.0.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove or avoid using cat-embed-i18n-res version 1.0.0. Applications should never render untrusted i18n resource content as HTML without proper sanitization. Monitor vendor advisories for updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14471
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a8d9ae8acd9273b493e17c1
Added to database: 08/25/2026, 13:38:48 UTC
Last enriched: 09/10/2026, 18:32:37 UTC
Last updated: 10/02/2026, 14:22:15 UTC
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.