Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Stripe detector to plugins #169

Merged
merged 4 commits into from
May 13, 2019
Merged

Conversation

dgzlopes
Copy link
Contributor

@dgzlopes dgzlopes commented May 10, 2019

Signed-off-by: Daniel González Lopes [email protected]
From paper cited on #159. Supports both standard and restricted keys.

dgzlopes added 3 commits May 10, 2019 09:26
Signed-off-by: Daniel González Lopes <[email protected]>
Signed-off-by: Daniel González Lopes <[email protected]>
@KevinHock KevinHock self-requested a review May 10, 2019 21:51
Copy link
Collaborator

@KevinHock KevinHock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢
Thanks for making this!

secret_type = 'Stripe Access Key'

blacklist = (
# stripe standard keys begin with sk_live and restricted with rk_live
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me from reading online [1][2][3].

Hi @andrew-d @richo, can you confirm this is accurate?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left Stripe in December, so feel free to ignore me ;)

This is accurate in the abstract, depending on what your goals here are (find exploitable credentials vs detect organisational deviation from best practice) you plausibly want to look for sk_test and rk_test as well though. And while I'm opining and since my opinions can no longer be pinned on Stripe, I'm still 100% willing to die on the hill of prefering denylist/allowlist over blacklist/whitelist. lmk if you'd be interested in a PR for that :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the info, that's a great point! I'd happily accept a PR for that 👍

Signed-off-by: Daniel González Lopes <[email protected]>
@richo
Copy link
Contributor

richo commented May 13, 2019 via email

@KevinHock KevinHock merged commit 38b559c into Yelp:master May 13, 2019
@dgzlopes dgzlopes deleted the add-stripe-plugin branch May 14, 2019 19:53
@richo richo mentioned this pull request May 16, 2019
killuazhu pushed a commit to killuazhu/detect-secrets that referenced this pull request Oct 18, 2019
* SoftLayerDetector

Detects Softlayer API Keys

Supports git-defenders/detect-secrets-discuss#120

* Lines were too long

* Address PR comments 1

* Address PR comments 2
killuazhu pushed a commit to IBM/detect-secrets that referenced this pull request May 28, 2020
* SoftLayerDetector

Detects Softlayer API Keys

Supports git-defenders/detect-secrets-discuss#120

* Lines were too long

* Address PR comments 1

* Address PR comments 2
killuazhu pushed a commit to IBM/detect-secrets that referenced this pull request Jul 9, 2020
* SoftLayerDetector

Detects Softlayer API Keys

Supports git-defenders/detect-secrets-discuss#120

* Lines were too long

* Address PR comments 1

* Address PR comments 2
killuazhu pushed a commit to IBM/detect-secrets that referenced this pull request Sep 17, 2020
Detects Softlayer API Keys

Supports git-defenders/detect-secrets-discuss#120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants