Axios NPM Compromise Indicators - macOS

Detects the macOS-specific execution chain of the plain-crypto-js malicious npm dependency in Axios NPM Package, including AppleScript execution via osascript, payload download, permission modification, execution, and cleanup.

Sigma rule (View on GitHub)

 1title: Axios NPM Compromise Indicators - macOS
 2id: a09ee860-31b3-4586-8a68-0ebd74ce0e5f
 3status: experimental
 4description: |
 5        Detects the macOS-specific execution chain of the plain-crypto-js malicious npm dependency in Axios NPM Package, including AppleScript execution via osascript, payload download, permission modification, execution, and cleanup.
 6author: Swachchhanda Shrawan Poudel (Nextron Systems)
 7references:
 8    - https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan
 9    - https://www.derp.ca/research/axios-npm-supply-chain-rat/
10    - https://www.trendmicro.com/zh_hk/research/26/c/axios-npm-package-compromised.html
11    - https://www.elastic.co/security-labs/axios-supply-chain-compromise-detections
12    - https://www.virustotal.com/gui/file/e10b1fa84f1d6481625f741b69892780140d4e0e7769e7491e5f4d894c2e0e09
13date: 2026-04-01
14tags:
15    - attack.initial-access
16    - attack.t1195.002
17    - attack.execution
18    - attack.command-and-control
19    - attack.t1059.002
20    - attack.t1059.004
21    - attack.t1105
22    - detection.emerging-threats
23logsource:
24    category: process_creation
25    product: macos
26detection:
27    selection_osascript:
28        CommandLine|contains|all:
29            - 'nohup '
30            - 'osascript '
31            - '/tmp/6202033'
32    selection_curl_download:
33        CommandLine|contains|all:
34            - 'curl '
35            - 'packages.npm.org/product'
36            - '/Library/Caches/com.apple.act.mond'
37    selection_cleanup:
38        CommandLine|contains|all:
39            - 'rm '
40            - '-rf '
41            - '/tmp/6202033'
42    condition: 1 of selection_*
43falsepositives:
44    - Unlikely
45level: high

References

Related rules

to-top