Skip to content

Commit

Permalink
remove lite_obfuscation (#466)
Browse files Browse the repository at this point in the history
* Update benchmark.yml

* Update benchmark.yml

* Update benchmark.txt

* Apply suggestions from code review

* [no ci] Update README.md

* Update benchmark.txt

* Update README.md
  • Loading branch information
babenek authored Nov 28, 2023
1 parent c883091 commit 331e963
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Generate Data Asset
if: steps.cache-data.outputs.cache-hit != 'true'
run: python download_data.py --data_dir data --lite_obfuscation
run: python download_data.py --data_dir data


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

CredSweeper is a tool to detect credentials in any directories or files.
CredSweeper could help users to detect unwanted exposure of credentials
(such as token, passwords, api keys etc.) in advance.
(such as tokens, passwords, api keys etc.) in advance.
By scanning lines, filtering, and using AI model as option,
CredSweeper reports lines with possible credentials, where the line is,
and expected type of the credential as a result.
Expand Down
8 changes: 4 additions & 4 deletions cicd/benchmark.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Predefined Pattern 326 2 40
Private Key 1001 1 3
Seed, Salt, Nonce 40 4 4
TOTAL: 5307 63688 5644
Detected Credentials: 5737
credsweeper result_cnt : 5104, lost_cnt : 0, true_cnt : 4209, false_cnt : 895
Detected Credentials: 5730
credsweeper result_cnt : 5102, lost_cnt : 0, true_cnt : 4207, false_cnt : 895
Category TP FP TN FN FPR FNR ACC PRC RCL F1
-------------------------- ---- ---- -------- ---- --------- --------- -------- -------- -------- --------
Authentication Key & Token 54 4 28 16 0.125 0.228571 0.803922 0.931034 0.771429 0.84375
Expand All @@ -20,6 +20,6 @@ Generic Token 289 7 596 44 0.0116086 0.132132 0.
Other 584 747 63398 492 0.0116455 0.457249 0.981003 0.438768 0.542751 0.485251
Password 995 130 4150 410 0.0303738 0.291815 0.905013 0.884444 0.708185 0.786561
Predefined Pattern 309 2 40 17 0.0476191 0.0521472 0.94837 0.993569 0.947853 0.970173
Private Key 969 0 4 32 0.031968 0.968159 1 0.968032 0.983756
Private Key 967 0 4 34 0.033966 0.966169 1 0.966034 0.982724
Seed, Salt, Nonce 36 2 6 4 0.25 0.1 0.875 0.947368 0.9 0.923077
4209 895 19428256 1098 4.606e-05 0.206897 0.999897 0.824647 0.793103 0.808568
4207 895 19428256 1100 4.606e-05 0.207273 0.999897 0.824579 0.792727 0.808339

0 comments on commit 331e963

Please sign in to comment.