Skip to content

Commit

Permalink
JWT fix BC scor
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Aug 8, 2024
1 parent 536a7f3 commit 6d072d4
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions cicd/benchmark.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DATA: 16978521 interested lines. MARKUP: 61851 items
DATA: 16978521 interested lines. MARKUP: 61852 items
FileType FileNumber ValidLines Positives Negatives Templates
--------------- ------------ ------------ ----------- ----------- -----------
194 28318 64 429 87
Expand All @@ -11,7 +11,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.backup 1 62 1 1
.bash 2 2158 2 1
.bat 4 233 1 13 2
.bats 15 2804 12 52 9
.bats 15 2804 14 50 9
.bazel 3 424 8
.build 2 40 3
.bundle 4 1512 570
Expand All @@ -27,7 +27,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.cmd 4 401 2 3
.cnf 8 858 18 45 18
.coffee 1 585 2
.conf 60 4945 50 74 54
.conf 60 4945 53 71 54
.config 20 492 16 33 1
.cpp 15 5688 1 61
.creds 1 10 1 1
Expand All @@ -53,15 +53,15 @@ FileType FileNumber ValidLines Positives Negatives Templat
.erb 13 323 27
.erl 4 96 8
.ex 25 4968 3 105 5
.example 17 1838 73 38 55
.example 17 1838 74 38 54
.exs 24 4842 3 189 4
.ext 5 211 1 4 2
.fsproj 1 75 1
.g4 2 201 2
.gd 1 37 1
.gml 3 3075 26
.gni 3 5017 18
.go 1079 566327 619 4333 742
.go 1079 566327 621 4331 742
.golden 5 1168 1 14 29
.gradle 45 3265 4 91 100
.graphql 7 420 13
Expand All @@ -74,16 +74,16 @@ FileType FileNumber ValidLines Positives Negatives Templat
.html 53 15327 14 115 18
.idl 2 777 4
.iml 6 699 36
.in 6 2130 1 80 12
.in 6 2130 3 78 12
.inc 2 56 2 1
.ini 11 1437 24 12 18
.ipynb 1 134 5
.j 1 241 4
.j 1 241 2 2
.j2 30 5530 6 213 10
.java 621 134132 314 1361 170
.jenkinsfile 1 58 1 7
.jinja2 1 64 2
.js 659 536413 521 2642 336
.js 659 536413 526 2637 336
.json 860 13670669 623 10948 140
.jsp 13 3202 1 42
.jsx 7 857 19
Expand All @@ -105,12 +105,12 @@ FileType FileNumber ValidLines Positives Negatives Templat
.lock 24 160912 144
.log 2 199 38 52
.lua 10 1924 37 3
.m 16 13358 11 151 3
.m 16 13358 11 152 3
.manifest 3 102 3
.markdown 3 139 3 1
.markerb 3 12 3
.marko 1 21 2
.md 673 149294 646 2366 671
.md 673 149294 658 2361 664
.mdx 3 549 7
.mjml 1 18 1
.mjs 22 4424 50 343
Expand All @@ -122,7 +122,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.mqh 1 1023 2
.msg 1 26644 1
.mysql 1 36 2
.ndjson 2 5006 34 268 2
.ndjson 2 5006 37 266 2
.nix 4 211 12
.nolint 1 2 1
.odd 1 1281 57
Expand All @@ -132,7 +132,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.patch 4 109405 27
.pbxproj 1 941 1
.pem 48 1169 47 8
.php 371 75710 129 1770 80
.php 371 75710 130 1769 80
.pl 16 14727 6 47
.pm 3 744 8
.po 3 2994 15
Expand All @@ -150,7 +150,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.pug 2 193 2
.purs 1 69 4
.pxd 1 150 5 2
.py 890 291553 618 3466 748
.py 890 291553 626 3461 744
.pyi 4 1361 9
.pyp 1 167 1
.pyx 2 1094 21
Expand Down Expand Up @@ -222,16 +222,16 @@ FileType FileNumber ValidLines Positives Negatives Templat
.yml 418 36162 460 916 384
.zsh 6 872 12
.zsh-theme 1 97 1
TOTAL: 10281 16978521 7500 59964 5228
credsweeper result_cnt : 6594, lost_cnt : 0, true_cnt : 6346, false_cnt : 248
TOTAL: 10281 16978521 7541 59936 5216
credsweeper result_cnt : 6566, lost_cnt : 0, true_cnt : 6348, false_cnt : 218
Rules Positives Negatives Templates Reported TP FP TN FN FPR FNR ACC PRC RCL F1
------------------------------ ----------- ----------- ----------- ---------- ---- ---- ----- ---- -------- -------- -------- -------- -------- --------
API 123 3163 185 112 109 3 3345 14 0.000896 0.113821 0.995102 0.973214 0.886179 0.927660
API 124 3162 185 112 109 3 3344 15 0.000896 0.120968 0.994814 0.973214 0.879032 0.923729
AWS Client ID 168 13 0 160 160 0 13 8 0.000000 0.047619 0.955801 1.000000 0.952381 0.975610
AWS Multi 75 12 0 87 75 11 1 0 0.916667 0.000000 0.873563 0.872093 1.000000 0.931677
AWS S3 Bucket 61 25 0 92 61 25 0 0 1.000000 0.000000 0.709302 0.709302 1.000000 0.829932
Atlassian Old PAT token 27 212 3 12 3 8 207 24 0.037209 0.888889 0.867769 0.272727 0.111111 0.157895
Auth 407 2728 77 371 350 21 2784 57 0.007487 0.140049 0.975716 0.943396 0.859951 0.899743
Auth 408 2727 77 371 350 21 2783 58 0.007489 0.142157 0.975405 0.943396 0.857843 0.898588
Azure Access Token 19 0 0 12 12 0 0 7 0.368421 0.631579 1.000000 0.631579 0.774194
BASE64 Private Key 7 2 0 7 7 0 2 0 0.000000 0.000000 1.000000 1.000000 1.000000 1.000000
BASE64 encoded PEM Private Key 7 0 0 5 5 0 0 2 0.285714 0.714286 1.000000 0.714286 0.833333
Expand All @@ -250,19 +250,19 @@ Google API Key 12 0 0 1
Google Multi 10 2 0 11 10 1 1 0 0.500000 0.000000 0.916667 0.909091 1.000000 0.952381
Google OAuth Access Token 3 0 0 3 3 0 0 0 0.000000 1.000000 1.000000 1.000000 1.000000
Grafana Provisioned API Key 22 1 0 5 5 0 1 17 0.000000 0.772727 0.260870 1.000000 0.227273 0.370370
JSON Web Token 169 61 0 158 137 21 40 32 0.344262 0.189349 0.769565 0.867089 0.810651 0.837920
JSON Web Token 169 61 0 130 130 0 61 39 0.000000 0.230769 0.830435 1.000000 0.769231 0.869565
Jira / Confluence PAT token 0 4 0 0 0 4 0 0.000000 1.000000
Jira 2FA 14 6 0 10 10 0 6 4 0.000000 0.285714 0.800000 1.000000 0.714286 0.833333
Key 483 8496 464 443 434 9 8951 49 0.001004 0.101449 0.993858 0.979684 0.898551 0.937365
Nonce 83 53 0 85 79 6 47 4 0.113208 0.048193 0.926471 0.929412 0.951807 0.940476
Key 493 8487 464 443 434 9 8942 59 0.001005 0.119675 0.992800 0.979684 0.880325 0.927350
Nonce 90 46 0 85 84 1 45 6 0.021739 0.066667 0.948529 0.988235 0.933333 0.960000
Other 0 0 5 0 0 5 0 0.000000 1.000000
PEM Private Key 1019 1483 0 1023 1019 4 1479 0 0.002697 0.000000 0.998401 0.996090 1.000000 0.998041
Password 1820 7476 2751 1681 1613 68 10159 207 0.006649 0.113736 0.977173 0.959548 0.886264 0.921451
Salt 42 76 2 38 38 0 78 4 0.000000 0.095238 0.966667 1.000000 0.904762 0.950000
Secret 1358 28497 869 1234 1229 5 29361 129 0.000170 0.094993 0.995639 0.995948 0.905007 0.948302
Password 1834 7472 2741 1681 1617 64 10149 217 0.006267 0.118321 0.976675 0.961927 0.881679 0.920057
Salt 45 73 2 38 38 0 75 7 0.000000 0.155556 0.941667 1.000000 0.844444 0.915663
Secret 1362 28494 868 1234 1229 5 29357 133 0.000170 0.097651 0.995508 0.995948 0.902349 0.946841
Seed 1 6 0 0 0 6 1 0.000000 1.000000 0.857143 0.000000
Slack Token 4 1 0 4 4 0 1 0 0.000000 0.000000 1.000000 1.000000 1.000000 1.000000
Token 585 3975 438 512 503 9 4404 82 0.002039 0.140171 0.981793 0.982422 0.859829 0.917046
Token 586 3974 438 512 503 9 4403 83 0.002040 0.141638 0.981593 0.982422 0.858362 0.916211
Twilio API Key 0 5 2 0 0 7 0 0.000000 1.000000
URL Credentials 197 126 250 190 190 0 376 7 0.000000 0.035533 0.987784 1.000000 0.964467 0.981912
7500 59964 5228 6605 6346 248 59716 1154 0.004136 0.153867 0.979219 0.962390 0.846133 0.900525
URL Credentials 197 127 249 190 190 0 376 7 0.000000 0.035533 0.987784 1.000000 0.964467 0.981912
7541 59936 5216 6577 6348 218 59718 1193 0.003637 0.158202 0.979089 0.966799 0.841798 0.899979

0 comments on commit 6d072d4

Please sign in to comment.