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

Extend algoliaadminkey with additional checks #3459

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

0x2b3bfa0
Copy link
Contributor

@0x2b3bfa0 0x2b3bfa0 commented Oct 17, 2024

Description

This pull request adds verification for other kinds of sensitive Algolia API keys apart from Admin keys, as per https://www.secjuice.com/api-misconfiguration-data-breach.

This pull reques also enhances the detection of Algolia keys by looking also for Algolia DocSearch keywords and option names on the official libraries (example).

Checklist

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@zricethezav
Copy link
Collaborator

@0x2b3bfa0 that blog is from 2020. Did you test this locally? Do you have a screenshot of the integration test passing with a valid credential?

@0x2b3bfa0

This comment was marked as outdated.

@0x2b3bfa0
Copy link
Contributor Author

0x2b3bfa0 commented Oct 19, 2024

@zricethezav, locally everything seems to work "fine" now; I wonder if continuous integration will agree. 🤞🏼

@0x2b3bfa0 0x2b3bfa0 mentioned this pull request Oct 21, 2024
2 tasks
@0x2b3bfa0 0x2b3bfa0 changed the title Extend algoliaadminkey with ACL checks Extend algoliaadminkey with additional checks Oct 21, 2024
@0x2b3bfa0
Copy link
Contributor Author

@zricethezav, I've consolidated #3458 into this pull request and made sure all tests pass.

@zricethezav zricethezav merged commit 9cf0a4c into trufflesecurity:main Oct 24, 2024
13 checks passed
@0x2b3bfa0 0x2b3bfa0 deleted the 0x2b3bfa0-patch-1 branch October 24, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants