diff --git a/src/components/routes/submission/detail.tsx b/src/components/routes/submission/detail.tsx index 316f816da..0cb2dc205 100644 --- a/src/components/routes/submission/detail.tsx +++ b/src/components/routes/submission/detail.tsx @@ -125,7 +125,7 @@ export default function SubmissionDetail() { // #1: Get heuristic score if (section.heuristic.score < 0) { hType = 'safe'; - } else if (section.heuristic.score < 100) { + } else if (section.heuristic.score < 300) { hType = 'info'; } else if (section.heuristic.score < 1000) { hType = 'suspicious'; diff --git a/src/helpers/utils.ts b/src/helpers/utils.ts index 4e7965b6a..08ccb5cb0 100644 --- a/src/helpers/utils.ts +++ b/src/helpers/utils.ts @@ -11,13 +11,13 @@ export function scoreToVerdict(score: number | null) { return 'malicious'; } - // Between 500 - 999 => highly suspicious - if (score >= 500) { + // Between 700 - 999 => Highly suspicious + if (score >= 700) { return 'highly_suspicious'; } - // Between 100 - 999 => suspicious - if (score >= 100) { + // Between 300 - 699 => Suspicious + if (score >= 300) { return 'suspicious'; } @@ -26,7 +26,7 @@ export function scoreToVerdict(score: number | null) { return 'safe'; } - // Between 0 and 99 => Unknown + // Between 0 and 299 => Informational return 'info'; }