fix: log message for projects passing phishing checks
This commit is contained in:
@@ -813,6 +813,8 @@ Set confidence to 100 only if you are absolutely certain it's phishing.`,
|
|||||||
signale.warn(
|
signale.warn(
|
||||||
`[PHISHING] Detected phishing content for project ${projectId} - Confidence: ${confidence}% - Reason: ${result.reason}`,
|
`[PHISHING] Detected phishing content for project ${projectId} - Confidence: ${confidence}% - Reason: ${result.reason}`,
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
signale.warn(`[PHISHING] Passed phishing check for project: ${projectId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Auto-disable project if 100% confidence
|
// Auto-disable project if 100% confidence
|
||||||
|
|||||||
Reference in New Issue
Block a user