function-color
- Type
- Loader
- Platforms
- Windows
function-color is a malicious npm package used as a dependency wrapper in the MALFEX software supply-chain campaign targeting Windows systems. It contains no malicious payload of its own; instead, it installs function-flag, whose malicious installation-time behavior downloads and executes a Windows executable. The downstream executable in the analyzed function-flag delivery chain was not recovered, so its capabilities remain undetermined. This chain is distinct from other MALFEX delivery paths distributing Overlord RAT and the movinlike information stealer. No geographic or industry-specific targeting has been established.
function-color was also used in an attempted compromise of an AI coding agent through a planted local instruction file. Disguised as routine engineering guidance, the instructions directed OpenAI Codex to install the package and separately configure an attacker-controlled server for subsequent sessions. The observed installation attempt was blocked before malicious code executed, and the instruction file's original delivery mechanism was not established. The persistent agent-configuration changes belong to the surrounding attack rather than demonstrated functionality of function-color itself. The package was subsequently removed from npm.
Techniques & procedures
2 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
« Le paquet npm function-color (depuis retiré de npm) est le payload utilisé dans la campagne réelle ».
Execution
1 technique
Execution
« Le fichier malveillant réel a conduit Codex à installer le paquet npm malveillant function-color » ; « l’exécution de code arbitraire via des tool calls injectés ».
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.