From f56e5566621f83a53d1db5225a43ccbae516b7bd Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Thu, 30 Oct 2025 10:17:45 +0530 Subject: [PATCH] fix: remove generic rules --- default-config.json | 4 ++-- package.json | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/default-config.json b/default-config.json index 981f530..618ea3b 100644 --- a/default-config.json +++ b/default-config.json @@ -11,8 +11,8 @@ "flags": "gi" }, { - "name": "Generic API Key (20+ chars)", - "pattern": "[A-Za-z0-9_-]{20,}", + "name": "JWT", + "pattern": "eyJ[A-Za-z0-9\\-_]+\\.[A-Za-z0-9\\-_]+\\.[A-Za-z0-9\\-_]+", "flags": "g" }, { diff --git a/package.json b/package.json index d139bc8..a0965cd 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,11 @@ "scripts": { "scan": "node ./src/cli.js" }, + "files": [ + "src/cli.js", + "LICENSE", + "REDME.md" + ], "keywords": [ "secrets", "scanner",