Skip to content

Commit b671df2

Browse files
committed
Update mal_npm_supply_chain_sep25.yar
1 parent 59904ad commit b671df2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

yara/mal_npm_supply_chain_sep25.yar

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ rule MAL_JS_NPM_SupplyChain_Compromise_Sep25 {
3333
$sb1 = " | base64 -w 0 | " ascii
3434
$sb2 = " | base64 -w0)"
3535
condition:
36-
1 of ($sa*)
37-
and 1 of ($sb*)
38-
or 1 of ($x*)
36+
filesize < 20MB
37+
and 1 of ($x*)
38+
or (
39+
1 of ($sa*)
40+
and 1 of ($sb*)
41+
)
3942
}

0 commit comments

Comments
 (0)