-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
122 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This is not a secrets file but must be in the root directory. | ||
# 2010 | ||
*.txt -crlf | ||
|
||
# 2020 | ||
*.txt text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
Tool: https://github.com/Yelp/detect-secrets | ||
Command Used: `detect-secrets scan` | ||
Files covered: 23/44 (52.27% coverage) | ||
Total finds: 41/179 (22.91% coverage) | ||
Total finds: 41/175 (23.43% coverage) | ||
False Positives: 0 | ||
|
||
File Name | Found/Total | False Positives | | ||
---------------------------------------|----------------|-----------------| | ||
.mozilla/firefox/logins.json | 6/28 | 0 | ||
.bash_profile | 4/11 | 0 | ||
.bashrc | 3/6 | 0 | ||
web/ruby/secrets.yml | 3/3 | 0 | ||
web/var/www/.env | 3/10 | 0 | ||
.bashrc | 3/6 | 0 | ||
ventrilo_srv.ini | 2/2 | 0 | ||
cloud/heroku.json | 2/2 | 0 | ||
cloud/.credentials | 2/4 | 0 | ||
cloud/heroku.json | 2/2 | 0 | ||
high-entropy-misc.txt | 2/2 | 0 | ||
.remote-sync.json | 1/3 | 0 | ||
sftp-config.json | 1/4 | 0 | ||
.docker/.dockercfg | 1/6 | 0 | ||
ventrilo_srv.ini | 2/2 | 0 | ||
.docker/.dockercfg | 1/4 | 0 | ||
.docker/config.json | 1/4 | 0 | ||
.ssh/id_rsa | 1/1 | 0 | ||
web/var/www/public_html/config.php | 1/4 | 0 | ||
misc-keys/putty-example.ppk | 1/2 | 0 | ||
cloud/.tugboat | 1/3 | 0 | ||
.idea/WebServers.xml | 1/2 | 0 | ||
db/mongoid.yml | 1/1 | 0 | ||
misc-keys/cert-key.pem | 1/1 | 0 | ||
misc-keys/putty-example.ppk | 1/2 | 0 | ||
hub | 1/2 | 0 | ||
.vscode/sftp.json | 1/4 | 0 | ||
web/var/www/public_html/config.php | 1/4 | 0 | ||
deployment-config.json | 1/4 | 0 | ||
.docker/config.json | 1/6 | 0 | ||
misc-keys/cert-key.pem | 1/1 | 0 | ||
db/mongoid.yml | 1/1 | 0 | ||
filezilla/recentservers.xml | 0/6 | 0 | ||
web/var/www/public_html/.htpasswd | 0/1 | 0 | ||
.remote-sync.json | 1/3 | 0 | ||
.vscode/sftp.json | 1/4 | 0 | ||
sftp-config.json | 1/4 | 0 | ||
.idea/WebServers.xml | 1/2 | 0 | ||
.ssh/id_rsa.pub | 0/1 | 0 | ||
cloud/.s3cfg | 0/3 | 0 | ||
web/django/settings.py | 0/1 | 0 | ||
.ftpconfig | 0/5 | 0 | ||
.npmrc | 0/3 | 0 | ||
db/dump.sql | 0/10 | 0 | ||
etc/shadow | 0/1 | 0 | ||
config | 0/4 | 0 | ||
web/js/salesforce.js | 0/1 | 0 | ||
web/var/www/public_html/wp-config.php | 0/12 | 0 | ||
proftpdpasswd | 0/1 | 0 | ||
filezilla/recentservers.xml | 0/6 | 0 | ||
filezilla/filezilla.xml | 0/3 | 0 | ||
db/dbeaver-data-sources.xml | 0/1 | 0 | ||
.netrc | 0/2 | 0 | ||
.esmtprc | 0/3 | 0 | ||
db/.pgpass | 0/1 | 0 | ||
db/robomongo.json | 0/7 | 0 | ||
proftpdpasswd | 0/1 | 0 | ||
web/ruby/config/master.key | 0/1 | 0 | ||
.npmrc | 0/3 | 0 | ||
web/var/www/public_html/wp-config.php | 0/12 | 0 | ||
web/var/www/public_html/.htpasswd | 0/1 | 0 | ||
.git-credentials | 0/1 | 0 | ||
.ssh/id_rsa.pub | 0/1 | 0 | ||
db/robomongo.json | 0/7 | 0 | ||
web/js/salesforce.js | 0/1 | 0 | ||
.netrc | 0/2 | 0 | ||
config | 0/4 | 0 | ||
db/.pgpass | 0/1 | 0 | ||
db/dbeaver-data-sources.xml | 0/1 | 0 | ||
.esmtprc | 0/3 | 0 | ||
web/django/settings.py | 0/1 | 0 | ||
.ftpconfig | 0/5 | 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
Tool: https://github.com/zricethezav/gitleaks | ||
Command Used: `gitleaks --report=.leaky-meta/gitleaks.json --repo-path .` | ||
Files covered: 6/44 (13.64% coverage) | ||
Total finds: 8/179 (4.47% coverage) | ||
False Positives: 0 | ||
Command Used: `gitleaks --config=.leaky-meta/gitleaks-config.toml --report=.leaky-meta/gitleaks.json --repo-path .` | ||
Files covered: 40/44 (90.91% coverage) | ||
Total finds: 127/175 (72.57% coverage) | ||
False Positives: 17 | ||
|
||
File Name | Found/Total | False Positives | | ||
---------------------------------------|----------------|-----------------| | ||
.bash_profile | 2/11 | 0 | ||
.bashrc | 2/6 | 0 | ||
cloud/heroku.json | 1/2 | 0 | ||
web/var/www/.env | 14/10 | 4 | ||
web/var/www/public_html/wp-config.php | 14/12 | 2 | ||
.mozilla/firefox/logins.json | 13/28 | 0 | ||
.bash_profile | 12/11 | 1 | ||
db/dump.sql | 10/10 | 0 | ||
db/robomongo.json | 7/7 | 0 | ||
.vscode/sftp.json | 7/4 | 3 | ||
cloud/.credentials | 6/4 | 2 | ||
web/var/www/public_html/config.php | 4/4 | 0 | ||
.bashrc | 3/6 | 0 | ||
config | 3/4 | 0 | ||
db/dbeaver-data-sources.xml | 3/1 | 2 | ||
.esmtprc | 3/3 | 0 | ||
deployment-config.json | 3/4 | 0 | ||
sftp-config.json | 3/4 | 0 | ||
.idea/WebServers.xml | 3/2 | 1 | ||
.docker/.dockercfg | 2/4 | 0 | ||
.docker/config.json | 2/4 | 0 | ||
cloud/heroku.json | 2/2 | 0 | ||
filezilla/recentservers.xml | 2/6 | 0 | ||
high-entropy-misc.txt | 2/2 | 0 | ||
.git-credentials | 2/1 | 1 | ||
web/js/salesforce.js | 2/1 | 1 | ||
.netrc | 2/2 | 0 | ||
hub | 2/2 | 0 | ||
ventrilo_srv.ini | 2/2 | 0 | ||
.ftpconfig | 2/5 | 0 | ||
.remote-sync.json | 2/3 | 0 | ||
.ssh/id_rsa | 1/1 | 0 | ||
misc-keys/cert-key.pem | 1/1 | 0 | ||
.ssh/id_rsa.pub | 1/1 | 0 | ||
cloud/.tugboat | 1/3 | 0 | ||
db/mongoid.yml | 1/1 | 0 | ||
filezilla/recentservers.xml | 0/6 | 0 | ||
ventrilo_srv.ini | 0/2 | 0 | ||
web/var/www/public_html/.htpasswd | 0/1 | 0 | ||
.remote-sync.json | 0/3 | 0 | ||
sftp-config.json | 0/4 | 0 | ||
.docker/.dockercfg | 0/6 | 0 | ||
etc/shadow | 1/1 | 0 | ||
filezilla/filezilla.xml | 1/3 | 0 | ||
misc-keys/cert-key.pem | 1/1 | 0 | ||
proftpdpasswd | 1/1 | 0 | ||
web/ruby/config/master.key | 1/1 | 0 | ||
.npmrc | 1/3 | 0 | ||
web/var/www/public_html/.htpasswd | 1/1 | 0 | ||
db/.pgpass | 1/1 | 0 | ||
cloud/.s3cfg | 0/3 | 0 | ||
web/django/settings.py | 0/1 | 0 | ||
.ftpconfig | 0/5 | 0 | ||
.npmrc | 0/3 | 0 | ||
web/var/www/public_html/config.php | 0/4 | 0 | ||
.mozilla/firefox/logins.json | 0/28 | 0 | ||
web/ruby/secrets.yml | 0/3 | 0 | ||
cloud/.credentials | 0/4 | 0 | ||
misc-keys/putty-example.ppk | 0/2 | 0 | ||
db/dump.sql | 0/10 | 0 | ||
etc/shadow | 0/1 | 0 | ||
cloud/.tugboat | 0/3 | 0 | ||
.idea/WebServers.xml | 0/2 | 0 | ||
config | 0/4 | 0 | ||
web/js/salesforce.js | 0/1 | 0 | ||
hub | 0/2 | 0 | ||
.vscode/sftp.json | 0/4 | 0 | ||
web/var/www/public_html/wp-config.php | 0/12 | 0 | ||
proftpdpasswd | 0/1 | 0 | ||
filezilla/filezilla.xml | 0/3 | 0 | ||
web/var/www/.env | 0/10 | 0 | ||
db/dbeaver-data-sources.xml | 0/1 | 0 | ||
.netrc | 0/2 | 0 | ||
deployment-config.json | 0/4 | 0 | ||
.docker/config.json | 0/6 | 0 | ||
.esmtprc | 0/3 | 0 | ||
db/.pgpass | 0/1 | 0 | ||
db/robomongo.json | 0/7 | 0 | ||
web/ruby/config/master.key | 0/1 | 0 | ||
.git-credentials | 0/1 | 0 | ||
.ssh/id_rsa.pub | 0/1 | 0 | ||
high-entropy-misc.txt | 0/2 | 0 | ||
web/ruby/secrets.yml | 0/3 | 0 | ||
web/django/settings.py | 0/1 | 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
if ! type "pip" > /dev/null | ||
then | ||
echo "Pip and Python are required for installing detect-secrets and truffleHog, but pip was not found!" | ||
exit 1 | ||
fi | ||
|
||
mkdir -p ~/.local/bin | ||
if [ ! -f ~/.local/bin/gitleaks ]; then | ||
wget https://github.com/zricethezav/gitleaks/releases/download/v2.1.0/gitleaks-linux-amd64 -O ~/.local/bin/gitleaks | ||
if ! type "gitleaks" > /dev/null; then | ||
latest=$(curl -s https://api.github.com/repos/zricethezav/gitleaks/releases/latest |grep "browser_download_url.*linux-amd64" |cut -d : -f 2,3 | tr -d '"') | ||
wget $latest -O ~/.local/bin/gitleaks | ||
chmod +x ~/.local/bin/gitleaks | ||
fi | ||
wget https://raw.githubusercontent.com/zricethezav/gitleaks/master/examples/leaky-repo.toml -O gitleaks-config.toml | ||
|
||
pip install detect-secrets truffleHog | ||
pip install detect-secrets truffleHog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters