A sophisticated software supply chain attack has been identified within the npm ecosystem, targeting developers using the Joyfill digital form-building platform. Security researchers at Sonatype discovered a malicious package named joyfill-fe-bel on July 29, 2026. This package is a typosquat, designed to be mistaken for a legitimate Joyfill component. When installed, it executes a malicious postinstall script that initiates a multi-stage infection chain. The final payload deploys a Remote Access Trojan (RAT), giving attackers persistent control over the compromised developer's machine, and a potent credential stealer that actively hunts for and exfiltrates sensitive developer secrets.
joyfill-fe-belThis attack leverages the trust developers place in open-source package registries. By creating a package with a name very similar to a legitimate one, attackers trick developers or automated build systems into downloading and executing malicious code. The use of a postinstall script is a common technique to ensure the malicious code runs automatically upon installation.
The infection chain proceeds in multiple stages:
joyfill-fe-bel package via the command npm install joyfill-fe-bel. This is a classic example of T1192 - Spearphishing Link adapted for package managers.T1059.007 - JavaScript): Upon installation, npm automatically executes the postinstall script defined in the package's package.json file. This script contains obfuscated JavaScript code.T1105 - Ingress Tool Transfer): The obfuscated script makes an HTTP request to a remote, attacker-controlled server to download the second-stage payload. This technique helps evade static analysis of the initial package.T1552 - Unsecured Credentials): The stealer is designed to find and exfiltrate:wallet.dat).~/.ssh)..bash_history, .zsh_history).Compromising a developer machine is a high-impact event that can lead to catastrophic consequences:
joyfill-fe-belNo other specific Indicators of Compromise were provided in the source articles.
To detect similar supply chain attacks, security teams should hunt for:
postinstall Scripts: Audit package.json files for postinstall scripts that contain obfuscated code or make network connections to unknown domains.npm install or build processes. Outbound connections to unusual or non-whitelisted domains are a major red flag.npm) spawning unexpected child processes, such as curl, wget, or shell scripts.postinstall scripts) in your dependencies.npm-audit to check for known vulnerabilities. This aligns with M1039 - Environment Variable Permissions in a broader sense of configuration hardening.@joyfill/some-package instead of joyfill-some-package). Scoped packages are less susceptible to typosquatting.postinstall Scripts: For untrusted packages, you can disable the execution of postinstall scripts by using the --ignore-scripts flag during installation (npm install --ignore-scripts).Use private registries and vetted dependencies to limit exposure to malicious public packages.
Run build processes in isolated, ephemeral containers to limit the impact of a compromised dependency.
Use Software Composition Analysis (SCA) tools to audit dependencies for malicious indicators.
Disable automatic execution of install scripts for untrusted packages using flags like '--ignore-scripts'.
Security researchers at Sonatype discover and report the malicious 'joyfill-fe-bel' npm package.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.