Skip to content

Commit 2cf2ec9

Browse files
committed
Add AsyncAPI npm compromise NodeJS masquerade detections
1 parent bc43378 commit 2cf2ec9

3 files changed

Lines changed: 87 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
title: AsyncAPI - NodeJS Masquerade Directory File (Linux)
2+
id: 653e415a-6576-4e06-8674-96baab0b2c51
3+
status: experimental
4+
description: |
5+
Detects file creation in ~/.local/share/NodeJS, the Linux masquerade directory used by the AsyncAPI npm supply chain compromise.
6+
Broadened beyond the known sync.js filename to catch campaign variants that may use a different filename but same directory masquerade technique.
7+
references:
8+
- https://www.microsoft.com/en-us/security/blog/2026/07/15/unpacking-asyncapi-npm-supply-chain-compromise-import-time-payload-delivery/
9+
- https://securitylabs.datadoghq.com/articles/compromised-asyncapi-npm-packages/
10+
author: Finn Ashby
11+
date: 2026-07-17
12+
tags:
13+
- attack.defense-evasion
14+
- attack.t1036
15+
- attack.t1195.002
16+
- detection.emerging-threats
17+
logsource:
18+
category: file_event
19+
product: linux
20+
detection:
21+
selection:
22+
TargetFilename|contains: '/.local/share/NodeJS/'
23+
condition: selection
24+
fields:
25+
- TargetFilename
26+
- Image
27+
falsepositives:
28+
- Legitimate software creating files in ~/.local/share/NodeJS
29+
level: medium
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
title: AsyncAPI - NodeJS Masquerade Directory File (macOS)
2+
id: b8dacebb-4171-43a2-b1aa-f2173606ccb5
3+
status: experimental
4+
description: |
5+
Detects file creation in ~/Library/Application Support/NodeJS, the macOS masquerade directory used by the AsyncAPI npm supply chain compromise.
6+
Broadened beyond the known sync.js filename to catch campaign variants that may use a different filename but same directory masquerade technique.
7+
references:
8+
- https://www.microsoft.com/en-us/security/blog/2026/07/15/unpacking-asyncapi-npm-supply-chain-compromise-import-time-payload-delivery/
9+
- https://securitylabs.datadoghq.com/articles/compromised-asyncapi-npm-packages/
10+
author: Finn Ashby
11+
date: 2026-07-17
12+
tags:
13+
- attack.defense-evasion
14+
- attack.t1036
15+
- attack.t1195.002
16+
- detection.emerging-threats
17+
logsource:
18+
category: file_event
19+
product: macos
20+
detection:
21+
selection:
22+
TargetFilename|contains: '/Library/Application Support/NodeJS/'
23+
condition: selection
24+
fields:
25+
- TargetFilename
26+
- Image
27+
falsepositives:
28+
- Legitimate software creating files in ~/Library/Application Support/NodeJS
29+
level: medium
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
title: AsyncAPI - NodeJS Masquerade Directory File (Windows)
2+
id: 76601436-e854-4a4d-9d86-19c74680bac3
3+
status: experimental
4+
description: |
5+
Detects file creation in %LOCALAPPDATA%\NodeJS, the Windows masquerade directory used by the AsyncAPI npm supply chain compromise.
6+
Broadened beyond the known sync.js filename to catch campaign variants that may use a different filename but same directory masquerade technique.
7+
references:
8+
- https://www.microsoft.com/en-us/security/blog/2026/07/15/unpacking-asyncapi-npm-supply-chain-compromise-import-time-payload-delivery/
9+
- https://securitylabs.datadoghq.com/articles/compromised-asyncapi-npm-packages/
10+
author: Finn Ashby
11+
date: 2026-07-17
12+
tags:
13+
- attack.defense-evasion
14+
- attack.t1036
15+
- attack.t1195.002
16+
- detection.emerging-threats
17+
logsource:
18+
category: file_event
19+
product: windows
20+
detection:
21+
selection:
22+
TargetFilename|contains: '\AppData\Local\NodeJS\'
23+
condition: selection
24+
fields:
25+
- TargetFilename
26+
- Image
27+
falsepositives:
28+
- Legitimate software creating files in %LOCALAPPDATA%\NodeJS
29+
level: medium

0 commit comments

Comments
 (0)