From bebf546cb62765dfc3973b1713d365de58f94fab Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Tue, 23 Jan 2024 11:50:12 +0200 Subject: [PATCH 1/6] fix detection of url argument variables --- .github/workflows/benchmark.yml | 6 ++++-- cicd/benchmark.txt | 2 +- credsweeper/common/constants.py | 6 +++--- requirements.txt | 4 ++-- tests/data/depth_3.json | 4 ++-- tests/data/ml_threshold.json | 8 ++++---- tests/data/output.json | 4 ++-- tests/samples/pass_filtered | 1 + 8 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 2eb2663bb..da81d10aa 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -22,7 +22,8 @@ jobs: - name: Checkout CredData uses: actions/checkout@v3 with: - repository: Samsung/CredData + repository: babenek/CredData + ref: fixvarpos - name: Cache data id: cache-data @@ -62,7 +63,8 @@ jobs: - name: Checkout CredData uses: actions/checkout@v3 with: - repository: Samsung/CredData + repository: babenek/CredData + ref: fixvarpos - name: Cache data id: cache-data diff --git a/cicd/benchmark.txt b/cicd/benchmark.txt index 257ca4ab3..b97d33466 100644 --- a/cicd/benchmark.txt +++ b/cicd/benchmark.txt @@ -254,4 +254,4 @@ Password 1006 131 4078 390 0.0311238 0.27937 0 Predefined Pattern 356 2 12 17 0.142857 0.0455764 0.950904 0.994413 0.954424 0.974008 Private Key 1011 0 29 1 0.00098814 0.999039 1 0.999012 0.999506 Seed, Salt, Nonce 45 2 6 3 0.25 0.0625 0.910714 0.957447 0.9375 0.947368 - 4349 881 19354109 794 4.552e-05 0.154385 0.999913 0.831549 0.845615 0.838523 + 4369 881 19373332 815 4.547e-05 0.157215 0.999912 0.83219 0.842785 0.837454 diff --git a/credsweeper/common/constants.py b/credsweeper/common/constants.py index 253f8a3d7..ea15f07d2 100644 --- a/credsweeper/common/constants.py +++ b/credsweeper/common/constants.py @@ -5,13 +5,13 @@ class KeywordPattern: """Pattern set of keyword types""" - key_left = r"(?P(([`'\"]+[^:='\"`<>&]*|[^:='\"`<>\s\(&]*)" \ + key_left = r"(?P(([`'\"]+[^:='\"`}<>&]*|[^:='\"`}<>\s()&]*)" \ r"(?P" # there will be inserted a keyword key_right = r")" \ - r"[^:='\"`<>\?\!]*)[`'\"]*)" # + r"[^:='\"`<>{?!&]*)[`'\"]*)" # separator = r"\s*\]?\s*" \ - r"(?P:( [a-z]{3,9} )?=|:|=>|!=|==|=)" \ + r"(?P:( [a-z]{3,9} )?=|:|=>|!=|===|==|=)" \ r"((?!\s*ENC(\(|\[))(\s|\w)*\((\s|\w|=|\()*|\s*)" value = r"(?P((b|r|br|rb|u|f|rf|fr|\\)?[`'\"])+)?" \ r"(?P(?:\{[^}]{3,8000}\})|(?:<[^>]{3,8000}>)|" \ diff --git a/requirements.txt b/requirements.txt index 477886c3e..b7030ea2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Common requirements -beautifulsoup4==4.12.2 -cryptography==41.0.7 +beautifulsoup4==4.12.3 +cryptography==42.0.0 GitPython==3.1.41 google-auth-oauthlib==1.2.0 humanfriendly==10.0 diff --git a/tests/data/depth_3.json b/tests/data/depth_3.json index 0c57b5113..768e62550 100644 --- a/tests/data/depth_3.json +++ b/tests/data/depth_3.json @@ -5168,7 +5168,7 @@ "value": "IhqSb1Gg", "value_start": 44, "value_end": 52, - "variable": "{1}/password", + "variable": "/password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -5216,7 +5216,7 @@ "value": "IhqSb1Gg", "value_start": 49, "value_end": 57, - "variable": "{1}/password", + "variable": "/password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, diff --git a/tests/data/ml_threshold.json b/tests/data/ml_threshold.json index f661d9985..818ae26ad 100644 --- a/tests/data/ml_threshold.json +++ b/tests/data/ml_threshold.json @@ -4916,7 +4916,7 @@ "value": "IhqSb1Gg", "value_start": 42, "value_end": 50, - "variable": "{1}/pw", + "variable": "/pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -6260,7 +6260,7 @@ "value": "IhqSb1Gg", "value_start": 43, "value_end": 51, - "variable": "{1},pw", + "variable": ",pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -6812,7 +6812,7 @@ "value": "IhqSb1Gg", "value_start": 44, "value_end": 52, - "variable": "{1}/password", + "variable": "/password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -6860,7 +6860,7 @@ "value": "IhqSb1Gg", "value_start": 49, "value_end": 57, - "variable": "{1}/password", + "variable": "/password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, diff --git a/tests/data/output.json b/tests/data/output.json index 4a8ad47be..c25a8514d 100644 --- a/tests/data/output.json +++ b/tests/data/output.json @@ -4988,7 +4988,7 @@ "value": "IhqSb1Gg", "value_start": 44, "value_end": 52, - "variable": "{1}/password", + "variable": "/password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -5036,7 +5036,7 @@ "value": "IhqSb1Gg", "value_start": 49, "value_end": 57, - "variable": "{1}/password", + "variable": "/password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, diff --git a/tests/samples/pass_filtered b/tests/samples/pass_filtered index 53f2375a3..7a47ad5ce 100644 --- a/tests/samples/pass_filtered +++ b/tests/samples/pass_filtered @@ -1,2 +1,3 @@ PASS Interface test: items are unique * Pass condition : Loyalty cards displayed +https://oauth.myapp.com/v3/access_token?app_id=my-client-id&app_secret=my-client-password&code=q4C1a20qS&redirect_uri=http%3A%2F%2Flocalhost%2Fdummy-demo From 135d466e009e405a2cfa1e2c9e3286bda4dd2add Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Tue, 23 Jan 2024 13:05:50 +0200 Subject: [PATCH 2/6] skip / from variable name --- credsweeper/common/constants.py | 2 +- tests/__init__.py | 6 +-- tests/data/depth_3.json | 58 ++++++++++++++++------- tests/data/ml_threshold.json | 84 +++++++++++++++++++++------------ tests/data/output.json | 56 +++++++++++++++------- 5 files changed, 139 insertions(+), 67 deletions(-) diff --git a/credsweeper/common/constants.py b/credsweeper/common/constants.py index ea15f07d2..f81a710b4 100644 --- a/credsweeper/common/constants.py +++ b/credsweeper/common/constants.py @@ -5,7 +5,7 @@ class KeywordPattern: """Pattern set of keyword types""" - key_left = r"(?P(([`'\"]+[^:='\"`}<>&]*|[^:='\"`}<>\s()&]*)" \ + key_left = r"(?P(([`'\"]+[^:='\"`}<>\\/&?]*|[^:='\"`}<>\s()\\/&?]*)" \ r"(?P" # there will be inserted a keyword key_right = r")" \ diff --git a/tests/__init__.py b/tests/__init__.py index b831b085a..0a5f8464a 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -4,11 +4,11 @@ SAMPLES_FILES_COUNT: int = 124 # credentials count after scan -SAMPLES_CRED_COUNT: int = 394 -SAMPLES_CRED_LINE_COUNT: int = 411 +SAMPLES_CRED_COUNT: int = 395 +SAMPLES_CRED_LINE_COUNT: int = 412 # credentials count after post-processing -SAMPLES_POST_CRED_COUNT: int = 312 +SAMPLES_POST_CRED_COUNT: int = 313 # with option --doc SAMPLES_IN_DOC = 396 diff --git a/tests/data/depth_3.json b/tests/data/depth_3.json index 768e62550..8b59fdc9e 100644 --- a/tests/data/depth_3.json +++ b/tests/data/depth_3.json @@ -242,7 +242,7 @@ "value": "JgEWaL6V6eM%2FFb9wuXG4I3IB6wY%3D", "value_start": 44, "value_end": 76, - "variable": "/oauth_signature", + "variable": "oauth_signature", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 4.288909765557392, @@ -1328,7 +1328,7 @@ "value": "dipPr125Gg!", "value_start": 25, "value_end": 36, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -1616,7 +1616,7 @@ "value": "dipPr141Gg!", "value_start": 15, "value_end": 26, - "variable": "master/PASS", + "variable": "PASS", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 2.9631196533066344, @@ -1913,6 +1913,30 @@ } ] }, + { + "api_validation": "NOT_AVAILABLE", + "ml_validation": "VALIDATED_KEY", + "ml_probability": 0.75145, + "rule": "Password", + "severity": "medium", + "line_data_list": [ + { + "line": "account:dipPr155Gg!/password:dipPr155Gg!", + "line_num": 56, + "path": "tests/samples/doc_id_pair_passwd_pair", + "info": "tests/samples/doc_id_pair_passwd_pair|RAW", + "value": "dipPr155Gg!", + "value_start": 29, + "value_end": 40, + "variable": "password", + "entropy_validation": { + "iterator": "BASE64_CHARS", + "entropy": 2.9631196533066344, + "valid": false + } + } + ] + }, { "api_validation": "NOT_AVAILABLE", "ml_validation": "VALIDATED_KEY", @@ -2264,7 +2288,7 @@ "value": "dipPr175Gg!", "value_start": 26, "value_end": 37, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -2336,7 +2360,7 @@ "value": "dipPr178Gg!", "value_start": 19, "value_end": 30, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -2672,7 +2696,7 @@ "value": "master/iPp2@GRq", "value_start": 12, "value_end": 27, - "variable": "ID/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2696,7 +2720,7 @@ "value": "master/iPp3@GRq", "value_start": 8, "value_end": 23, - "variable": "ID/Pass", + "variable": "Pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2744,7 +2768,7 @@ "value": "master/iPp7@GRq", "value_start": 18, "value_end": 33, - "variable": "username/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2768,7 +2792,7 @@ "value": "master/iPp8@GRq", "value_start": 10, "value_end": 25, - "variable": "id/passwd", + "variable": "passwd", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2840,7 +2864,7 @@ "value": "master/iPp19@GRq", "value_start": 18, "value_end": 34, - "variable": "id/pw", + "variable": "pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -2864,7 +2888,7 @@ "value": "master,iPp20@GRq", "value_start": 8, "value_end": 24, - "variable": "id/pass", + "variable": "pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.5, @@ -2888,7 +2912,7 @@ "value": "master/iPp21@GRq", "value_start": 7, "value_end": 23, - "variable": "ID/PWD", + "variable": "PWD", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -2912,7 +2936,7 @@ "value": "master/iPp25@GRq", "value_start": 10, "value_end": 26, - "variable": "user/pass", + "variable": "pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -2936,7 +2960,7 @@ "value": "master/iPp27@GRq", "value_start": 12, "value_end": 28, - "variable": "ID/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -5168,7 +5192,7 @@ "value": "IhqSb1Gg", "value_start": 44, "value_end": 52, - "variable": "/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -5216,7 +5240,7 @@ "value": "IhqSb1Gg", "value_start": 49, "value_end": 57, - "variable": "/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -5408,7 +5432,7 @@ "value": "gireogicracklecrackle1231567190113413981", "value_start": 15, "value_end": 55, - "variable": "\\ngit_token", + "variable": "ngit_token", "entropy_validation": { "iterator": "BASE36_CHARS", "entropy": 3.97402442086502, diff --git a/tests/data/ml_threshold.json b/tests/data/ml_threshold.json index 818ae26ad..999e4c23d 100644 --- a/tests/data/ml_threshold.json +++ b/tests/data/ml_threshold.json @@ -158,7 +158,7 @@ "value": "JgEWaL6V6eM%2FFb9wuXG4I3IB6wY%3D", "value_start": 44, "value_end": 76, - "variable": "/oauth_signature", + "variable": "oauth_signature", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 4.288909765557392, @@ -812,7 +812,7 @@ "value": "dipPr15Gg!", "value_start": 13, "value_end": 23, - "variable": "master/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 2.989735285398626, @@ -1244,7 +1244,7 @@ "value": "dipPr125Gg!", "value_start": 25, "value_end": 36, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -1580,7 +1580,7 @@ "value": "dipPr141Gg!", "value_start": 15, "value_end": 26, - "variable": "master/PASS", + "variable": "PASS", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 2.9631196533066344, @@ -1877,6 +1877,30 @@ } ] }, + { + "api_validation": "NOT_AVAILABLE", + "ml_validation": "VALIDATED_KEY", + "ml_probability": 0.75145, + "rule": "Password", + "severity": "medium", + "line_data_list": [ + { + "line": "account:dipPr155Gg!/password:dipPr155Gg!", + "line_num": 56, + "path": "tests/samples/doc_id_pair_passwd_pair", + "info": "", + "value": "dipPr155Gg!", + "value_start": 29, + "value_end": 40, + "variable": "password", + "entropy_validation": { + "iterator": "BASE64_CHARS", + "entropy": 2.9631196533066344, + "valid": false + } + } + ] + }, { "api_validation": "NOT_AVAILABLE", "ml_validation": "VALIDATED_KEY", @@ -2252,7 +2276,7 @@ "value": "dipPr175Gg!", "value_start": 26, "value_end": 37, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -2324,7 +2348,7 @@ "value": "dipPr178Gg!", "value_start": 19, "value_end": 30, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -2516,7 +2540,7 @@ "value": "dipPr188Gg!", "value_start": 19, "value_end": 30, - "variable": "master/pw", + "variable": "pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 2.9631196533066344, @@ -2732,7 +2756,7 @@ "value": "master/iPp0@GRq", "value_start": 6, "value_end": 21, - "variable": "ID/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2756,7 +2780,7 @@ "value": "master/iPp2@GRq", "value_start": 12, "value_end": 27, - "variable": "ID/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2780,7 +2804,7 @@ "value": "master/iPp3@GRq", "value_start": 8, "value_end": 23, - "variable": "ID/Pass", + "variable": "Pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2828,7 +2852,7 @@ "value": "master/iPp5@GRq", "value_start": 6, "value_end": 21, - "variable": "ID/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2852,7 +2876,7 @@ "value": "master/iPp7@GRq", "value_start": 18, "value_end": 33, - "variable": "username/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2876,7 +2900,7 @@ "value": "master/iPp8@GRq", "value_start": 10, "value_end": 25, - "variable": "id/passwd", + "variable": "passwd", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2924,7 +2948,7 @@ "value": "iPp10@GRq)", "value_start": 25, "value_end": 35, - "variable": "master/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 2.65754247590989, @@ -2948,7 +2972,7 @@ "value": "master/iPp16@GRq", "value_start": 7, "value_end": 23, - "variable": "\uc544\uc774\ub514/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -2972,7 +2996,7 @@ "value": "master/iPp17@GRq", "value_start": 6, "value_end": 22, - "variable": "\uacc4\uc815/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -3020,7 +3044,7 @@ "value": "master/iPp19@GRq", "value_start": 18, "value_end": 34, - "variable": "id/pw", + "variable": "pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -3044,7 +3068,7 @@ "value": "master,iPp20@GRq", "value_start": 8, "value_end": 24, - "variable": "id/pass", + "variable": "pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.5, @@ -3068,7 +3092,7 @@ "value": "master/iPp21@GRq", "value_start": 7, "value_end": 23, - "variable": "ID/PWD", + "variable": "PWD", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -3092,7 +3116,7 @@ "value": "master/iPp22@GRq", "value_start": 9, "value_end": 25, - "variable": "user/pwd", + "variable": "pwd", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.625, @@ -3116,7 +3140,7 @@ "value": "master/iPp25@GRq", "value_start": 10, "value_end": 26, - "variable": "user/pass", + "variable": "pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -3140,7 +3164,7 @@ "value": "master/iPp27@GRq", "value_start": 12, "value_end": 28, - "variable": "ID/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -3164,7 +3188,7 @@ "value": "master/iPp28@GRq", "value_start": 6, "value_end": 22, - "variable": "ID/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -4892,7 +4916,7 @@ "value": "IhqSb1Gg", "value_start": 15, "value_end": 23, - "variable": "98.76.54.32/pw", + "variable": "pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -4916,7 +4940,7 @@ "value": "IhqSb1Gg", "value_start": 42, "value_end": 50, - "variable": "/pw", + "variable": "pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -5324,7 +5348,7 @@ "value": "IhqSb1Gg)", "value_start": 18, "value_end": 27, - "variable": "ID/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 2.8177111123931664, @@ -5636,7 +5660,7 @@ "value": "master/IhqSb1Gg", "value_start": 17, "value_end": 32, - "variable": "\uacc4\uc815/Password-xxxx", + "variable": "Password-xxxx", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.906890595608518, @@ -5876,7 +5900,7 @@ "value": "master/IhqSb1Gg)", "value_start": 18, "value_end": 34, - "variable": "ID/PW", + "variable": "PW", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -6812,7 +6836,7 @@ "value": "IhqSb1Gg", "value_start": 44, "value_end": 52, - "variable": "/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -6860,7 +6884,7 @@ "value": "IhqSb1Gg", "value_start": 49, "value_end": 57, - "variable": "/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, diff --git a/tests/data/output.json b/tests/data/output.json index c25a8514d..f9dad6e2f 100644 --- a/tests/data/output.json +++ b/tests/data/output.json @@ -158,7 +158,7 @@ "value": "JgEWaL6V6eM%2FFb9wuXG4I3IB6wY%3D", "value_start": 44, "value_end": 76, - "variable": "/oauth_signature", + "variable": "oauth_signature", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 4.288909765557392, @@ -1148,7 +1148,7 @@ "value": "dipPr125Gg!", "value_start": 25, "value_end": 36, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -1436,7 +1436,7 @@ "value": "dipPr141Gg!", "value_start": 15, "value_end": 26, - "variable": "master/PASS", + "variable": "PASS", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 2.9631196533066344, @@ -1733,6 +1733,30 @@ } ] }, + { + "api_validation": "NOT_AVAILABLE", + "ml_validation": "VALIDATED_KEY", + "ml_probability": 0.75145, + "rule": "Password", + "severity": "medium", + "line_data_list": [ + { + "line": "account:dipPr155Gg!/password:dipPr155Gg!", + "line_num": 56, + "path": "tests/samples/doc_id_pair_passwd_pair", + "info": "", + "value": "dipPr155Gg!", + "value_start": 29, + "value_end": 40, + "variable": "password", + "entropy_validation": { + "iterator": "BASE64_CHARS", + "entropy": 2.9631196533066344, + "valid": false + } + } + ] + }, { "api_validation": "NOT_AVAILABLE", "ml_validation": "VALIDATED_KEY", @@ -2084,7 +2108,7 @@ "value": "dipPr175Gg!", "value_start": 26, "value_end": 37, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -2156,7 +2180,7 @@ "value": "dipPr178Gg!", "value_start": 19, "value_end": 30, - "variable": "master/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.1449378351248165, @@ -2492,7 +2516,7 @@ "value": "master/iPp2@GRq", "value_start": 12, "value_end": 27, - "variable": "ID/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2516,7 +2540,7 @@ "value": "master/iPp3@GRq", "value_start": 8, "value_end": 23, - "variable": "ID/Pass", + "variable": "Pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2564,7 +2588,7 @@ "value": "master/iPp7@GRq", "value_start": 18, "value_end": 33, - "variable": "username/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2588,7 +2612,7 @@ "value": "master/iPp8@GRq", "value_start": 10, "value_end": 25, - "variable": "id/passwd", + "variable": "passwd", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.64643122256795, @@ -2660,7 +2684,7 @@ "value": "master/iPp19@GRq", "value_start": 18, "value_end": 34, - "variable": "id/pw", + "variable": "pw", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -2684,7 +2708,7 @@ "value": "master,iPp20@GRq", "value_start": 8, "value_end": 24, - "variable": "id/pass", + "variable": "pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.5, @@ -2708,7 +2732,7 @@ "value": "master/iPp21@GRq", "value_start": 7, "value_end": 23, - "variable": "ID/PWD", + "variable": "PWD", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -2732,7 +2756,7 @@ "value": "master/iPp25@GRq", "value_start": 10, "value_end": 26, - "variable": "user/pass", + "variable": "pass", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -2756,7 +2780,7 @@ "value": "master/iPp27@GRq", "value_start": 12, "value_end": 28, - "variable": "ID/Password", + "variable": "Password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.75, @@ -4988,7 +5012,7 @@ "value": "IhqSb1Gg", "value_start": 44, "value_end": 52, - "variable": "/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, @@ -5036,7 +5060,7 @@ "value": "IhqSb1Gg", "value_start": 49, "value_end": 57, - "variable": "/password", + "variable": "password", "entropy_validation": { "iterator": "BASE64_CHARS", "entropy": 3.0, From 8c15f44c23cb40ac9aed9304f41acd643a19d3c1 Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Tue, 23 Jan 2024 14:17:22 +0200 Subject: [PATCH 3/6] after correction --- .github/workflows/benchmark.yml | 3 +- cicd/benchmark.txt | 196 ++++---------------------------- 2 files changed, 25 insertions(+), 174 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index da81d10aa..363d8c700 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -168,7 +168,8 @@ jobs: - name: Checkout CredData uses: actions/checkout@v3 with: - repository: Samsung/CredData + repository: babenek/CredData + ref: fixvarpos - name: Cache data id: cache-data diff --git a/cicd/benchmark.txt b/cicd/benchmark.txt index b97d33466..a977e5998 100644 --- a/cicd/benchmark.txt +++ b/cicd/benchmark.txt @@ -1,15 +1,15 @@ -DATA: 19360133 valid lines. MARKUP: 73578 items +DATA: 19355695 valid lines. MARKUP: 73548 items Category Positives Negatives Template -------------------------- ----------- ----------- ---------- Authentication Key & Token 91 2 31 -Generic Secret 1063 16 204 -Generic Token 331 46 558 -Other 829 62708 610 -Password 1396 117 4092 +Generic Secret 1063 17 207 +Generic Token 328 45 555 +Other 822 62688 610 +Password 1398 117 4092 Predefined Pattern 373 3 11 -Private Key 1012 29 -Seed, Salt, Nonce 48 4 4 -TOTAL: 5143 62925 5510 +Private Key 1011 30 +Seed, Salt, Nonce 51 2 1 +TOTAL: 5137 62904 5507 FileType FileNumber ValidLines Positives Negatives Template --------------- ------------ ------------ ----------- ----------- ---------- 224 41595 44 845 80 @@ -41,156 +41,6 @@ FileType FileNumber ValidLines Positives Negatives Templat .cpp 14 6422 58 .creds 1 10 1 1 .crlf 1 27 1 -.crt 2 5124 190 -.cs 226 92284 9 841 99 -.cshtml 5 207 12 -.csp 3 447 11 -.csproj 1 14 1 -.css 16 66819 25 -.csv 1 109 77 -.dart 2 25 3 -.deprecated 1 130 1 -.development 1 5 1 -.diff 2 2910 21 1 -.dist 4 256 3 14 15 -.doc 1 2509 3 -.dockerfile 1 19 1 -.dot 1 161 6 -.dwl 1 24 1 -.eex 4 94 8 -.ejs 1 19 2 -.env 10 139 2 7 19 -.erb 17 601 32 -.erl 4 108 6 -.ex 25 6185 2 96 4 -.example 22 1988 41 49 64 -.exs 25 6147 2 191 4 -.ext 5 265 1 6 2 -.fsproj 1 76 1 -.g4 2 256 2 -.gd 1 38 1 -.gml 3 4011 9 -.gni 3 6340 16 -.go 1252 792052 496 5016 743 -.golden 6 2645 1 39 31 -.gradle 41 3647 2 67 59 -.graphql 19 782 1 30 -.graphqls 1 38 1 -.groovy 26 7635 11 226 7 -.h 13 2728 40 -.haml 13 305 19 -.hbs 4 108 7 -.hs 19 5127 31 53 6 -.html 66 32371 9 167 18 -.idl 2 841 6 -.iml 6 699 31 -.in 6 2190 2 41 7 -.inc 2 81 3 1 -.ini 13 1513 6 18 24 -.init 2 207 3 -.ipynb 1 210 4 -.j 1 329 2 -.j2 32 6327 8 183 11 -.java 626 178326 165 1422 177 -.jenkinsfile 1 78 1 6 -.jinja2 4 146 7 -.js 766 736851 316 3096 365 -.json 930 15031039 281 13783 186 -.jsp 13 4101 1 38 1 -.jsx 7 1162 19 -.jwt 6 8 6 -.key 82 2690 69 14 -.kt 103 19973 4 359 1 -.l 1 1082 2 -.las 1 7556 61 -.lasso 1 269 7 -.lasso9 1 192 5 -.ldif 2 286 20 -.ldiff 1 20 1 -.ldml 1 7556 61 -.leex 1 9 2 -.less 5 3124 17 -.libsonnet 2 324 1 11 -.list 2 15 2 -.lkml 1 44 1 -.lock 23 155176 41 -.log 2 200 92 -.lua 11 2564 3 44 3 -.m 17 17112 14 150 7 -.manifest 3 109 3 -.map 2 2 2 -.markdown 3 146 2 2 -.markerb 3 12 2 1 -.marko 1 32 2 -.md 718 183585 371 2888 728 -.mdx 3 723 7 -.mf 1 6 2 -.mjml 2 183 3 -.mjs 22 5853 84 310 -.mk 1 6406 12 -.ml 1 1994 17 -.mlir 2 1741 27 -.mod 2 100 4 -.moo 1 1732 15 -.mqh 1 1390 2 -.msg 1 26646 1 1 -.mst 1 17 1 -.mysql 1 40 2 2 -.nb 1 591 1 -.ndjson 3 5009 27 174 1 -.nix 6 441 1 17 -.nolint 1 2 1 -.odd 1 1304 43 -.oracle 1 9 1 -.p8 4 64 4 -.pan 2 50 5 -.patch 5 132567 59 -.pbxproj 1 1104 1 -.pem 48 1169 47 10 -.php 411 113865 94 1835 81 -.pl 17 15923 6 38 1 -.pm 3 880 6 -.po 3 2996 15 -.pod 9 1921 1 30 1 -.pony 1 106 4 -.postinst 2 441 12 3 -.pp 13 1151 18 1 -.ppk 1 46 36 -.private 1 15 1 -.proj 1 85 3 -.properties 49 1878 33 55 39 -.proto 6 6355 49 2 -.ps1 18 11136 79 2 -.ps1xml 1 5146 1 -.psm1 1 146 1 -.pug 3 379 4 -.purs 1 73 4 -.pxd 1 153 5 1 -.py 977 346782 310 4487 862 -.pyi 5 1426 12 -.pyp 1 193 1 -.pyx 2 1175 21 -.r 5 83 5 4 2 -.rake 2 66 4 -.rb 963 185633 169 3929 585 -.re 1 40 1 -.red 1 232 1 -.release 1 13 4 -.response 1 26 2 -.resx 11 3552 155 -.rexx 1 123 3 -.rnh 1 1766 3 2 -.rno 1 7956 2 -.rrc 39 1404 147 -.rs 33 12698 2 235 11 -.rsc 1 748 3 -.rsp 16 7203 19 18 30 -.rst 99 38267 29 443 63 -.rules 1 6 2 -.sample 2 25 7 3 -.sbt 3 652 1 6 2 -.scala 45 8912 12 137 6 -.scss 18 17110 41 1 .secrets 1 12 1 .service 6 93 6 .sh 167 30859 36 615 35 @@ -223,7 +73,7 @@ FileType FileNumber ValidLines Positives Negatives Templat .toml 83 2566 13 85 142 .tpl 1 50 1 .travis 1 34 2 3 1 -.ts 675 151241 88 2185 239 +.ts 674 149999 88 2179 239 .tsx 57 13349 1 121 5 .ttar 2 6526 8 3 .txt 450 84353 1695 9178 91 @@ -241,17 +91,17 @@ FileType FileNumber ValidLines Positives Negatives Templat .yml 480 43349 283 1344 360 .zsh 8 1779 14 .zsh-theme 7 285 8 -TOTAL: 11250 19360133 5143 62925 5510 -Detected Credentials: 6112 -credsweeper result_cnt : 5230, lost_cnt : 0, true_cnt : 4349, false_cnt : 881 -Category TP FP TN FN FPR FNR ACC PRC RCL F1 --------------------------- ---- ---- -------- ---- --------- ---------- -------- -------- -------- -------- -Authentication Key & Token 76 5 28 15 0.151515 0.164835 0.83871 0.938272 0.835165 0.883721 -Generic Secret 979 7 213 84 0.0318182 0.0790216 0.929072 0.992901 0.920978 0.955588 -Generic Token 295 12 592 36 0.0198676 0.108761 0.948663 0.960912 0.891239 0.924765 -Other 581 722 62596 248 0.0114028 0.299156 0.984878 0.445894 0.700844 0.545028 -Password 1006 131 4078 390 0.0311238 0.27937 0.907047 0.884785 0.72063 0.794315 -Predefined Pattern 356 2 12 17 0.142857 0.0455764 0.950904 0.994413 0.954424 0.974008 -Private Key 1011 0 29 1 0.00098814 0.999039 1 0.999012 0.999506 -Seed, Salt, Nonce 45 2 6 3 0.25 0.0625 0.910714 0.957447 0.9375 0.947368 - 4369 881 19373332 815 4.547e-05 0.157215 0.999912 0.83219 0.842785 0.837454 +TOTAL: 11241 19355695 5137 62904 5507 +Detected Credentials: 6101 +credsweeper result_cnt : 5221, lost_cnt : 2, true_cnt : 4344, false_cnt : 875 +Category TP FP TN FN FPR FNR ACC PRC RCL F1 +-------------------------- ---- ---- -------- ---- --------- --------- -------- -------- -------- -------- +Authentication Key & Token 76 5 28 15 0.151515 0.164835 0.83871 0.938272 0.835165 0.883721 +Generic Secret 979 7 217 84 0.03125 0.0790216 0.929293 0.992901 0.920978 0.955588 +Generic Token 292 9 591 36 0.015 0.109756 0.951509 0.9701 0.890244 0.928458 +Other 574 721 62577 248 0.0113906 0.301703 0.984888 0.443243 0.698297 0.542277 +Password 1009 131 4078 389 0.0311238 0.278255 0.907259 0.885088 0.721745 0.795114 +Predefined Pattern 356 2 12 17 0.142857 0.0455764 0.950904 0.994413 0.954424 0.974008 +Private Key 1011 0 30 0 1 1 1 1 +Seed, Salt, Nonce 47 0 3 4 0.0784314 0.925926 1 0.921569 0.959184 + 4344 875 19349683 793 4.522e-05 0.15437 0.999914 0.832343 0.84563 0.838934 From e693fe88aebb4f7914c30f2b63e87830bed2e724 Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Tue, 23 Jan 2024 15:06:07 +0200 Subject: [PATCH 4/6] BM scores upd --- cicd/benchmark.txt | 164 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 157 insertions(+), 7 deletions(-) diff --git a/cicd/benchmark.txt b/cicd/benchmark.txt index a977e5998..d6f32a18d 100644 --- a/cicd/benchmark.txt +++ b/cicd/benchmark.txt @@ -1,4 +1,4 @@ -DATA: 19355695 valid lines. MARKUP: 73548 items +DATA: 19355695 valid lines. MARKUP: 73551 items Category Positives Negatives Template -------------------------- ----------- ----------- ---------- Authentication Key & Token 91 2 31 @@ -6,10 +6,10 @@ Generic Secret 1063 17 207 Generic Token 328 45 555 Other 822 62688 610 Password 1398 117 4092 -Predefined Pattern 373 3 11 +Predefined Pattern 376 3 11 Private Key 1011 30 Seed, Salt, Nonce 51 2 1 -TOTAL: 5137 62904 5507 +TOTAL: 5140 62904 5507 FileType FileNumber ValidLines Positives Negatives Template --------------- ------------ ------------ ----------- ----------- ---------- 224 41595 44 845 80 @@ -41,6 +41,156 @@ FileType FileNumber ValidLines Positives Negatives Templat .cpp 14 6422 58 .creds 1 10 1 1 .crlf 1 27 1 +.crt 2 5124 190 +.cs 226 92284 9 841 99 +.cshtml 5 207 12 +.csp 3 447 11 +.csproj 1 14 1 +.css 16 66819 25 +.csv 1 109 77 +.dart 2 25 3 +.deprecated 1 130 1 +.development 1 5 1 +.diff 2 2910 21 1 +.dist 4 256 3 14 15 +.doc 1 2509 3 +.dockerfile 1 19 1 +.dot 1 161 6 +.dwl 1 24 1 +.eex 4 94 8 +.ejs 1 19 2 +.env 10 139 2 7 19 +.erb 17 601 32 +.erl 4 108 6 +.ex 25 6185 2 96 4 +.example 22 1988 41 49 64 +.exs 25 6147 2 191 4 +.ext 5 265 1 6 2 +.fsproj 1 76 1 +.g4 2 256 2 +.gd 1 38 1 +.gml 3 4011 9 +.gni 3 6340 16 +.go 1252 792052 496 5016 743 +.golden 6 2645 1 39 31 +.gradle 41 3647 2 67 59 +.graphql 19 782 1 30 +.graphqls 1 38 1 +.groovy 26 7635 11 226 7 +.h 13 2728 40 +.haml 13 305 19 +.hbs 4 108 7 +.hs 19 5127 31 53 6 +.html 65 32317 9 165 18 +.idl 2 841 6 +.iml 6 699 31 +.in 6 2190 2 41 7 +.inc 2 81 3 1 +.ini 13 1513 6 18 24 +.init 2 207 3 +.ipynb 1 210 4 +.j 1 329 2 +.j2 32 6327 8 183 11 +.java 626 178326 171 1419 177 +.jenkinsfile 1 78 1 6 +.jinja2 4 146 7 +.js 762 736564 313 3092 365 +.json 929 15031027 279 13784 186 +.jsp 13 4101 1 38 1 +.jsx 7 1162 19 +.jwt 6 8 6 +.key 82 2690 69 14 +.kt 103 19973 4 359 1 +.l 1 1082 2 +.las 1 7556 61 +.lasso 1 269 7 +.lasso9 1 192 5 +.ldif 2 286 20 +.ldiff 1 20 1 +.ldml 1 7556 61 +.leex 1 9 2 +.less 5 3124 17 +.libsonnet 2 324 1 11 +.list 2 15 2 +.lkml 1 44 1 +.lock 23 155176 41 +.log 2 200 92 +.lua 11 2564 3 44 3 +.m 17 17112 14 150 7 +.manifest 3 109 3 +.map 2 2 2 +.markdown 3 146 2 2 +.markerb 3 12 2 1 +.marko 1 32 2 +.md 716 180742 367 2881 725 +.mdx 3 723 7 +.mf 1 6 2 +.mjml 2 183 3 +.mjs 22 5853 84 310 +.mk 1 6406 12 +.ml 1 1994 17 +.mlir 2 1741 27 +.mod 2 100 4 +.moo 1 1732 15 +.mqh 1 1390 2 +.msg 1 26646 1 1 +.mst 1 17 1 +.mysql 1 40 2 2 +.nb 1 591 1 +.ndjson 3 5009 27 174 1 +.nix 6 441 1 17 +.nolint 1 2 1 +.odd 1 1304 43 +.oracle 1 9 1 +.p8 4 64 4 +.pan 2 50 5 +.patch 5 132567 59 +.pbxproj 1 1104 1 +.pem 48 1169 47 10 +.php 411 113865 94 1835 81 +.pl 17 15923 6 38 1 +.pm 3 880 6 +.po 3 2996 15 +.pod 9 1921 1 30 1 +.pony 1 106 4 +.postinst 2 441 12 3 +.pp 13 1151 18 1 +.ppk 1 46 36 +.private 1 15 1 +.proj 1 85 3 +.properties 49 1878 33 55 39 +.proto 6 6355 49 2 +.ps1 18 11136 79 2 +.ps1xml 1 5146 1 +.psm1 1 146 1 +.pug 3 379 4 +.purs 1 73 4 +.pxd 1 153 5 1 +.py 977 346782 310 4487 862 +.pyi 5 1426 12 +.pyp 1 193 1 +.pyx 2 1175 21 +.r 5 83 5 4 2 +.rake 2 66 4 +.rb 963 185633 169 3929 585 +.re 1 40 1 +.red 1 232 1 +.release 1 13 4 +.response 1 26 2 +.resx 11 3552 155 +.rexx 1 123 3 +.rnh 1 1766 3 2 +.rno 1 7956 2 +.rrc 39 1404 147 +.rs 33 12698 2 235 11 +.rsc 1 748 3 +.rsp 16 7203 19 18 30 +.rst 99 38267 29 443 63 +.rules 1 6 2 +.sample 2 25 7 3 +.sbt 3 652 1 6 2 +.scala 45 8912 12 137 6 +.scss 18 17110 41 1 .secrets 1 12 1 .service 6 93 6 .sh 167 30859 36 615 35 @@ -91,9 +241,9 @@ FileType FileNumber ValidLines Positives Negatives Templat .yml 480 43349 283 1344 360 .zsh 8 1779 14 .zsh-theme 7 285 8 -TOTAL: 11241 19355695 5137 62904 5507 +TOTAL: 11241 19355695 5140 62904 5507 Detected Credentials: 6101 -credsweeper result_cnt : 5221, lost_cnt : 2, true_cnt : 4344, false_cnt : 875 +credsweeper result_cnt : 5221, lost_cnt : 0, true_cnt : 4346, false_cnt : 875 Category TP FP TN FN FPR FNR ACC PRC RCL F1 -------------------------- ---- ---- -------- ---- --------- --------- -------- -------- -------- -------- Authentication Key & Token 76 5 28 15 0.151515 0.164835 0.83871 0.938272 0.835165 0.883721 @@ -101,7 +251,7 @@ Generic Secret 979 7 217 84 0.03125 0.0790216 0. Generic Token 292 9 591 36 0.015 0.109756 0.951509 0.9701 0.890244 0.928458 Other 574 721 62577 248 0.0113906 0.301703 0.984888 0.443243 0.698297 0.542277 Password 1009 131 4078 389 0.0311238 0.278255 0.907259 0.885088 0.721745 0.795114 -Predefined Pattern 356 2 12 17 0.142857 0.0455764 0.950904 0.994413 0.954424 0.974008 +Predefined Pattern 358 2 12 18 0.142857 0.0478723 0.948718 0.994444 0.952128 0.972826 Private Key 1011 0 30 0 1 1 1 1 Seed, Salt, Nonce 47 0 3 4 0.0784314 0.925926 1 0.921569 0.959184 - 4344 875 19349683 793 4.522e-05 0.15437 0.999914 0.832343 0.84563 0.838934 + 4346 875 19349680 794 4.522e-05 0.154475 0.999914 0.832408 0.845525 0.838915 From 6d801087c1ef31bf37e8ed861dbc903dc03dfbbc Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Tue, 23 Jan 2024 17:15:39 +0200 Subject: [PATCH 5/6] BM scores fix --- cicd/benchmark.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cicd/benchmark.txt b/cicd/benchmark.txt index d6f32a18d..6e8c31615 100644 --- a/cicd/benchmark.txt +++ b/cicd/benchmark.txt @@ -242,8 +242,8 @@ FileType FileNumber ValidLines Positives Negatives Templat .zsh 8 1779 14 .zsh-theme 7 285 8 TOTAL: 11241 19355695 5140 62904 5507 -Detected Credentials: 6101 -credsweeper result_cnt : 5221, lost_cnt : 0, true_cnt : 4346, false_cnt : 875 +Detected Credentials: 6103 +credsweeper result_cnt : 5222, lost_cnt : 0, true_cnt : 4347, false_cnt : 875 Category TP FP TN FN FPR FNR ACC PRC RCL F1 -------------------------- ---- ---- -------- ---- --------- --------- -------- -------- -------- -------- Authentication Key & Token 76 5 28 15 0.151515 0.164835 0.83871 0.938272 0.835165 0.883721 @@ -251,7 +251,7 @@ Generic Secret 979 7 217 84 0.03125 0.0790216 0. Generic Token 292 9 591 36 0.015 0.109756 0.951509 0.9701 0.890244 0.928458 Other 574 721 62577 248 0.0113906 0.301703 0.984888 0.443243 0.698297 0.542277 Password 1009 131 4078 389 0.0311238 0.278255 0.907259 0.885088 0.721745 0.795114 -Predefined Pattern 358 2 12 18 0.142857 0.0478723 0.948718 0.994444 0.952128 0.972826 +Predefined Pattern 359 2 12 17 0.142857 0.0452128 0.951282 0.99446 0.954787 0.97422 Private Key 1011 0 30 0 1 1 1 1 Seed, Salt, Nonce 47 0 3 4 0.0784314 0.925926 1 0.921569 0.959184 - 4346 875 19349680 794 4.522e-05 0.154475 0.999914 0.832408 0.845525 0.838915 + 4347 875 19349680 793 4.522e-05 0.15428 0.999914 0.83244 0.84572 0.839027 From 6cffb1ac91c4f63bac8c044a17451bf871d9aa28 Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Tue, 23 Jan 2024 17:57:12 +0200 Subject: [PATCH 6/6] Apply suggestions from code review --- .github/workflows/benchmark.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 363d8c700..2eb2663bb 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -22,8 +22,7 @@ jobs: - name: Checkout CredData uses: actions/checkout@v3 with: - repository: babenek/CredData - ref: fixvarpos + repository: Samsung/CredData - name: Cache data id: cache-data @@ -63,8 +62,7 @@ jobs: - name: Checkout CredData uses: actions/checkout@v3 with: - repository: babenek/CredData - ref: fixvarpos + repository: Samsung/CredData - name: Cache data id: cache-data @@ -168,8 +166,7 @@ jobs: - name: Checkout CredData uses: actions/checkout@v3 with: - repository: babenek/CredData - ref: fixvarpos + repository: Samsung/CredData - name: Cache data id: cache-data