Skip to content

Commit 60e8525

Browse files
committed
Fix the following tests
1 parent e2a9022 commit 60e8525

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/npm/2024.discord-api-ts/postinstall.js.simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# npm/2024.discord-api-ts/postinstall.js: critical
1+
# npm/2024.discord-api-ts/postinstall.js: high
22
anti-behavior/random_behavior: low
33
anti-static/obfuscation/bool: medium
44
anti-static/obfuscation/hex: medium

tests/npm/2024.noblox/postinstall.js.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,8 +2046,8 @@
20462046
"return _0xc65b7",
20472047
"return _0xa137f"
20482048
],
2049-
"RiskScore": 4,
2050-
"RiskLevel": "CRITICAL",
2049+
"RiskScore": 3,
2050+
"RiskLevel": "HIGH",
20512051
"RuleURL": "https://github.com/chainguard-dev/malcontent/blob/main/rules/anti-static/obfuscation/js.yara#js_hex_obfuscation",
20522052
"ID": "anti-static/obfuscation/js",
20532053
"RuleName": "js_hex_obfuscation"
@@ -2291,8 +2291,8 @@
22912291
"RuleName": "exclamations"
22922292
}
22932293
],
2294-
"RiskScore": 4,
2295-
"RiskLevel": "CRITICAL"
2294+
"RiskScore": 3,
2295+
"RiskLevel": "HIGH"
22962296
}
22972297
}
22982298
}

tests/npm/2024.nvmfix/config.js.simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# npm/2024.nvmfix/config.js: critical
1+
# npm/2024.nvmfix/config.js: high
22
anti-static/obfuscation/hex: medium
33
anti-static/obfuscation/js: high
44
c2/addr/url: medium

0 commit comments

Comments
 (0)