Emerging Threatmediumexperimental

TanStack Supply-Chain Attack File Creation Indicators - Linux

Detects file creation 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.

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 122b5e4d3f-7c9a-4fab-a8d1-3e6f5a7b8c9d2026
Emerging Threat
Active Threat

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

Log Source
LinuxFile Event
ProductLinux← raw: linux
CategoryFile Event← raw: file_event

Events for file system activity including creation, modification, and deletion.

Detection Logic
Detection Logic3 selectors
detection:
    selection_malware_files:
        TargetFilename|endswith:
            - '/router_init.js'
            - '/tanstack_runner.js'
    selection_persistence_claude_vscode:
        TargetFilename|endswith:
            - '/.claude/router_runtime.js'
            - '/.vscode/router_runtime.js'
    selection_pypi_payload:
        TargetFilename: '/tmp/transformers.pyz'
    condition: 1 of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
2b5e4d3f-7c9a-4fab-a8d1-3e6f5a7b8c9d
Status
experimental
Level
medium
Type
Emerging Threat
Created
Tue May 12
Path
rules-emerging-threats/2026/Malware/TanStack-Supply-Chain/file_event_lnx_malware_tanstack_supply_chain.yml
Raw Tags
attack.initial-accessattack.t1195.002attack.executionattack.t1059.007attack.persistenceattack.privilege-escalationattack.t1547.004detection.emerging-threats
View on GitHub