Skip to content

Commit fa243e2

Browse files
Pomidorrybabenek
andauthored
More False cases (#249)
Co-authored-by: Roman Babenko <babenek@gmail.com>
1 parent efc648b commit fa243e2

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

.ci/benchmark.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
META MD5 bb47d558e8589fdadc43e4f15e7aafe3
1+
META MD5 d479e3e9a59f6b452170f8c5ee5e617c
22
DATA MD5 652090897eccea967a3ba187f3e726cd
3-
DATA: 17257596 interested lines. MARKUP: 62289 items
3+
DATA: 17257596 interested lines. MARKUP: 62291 items
44
FileType FileNumber ValidLines Positives Negatives
55
--------------- ------------ ------------ ----------- -----------
66
687 567498 138 487
@@ -91,8 +91,8 @@ FileType FileNumber ValidLines Positives Negatives
9191
.java 672 144069 489 1499
9292
.jenkinsfile 1 58 2 6
9393
.jinja2 1 64 2
94-
.js 666 537560 886 2706
95-
.json 903 13121402 1678 10120
94+
.js 666 537560 886 2712
95+
.json 903 13121402 1678 10124
9696
.jsp 13 3202 1 37
9797
.jsx 7 857 19
9898
.jwt 1 1 2
@@ -145,7 +145,7 @@ FileType FileNumber ValidLines Positives Negatives
145145
.pem 65 1467 64 3
146146
.php 392 80545 148 1471
147147
.pl 16 14727 7 33
148-
.pm 10 5224 1 15
148+
.pm 10 5224 1 17
149149
.po 3 2994 15
150150
.pod 9 1859 1 22
151151
.pony 1 83 4
@@ -234,7 +234,7 @@ FileType FileNumber ValidLines Positives Negatives
234234
.yml 564 57042 1928 1223
235235
.zsh 6 872 12
236236
.zsh-theme 1 97 1
237-
TOTAL: 11666 17257596 17149 50408
237+
TOTAL: 11666 17257596 17149 50420
238238
credsweeper result_cnt : 0, lost_cnt : 0, true_cnt : 0, false_cnt : 0
239239
Rules Positives Negatives Reported TP FP TN FN FPR FNR ACC PRC RCL F1
240240
------------------------------ ----------- ----------- ---------- ---- ---- ----- ----- -------- -------- -------- ----- -------- ----
@@ -244,7 +244,7 @@ AWS Multi 82 10 0 0
244244
AWS S3 Bucket 67 23 0 0 23 67 0.000000 1.000000 0.255556 0.000000
245245
Akamai Credentials 6 2 0 0 2 6 0.000000 1.000000 0.250000 0.000000
246246
Atlassian Old PAT token 9 8 0 0 8 9 0.000000 1.000000 0.470588 0.000000
247-
Auth 1169 2847 0 0 2847 1169 0.000000 1.000000 0.708914 0.000000
247+
Auth 1169 2852 0 0 2852 1169 0.000000 1.000000 0.709276 0.000000
248248
Azure Access Token 23 0 0 0 0 23 1.000000 0.000000 0.000000
249249
BASE64 Private Key 22 4 0 0 4 22 0.000000 1.000000 0.153846 0.000000
250250
BASE64 encoded PEM Private Key 12 0 0 0 0 12 1.000000 0.000000 0.000000
@@ -275,7 +275,7 @@ Jira / Confluence PAT token 0 4 0 0
275275
Key 4275 16311 0 0 16311 4275 0.000000 1.000000 0.792335 0.000000
276276
MailGun API Key 8 0 0 0 0 8 1.000000 0.000000 0.000000
277277
NKEY Seed 58 0 0 0 0 58 1.000000 0.000000 0.000000
278-
Nonce 130 49 0 0 49 130 0.000000 1.000000 0.273743 0.000000
278+
Nonce 130 54 0 0 54 130 0.000000 1.000000 0.293478 0.000000
279279
OTP / 2FA Secret 58 3 0 0 3 58 0.000000 1.000000 0.049180 0.000000
280280
Other 9 7442 0 0 7442 9 0.000000 1.000000 0.998792 0.000000
281281
PEM Private Key 1150 76 0 0 76 1150 0.000000 1.000000 0.061990 0.000000
@@ -288,8 +288,8 @@ Secret 1515 2377 0 0
288288
Slack Token 15 1 0 0 1 15 0.000000 1.000000 0.062500 0.000000
289289
Stripe Credentials 2 0 0 0 0 2 1.000000 0.000000 0.000000
290290
Tencent WeChat API App ID 47 0 0 0 0 47 1.000000 0.000000 0.000000
291-
Token 994 4645 0 0 4645 994 0.000000 1.000000 0.823728 0.000000
291+
Token 994 4647 0 0 4647 994 0.000000 1.000000 0.823790 0.000000
292292
Twilio Credentials 30 39 0 0 39 30 0.000000 1.000000 0.565217 0.000000
293293
URL Credentials 225 382 0 0 382 225 0.000000 1.000000 0.629325 0.000000
294294
UUID 2390 265 0 0 265 2390 0.000000 1.000000 0.099812 0.000000
295-
17149 50408 0 0 0 50408 17149 0.000000 1.000000 0.746155 0.000000
295+
17149 50420 0 0 0 50420 17149 0.000000 1.000000 0.746200 0.000000

meta/e08ff555.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,4 +619,9 @@ Id,FileID,Domain,RepoName,FilePath,LineStart,LineEnd,GroundTruth,ValueStart,Valu
619619
11508889,e1303005,GitHub,e08ff555,data/e08ff555/test/sample/fixture/e1303005.js,319,319,T,26,62,,,UUID
620620
11508890,e1303005,GitHub,e08ff555,data/e08ff555/test/sample/fixture/e1303005.js,325,325,T,30,66,,,UUID
621621
11508891,e1303005,GitHub,e08ff555,data/e08ff555/test/sample/fixture/e1303005.js,440,440,T,30,66,,,UUID
622+
11516163,1dfe7abe,GitHub,e08ff555,data/e08ff555/test/sample/fixture/1dfe7abe.js,1336,1336,F,169,175,,,Nonce:Auth
623+
11516164,1dfe7abe,GitHub,e08ff555,data/e08ff555/test/sample/fixture/1dfe7abe.js,2275,2275,F,172,178,,,Nonce:Auth
624+
11516165,1dfe7abe,GitHub,e08ff555,data/e08ff555/test/sample/fixture/1dfe7abe.js,4258,4258,F,172,178,,,Nonce:Auth
625+
11516166,7d5d4e1d,GitHub,e08ff555,data/e08ff555/example/7d5d4e1d.json,560,560,F,170,176,,,Nonce:Auth
626+
11516167,aaa506be,GitHub,e08ff555,data/e08ff555/example/aaa506be.json,583,583,F,170,176,,,Nonce:Auth
622627

meta/e72eb979.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ Id,FileID,Domain,RepoName,FilePath,LineStart,LineEnd,GroundTruth,ValueStart,Valu
102102
11516150,bf541b26,GitHub,e72eb979,data/e72eb979/test/bf541b26.html,52,52,F,61,70,,,URL Credentials
103103
11516151,e5f60a76,GitHub,e72eb979,data/e72eb979/test/e5f60a76.html,44,44,F,63,69,,,URL Credentials
104104
11516152,e5f60a76,GitHub,e72eb979,data/e72eb979/test/e5f60a76.html,52,52,F,61,70,,,URL Credentials
105+
11516168,94cf187a,GitHub,e72eb979,data/e72eb979/script/94cf187a.pm,230,230,F,25,103,,,Token
106+
11516169,d71cf0d7,GitHub,e72eb979,data/e72eb979/script/d71cf0d7.pm,230,230,F,25,103,,,Token
107+

0 commit comments

Comments
 (0)