rebranding

This commit is contained in:
2026-05-25 22:49:37 -04:00
parent b62ab77fbe
commit 3d246af3f7
210 changed files with 1307 additions and 712 deletions

View File

@@ -10,9 +10,9 @@ describe("checkUrlForPhishing", () => {
});
it("should detect known phishing domains", () => {
const result = checkUrlForPhishing("https://shieldai-secure.com/login");
const result = checkUrlForPhishing("https://kordant-secure.com/login");
expect(result.isPhishing).toBe(true);
expect(result.reasons).toContain("Known phishing domain: shieldai-secure.com");
expect(result.reasons).toContain("Known phishing domain: kordant-secure.com");
});
it("should detect suspicious URL patterns", () => {
@@ -23,7 +23,7 @@ describe("checkUrlForPhishing", () => {
it("should detect phishing with multiple signals for high confidence", () => {
const result = checkUrlForPhishing(
"https://shieldai-verify.com/account-update/verify",
"https://kordant-verify.com/account-update/verify",
);
expect(result.isPhishing).toBe(true);
expect(result.confidence).toBeGreaterThan(0.5);
@@ -37,12 +37,12 @@ describe("checkUrlForPhishing", () => {
});
it("should detect phishing with subdomain of known domain", () => {
const result = checkUrlForPhishing("https://login.shieldai-secure.com");
const result = checkUrlForPhishing("https://login.kordant-secure.com");
expect(result.isPhishing).toBe(true);
});
it("should not flag legitimate shieldai.com URLs", () => {
const result = checkUrlForPhishing("https://api.shieldai.com/api/trpc");
it("should not flag legitimate kordant.ai URLs", () => {
const result = checkUrlForPhishing("https://api.kordant.ai/api/trpc");
expect(result.isPhishing).toBe(false);
});
});