Emerging Threathighexperimental

TanStack Supply-Chain Attack Execution Indicators - Linux

Detects process execution indicators associated with the Mini Shai-Hulud supply-chain campaign targeting TanStack npm packages and others such as mistralai and uipath reported on early May 2026. The preinstall hook runs setup.mjs, which downloads a platform-specific Bun runtime.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Leonardo GaspariniCreated Tue May 123c6f5e4a-8d0b-6abc-d9e2-4f7a6b8c9d0e2026
Emerging Threat
Active Threat

Developed to detect an active or emerging threat. Prioritize investigation of any alerts and correlate with threat intelligence.

Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_bun_runner:
        Image|endswith: '/bun'
        CommandLine|contains|all:
            - 'bun'
            - 'run'
            - 'tanstack_runner.js'
    selection_pypi_payload:
        # observed on guardrails-ai@0.10.1 compromise
        Image|contains: '/python3'
        CommandLine|contains: '/tmp/transformers.pyz'
    condition: 1 of selection_*
False Positives
Unlikely

False positives are unlikely for most environments. High confidence detection.

MITRE ATT&CK
Rule Metadata
Rule ID
3c6f5e4a-8d0b-6abc-d9e2-4f7a6b8c9d0e
Status
experimental
Level
high
Type
Emerging Threat
Created
Tue May 12
Path
rules-emerging-threats/2026/Malware/TanStack-Supply-Chain/proc_creation_lnx_malware_tanstack_supply_chain.yml
Raw Tags
attack.executionattack.t1059.007attack.t1059.006attack.t1204.002detection.emerging-threats
View on GitHub