← Back to blog

Compromised Joyfill npm Packages Deliver Remote Access Trojan

Malicious beta versions of Joyfill layout and component libraries execute encrypted RAT payloads upon import. These packages target developers using the popular Node.js ecosystem.

TL;DR

  • Two @joyfill npm packages were backdoored with DEV#POPPER RAT malware
  • Affected versions: @joyfill/layouts@0.1.2-2773.beta.0 and @joyfill/components@4.0.0-rc24-2773-beta.4
  • Malware executes automatically when packages are imported into Node.js projects
  • Attack targets developers through legitimate package distribution channels
  • Organizations should audit dependencies and monitor for suspicious network activity

Security analysts have identified malicious code embedded within beta releases of two popular npm packages belonging to the @joyfill namespace. These compromised libraries automatically execute remote access trojan (RAT) functionality when imported into Node.js projects, representing a significant supply chain risk for development teams.

The affected packages leverage encrypted payload delivery mechanisms that activate during the module import process. This attack vector demonstrates how threat actors continue to exploit trusted software repositories to distribute malware directly into developer workflows and production environments.

Technical Attack Details

  • Compromised packages use import-time JavaScript implants to resolve and execute encrypted malicious code
  • The malware belongs to the DEV#POPPER remote access trojan family, known for establishing persistent backdoors
  • Payloads are designed to run automatically during the normal application startup process
  • Encryption obfuscation makes static analysis more difficult for automated security tools

Impact and Recommendations

  • Development teams using affected package versions should immediately remove and replace them
  • Organizations should review dependency trees for the specific compromised version identifiers
  • Security teams should monitor network traffic for unusual outbound connections from Node.js applications
  • Implementing software composition analysis tools can help detect future supply chain compromises
  • Establishing dependency pinning strategies reduces exposure to malicious package updates

Sources

Sources

Security email updates

One digest email when we publish new security articles (TL;DR plus links to read more). Unsubscribe anytime from the message footer. See our Privacy Policy.