Skip to content

Commit efc648b

Browse files
authored
False for Hash of cred (#248)
* False for Hash of cred * one false case
1 parent 0d52f25 commit efc648b

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.ci/benchmark.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
META MD5 d6d80cbad918f0efe59bf103aff97b07
2-
DATA MD5 1b5f87456ab65abfdec3199deec17ebd
3-
DATA: 17257596 interested lines. MARKUP: 62288 items
1+
META MD5 bb47d558e8589fdadc43e4f15e7aafe3
2+
DATA MD5 652090897eccea967a3ba187f3e726cd
3+
DATA: 17257596 interested lines. MARKUP: 62289 items
44
FileType FileNumber ValidLines Positives Negatives
55
--------------- ------------ ------------ ----------- -----------
66
687 567498 138 487
@@ -19,7 +19,7 @@ FileType FileNumber ValidLines Positives Negatives
1919
.build 2 40 1 2
2020
.bundle 4 1512 479
2121
.bzl 3 2503 11
22-
.c 186 287276 20 773
22+
.c 186 287276 20 774
2323
.cast 2 704 6 1
2424
.cc 29 30562 617
2525
.cf 3 126 2 1
@@ -98,7 +98,7 @@ FileType FileNumber ValidLines Positives Negatives
9898
.jwt 1 1 2
9999
.key 115 3067 105 11
100100
.ks 1 25 1
101-
.kt 121 20235 65 366
101+
.kt 121 20235 64 367
102102
.l 1 982 1
103103
.las 1 6656 36
104104
.lasso 1 230 7
@@ -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 17150 50406
237+
TOTAL: 11666 17257596 17149 50408
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
------------------------------ ----------- ----------- ---------- ---- ---- ----- ----- -------- -------- -------- ----- -------- ----
@@ -272,14 +272,14 @@ Grafana Provisioned API Key 22 1 0 0
272272
JSON Web Token 170 61 0 0 61 170 0.000000 1.000000 0.264069 0.000000
273273
JWK 79 0 0 0 0 79 1.000000 0.000000 0.000000
274274
Jira / Confluence PAT token 0 4 0 0 4 0 0.000000 1.000000
275-
Key 4275 16310 0 0 16310 4275 0.000000 1.000000 0.792325 0.000000
275+
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
278278
Nonce 130 49 0 0 49 130 0.000000 1.000000 0.273743 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
282-
Password 2519 9975 0 0 9975 2519 0.000000 1.000000 0.798383 0.000000
282+
Password 2518 9976 0 0 9976 2518 0.000000 1.000000 0.798463 0.000000
283283
Postman Credentials 2 0 0 0 0 2 1.000000 0.000000 0.000000
284284
SQL Password 44 14 0 0 14 44 0.000000 1.000000 0.241379 0.000000
285285
Salesforce Credentials 6 0 0 0 0 6 1.000000 0.000000 0.000000
@@ -292,4 +292,4 @@ Token 994 4645 0 0
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-
17150 50406 0 0 0 50406 17150 0.000000 1.000000 0.746137 0.000000
295+
17149 50408 0 0 0 50408 17149 0.000000 1.000000 0.746155 0.000000

meta/2ba83c6a.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8636,3 +8636,4 @@ Id,FileID,Domain,RepoName,FilePath,LineStart,LineEnd,GroundTruth,ValueStart,Valu
86368636
1524687,6b861e09,GitHub,2ba83c6a,data/2ba83c6a/_/6b861e09.c,457,457,T,57,153,,,Secret
86378637
1524688,6b861e09,GitHub,2ba83c6a,data/2ba83c6a/_/6b861e09.c,458,458,T,59,153,,,Secret
86388638
1524689,6b861e09,GitHub,2ba83c6a,data/2ba83c6a/_/6b861e09.c,459,459,T,63,153,,,Secret
8639+
11516162,0b7ed7e2,GitHub,2ba83c6a,data/2ba83c6a/test/0b7ed7e2.c,654,654,F,38,47,,,Key

meta/48fd3902.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Id,FileID,Domain,RepoName,FilePath,LineStart,LineEnd,GroundTruth,ValueStart,Valu
105105
86758,41abbdc5,GitHub,48fd3902,data/48fd3902/test/src/41abbdc5.java,134,134,T,29,38,,,Password
106106
86759,41abbdc5,GitHub,48fd3902,data/48fd3902/test/src/41abbdc5.java,289,289,F,28,48,,,Password
107107
86760,4799bb8c,GitHub,48fd3902,data/48fd3902/test/src/4799bb8c.kt,258,258,F,33,46,,,Password
108-
86761,4799bb8c,GitHub,48fd3902,data/48fd3902/test/src/4799bb8c.kt,259,259,T,38,51,,,Password
108+
86761,4799bb8c,GitHub,48fd3902,data/48fd3902/test/src/4799bb8c.kt,259,259,F,38,51,,,Password
109109
86763,4ac80b93,GitHub,48fd3902,data/48fd3902/test/src/4ac80b93.kt,36,36,F,34,59,,,Password
110110
86764,5443428d,GitHub,48fd3902,data/48fd3902/test/src/5443428d.java,95,95,F,48,61,,,Password
111111
86765,c8719261,GitHub,48fd3902,data/48fd3902/test/src/c8719261.java,32,32,F,26,36,,,Nonce

0 commit comments

Comments
 (0)