Skip to content

Commit

Permalink
Bitbucket Client Secret markup
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Feb 12, 2025
1 parent 6be334a commit 15fcb5d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .ci/benchmark.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
META MD5 8167d6ce3f0c32b8b7a603315ff6b402
META MD5 29b6e2067bff0039e47f459f19e6e588
DATA MD5 30fa1091e2d3905cd24a13159a8a68cf
DATA: 16334259 interested lines. MARKUP: 59609 items
DATA: 16334259 interested lines. MARKUP: 59618 items
FileType FileNumber ValidLines Positives Negatives Templates
--------------- ------------ ------------ ----------- ----------- -----------
194 28342 71 415 90
Expand Down Expand Up @@ -55,7 +55,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.erb 13 323 26
.erl 4 96 7
.ex 25 4968 5 98 5
.example 18 1863 74 37 51
.example 18 1863 75 37 51
.exs 24 4842 8 187 4
.ext 5 211 1 4 2
.fsproj 1 75 1 2
Expand Down Expand Up @@ -116,7 +116,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.md 674 148660 756 2334 597
.mdx 3 549 7
.mjml 1 18 1
.mjs 22 4424 71 333
.mjs 22 4424 71 341
.mk 1 5878 13
.ml 1 1856 16
.mlir 2 1596 19
Expand Down Expand Up @@ -209,7 +209,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.ts 581 106648 138 1773 203
.tsx 54 7914 1 113 5
.ttar 1 452 1
.txt 268 76325 5150 5094 44
.txt 268 76325 5150 5095 44
.utf8 1 77 2
.vsixmanifest 1 36 1
.vsmdi 1 6 2
Expand All @@ -222,7 +222,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.yml 420 36296 546 910 374
.zsh 6 872 12
.zsh-theme 1 97 1
TOTAL: 10026 16334259 11992 46604 5033
TOTAL: 10026 16334259 11993 46613 5033
credsweeper result_cnt : 0, lost_cnt : 0, true_cnt : 0, false_cnt : 0
Rules Positives Negatives Templates Reported TP FP TN FN FPR FNR ACC PRC RCL F1
------------------------------ ----------- ----------- ----------- ---------- ---- ---- ----- ----- -------- -------- -------- ----- -------- ----
Expand All @@ -236,7 +236,7 @@ Azure Access Token 19 0 0
BASE64 Private Key 12 4 0 0 0 4 12 0.000000 1.000000 0.250000 0.000000
BASE64 encoded PEM Private Key 7 0 0 0 0 0 7 1.000000 0.000000 0.000000
Bitbucket Client ID 19 53 0 0 0 53 19 0.000000 1.000000 0.736111 0.000000
Bitbucket Client Secret 28 67 1 0 0 68 28 0.000000 1.000000 0.708333 0.000000
Bitbucket Client Secret 29 76 1 0 0 77 29 0.000000 1.000000 0.726415 0.000000
CMD ConvertTo-SecureString 13 4 0 0 0 4 13 0.000000 1.000000 0.235294 0.000000
CMD Password 21 128 6 0 0 134 21 0.000000 1.000000 0.864516 0.000000
CMD Secret 1 1 0 0 0 1 1 0.000000 1.000000 0.500000 0.000000
Expand Down Expand Up @@ -274,4 +274,4 @@ Token 644 4170 454
Twilio Credentials 30 39 0 0 0 39 30 0.000000 1.000000 0.565217 0.000000
URL Credentials 215 157 210 0 0 367 215 0.000000 1.000000 0.630584 0.000000
UUID 1075 265 0 0 0 265 1075 0.000000 1.000000 0.197761 0.000000
11992 46604 5033 0 0 0 46604 11992 0.000000 1.000000 0.795344 0.000000
11993 46613 5033 0 0 0 46613 11993 0.000000 1.000000 0.795362 0.000000
2 changes: 1 addition & 1 deletion meta/02dfa7ec.csv
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Id,FileID,Domain,RepoName,FilePath,LineStart,LineEnd,GroundTruth,WithWords,Value
32637,a758153b,GitHub,02dfa7ec,data/02dfa7ec/test/a758153b.example,94,94,T,F,30,35,T,F,CharsOnly,,,Secret,2.32,5,F,F,F,URL Credentials
32675,a758153b,GitHub,02dfa7ec,data/02dfa7ec/test/a758153b.example,22,22,T,F,27,44,F,F,Any,,,Secret,3.29,17,F,F,F,URL Credentials
32701,a758153b,GitHub,02dfa7ec,data/02dfa7ec/test/a758153b.example,47,47,Template,T,15,28,F,F,Any,,,Secret,2.90,13,F,F,F,Password
32757,61ed9af5,GitHub,02dfa7ec,data/02dfa7ec/test/61ed9af5.example,28,28,T,F,18,82,F,F,Any,,,Secret,5.33,64,F,F,F,Key:Secret
32757,61ed9af5,GitHub,02dfa7ec,data/02dfa7ec/test/61ed9af5.example,28,28,T,F,18,82,F,F,Any,,,Secret,5.33,64,F,F,F,Key:Secret:Bitbucket Client Secret
34024,61ed9af5,GitHub,02dfa7ec,data/02dfa7ec/test/61ed9af5.example,83,83,T,F,31,73,F,F,Any,,,Secret,3.74,42,F,F,F,Secret
35963,3279f9a1,GitHub,02dfa7ec,data/02dfa7ec/src/3279f9a1.py,100,100,T,F,26,90,F,F,Any,,,Unknown,5.33,64,F,F,F,Bitbucket Client Secret
36233,3f04cb2a,GitHub,02dfa7ec,data/02dfa7ec/test/3f04cb2a.py,32,32,Template,T,29,33,F,F,CharsOnly,,,Secret,1.5,4,F,F,F,Password
Expand Down
8 changes: 8 additions & 0 deletions meta/23689bd1.csv
Original file line number Diff line number Diff line change
Expand Up @@ -529,3 +529,11 @@ Id,FileID,Domain,RepoName,FilePath,LineStart,LineEnd,GroundTruth,WithWords,Value
1480586,b5304871,GitHub,23689bd1,data/23689bd1/test/b5304871.mjs,412,412,F,F,357,389,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480587,b5304871,GitHub,23689bd1,data/23689bd1/test/b5304871.mjs,654,654,F,F,117,149,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480588,b5304871,GitHub,23689bd1,data/23689bd1/test/b5304871.mjs,716,716,F,F,133,165,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480746,5211fcfa,GitHub,23689bd1,data/23689bd1/test/5211fcfa.mjs,163,163,F,F,10,74,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480747,5211fcfa,GitHub,23689bd1,data/23689bd1/test/5211fcfa.mjs,164,164,F,F,10,74,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480748,5caed4e2,GitHub,23689bd1,data/23689bd1/test/5caed4e2.mjs,56,56,F,F,12,76,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480749,5caed4e2,GitHub,23689bd1,data/23689bd1/test/5caed4e2.mjs,57,57,F,F,12,76,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480750,a57bbb8c,GitHub,23689bd1,data/23689bd1/test/a57bbb8c.mjs,68,68,F,F,12,76,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480751,a57bbb8c,GitHub,23689bd1,data/23689bd1/test/a57bbb8c.mjs,69,69,F,F,12,76,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480752,b5304871,GitHub,23689bd1,data/23689bd1/test/b5304871.mjs,392,392,F,F,16,80,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480753,b5304871,GitHub,23689bd1,data/23689bd1/test/b5304871.mjs,404,404,F,F,18,82,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1 change: 1 addition & 0 deletions meta/2ba83c6a.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9861,3 +9861,4 @@ Id,FileID,Domain,RepoName,FilePath,LineStart,LineEnd,GroundTruth,WithWords,Value
1479379,32929be3,GitHub,2ba83c6a,data/2ba83c6a/src/32929be3.c,334,334,F,F,38,47,F,F,,,,,0.0,0,F,F,F,CMD Password
1479380,9a497e27,GitHub,2ba83c6a,data/2ba83c6a/src/9a497e27.c,142,142,F,F,36,44,F,F,,,,,0.0,0,F,F,F,CMD Password
1480589,4cf50975,GitHub,2ba83c6a,data/2ba83c6a/test/4cf50975.txt,2147,2147,F,F,0,64,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret
1480754,4cf50975,GitHub,2ba83c6a,data/2ba83c6a/test/4cf50975.txt,2255,2255,F,F,0,64,F,F,,,,,0.0,0,F,F,F,Bitbucket Client Secret

0 comments on commit 15fcb5d

Please sign in to comment.