k-lombard / TutorCare

An application for on-demand childcare and tutoring services
GNU Affero General Public License v3.0
4 stars 3 forks source link

Development #65

Closed k-lombard closed 2 years ago

k-lombard commented 2 years ago

Closes #53 Closes #13 Closes #61 Closes #57

gitguardian[bot] commented 2 years ago

⚠️ GitGuardian has uncovered 4 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Details of the secret
| Secret | Commit | Filename | Detected At | | | ------------------------- | ---------------- | --------------- | -------------------- | -------------------- | | Google API Key | 2d69cdcc7bdad7e9c23417dc415e593e7666347f | tutorcare-core/api/handler/signup.go | 03:28 February 6th, 2022 | [View secret](https://github.com/k-lombard/TutorCare-JIA-1307/commit/2d69cdcc7bdad7e9c23417dc415e593e7666347f#diff-9f632a89dd73969e6d3241345a7a0c1047025d636bf5500cc8bb4f13057b785aR81) | | Google API Key | 2d69cdcc7bdad7e9c23417dc415e593e7666347f | tutorcare-core/client/src/app/signup/signup.service.ts | 03:28 February 6th, 2022 | [View secret](https://github.com/k-lombard/TutorCare-JIA-1307/commit/2d69cdcc7bdad7e9c23417dc415e593e7666347f#diff-b12812c30abe53505f62df784ab5b2bbfcc7166cd89c88b8362a0c293476139aR55) | | Google API Key | c911cdf9ecea679c4a9444211674521e39470b87 | tutorcare-core/api/handler/signup.go | 03:40 February 6th, 2022 | [View secret](https://github.com/k-lombard/TutorCare-JIA-1307/commit/c911cdf9ecea679c4a9444211674521e39470b87#diff-9f632a89dd73969e6d3241345a7a0c1047025d636bf5500cc8bb4f13057b785aL81) | | Google API Key | dfe4e47965dbfd9706e65fe4f8e6eb744bc78221 | tutorcare-core/client/src/app/signup/signup.service.ts | 03:40 February 6th, 2022 | [View secret](https://github.com/k-lombard/TutorCare-JIA-1307/commit/dfe4e47965dbfd9706e65fe4f8e6eb744bc78221#diff-b12812c30abe53505f62df784ab5b2bbfcc7166cd89c88b8362a0c293476139aL55) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/detectors/specifics/googleaiza#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/internal-repositories-monitoring/integrations/git_hooks/pre_commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.
GitGuardian is an automated secrets detection service.We help developers and security teams secure the modern software development process.

 

Our GitHub checks need improvements? Share your feedbacks