COS301-SE-2024 / Autonomous-Car-Vision

The aim of this project is to provide and implement a comprehensive suite of AI tools for Car vision to detect potential hazards, provide collision warnings, and analyze road conditions.
5 stars 0 forks source link

Demo 4 Merge #204

Closed JordanTimberlake closed 1 month ago

gitguardian[bot] commented 1 month ago

⚠️ GitGuardian has uncovered 7 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.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [13972989](https://dashboard.gitguardian.com/workspace/301252/incidents/13972989?occurrence=166523372) | Triggered | Generic High Entropy Secret | e3ab16b6ff18811035eb0b7acceb38b54cfafa1a | stressTest.py | [View secret](https://github.com/COS301-SE-2024/Autonomous-Car-Vision/commit/e3ab16b6ff18811035eb0b7acceb38b54cfafa1a#diff-2fdc3fb7951f7f6a1fa5df35836a4225fb3db35c7551e46ee272ac558d168655R105) | | [13738671](https://dashboard.gitguardian.com/workspace/301252/incidents/13738671?occurrence=165099724) | Triggered | Google OAuth2 Keys | 094a8b2a78fb9327330a649d3ce09e305bb440e2 | Desktop/src/electron.js | [View secret](https://github.com/COS301-SE-2024/Autonomous-Car-Vision/commit/094a8b2a78fb9327330a649d3ce09e305bb440e2#diff-574249b50809845f80ea35467e6d7fd7350dd262d78ea5ae31b575f88614a45bL1123) | | [13738671](https://dashboard.gitguardian.com/workspace/301252/incidents/13738671?occurrence=165099725) | Triggered | Google OAuth2 Keys | 52aa290d0154c1975c2d3fe468525a537d232aa8 | Desktop/src/electron.js | [View secret](https://github.com/COS301-SE-2024/Autonomous-Car-Vision/commit/52aa290d0154c1975c2d3fe468525a537d232aa8#diff-574249b50809845f80ea35467e6d7fd7350dd262d78ea5ae31b575f88614a45bR1123) | | [13972739](https://dashboard.gitguardian.com/workspace/301252/incidents/13972739?occurrence=166519159) | Triggered | Generic High Entropy Secret | 6f223d74ff344d732b648b94987edbc0b30a9b0d | stressTest.py | [View secret](https://github.com/COS301-SE-2024/Autonomous-Car-Vision/commit/6f223d74ff344d732b648b94987edbc0b30a9b0d#diff-2fdc3fb7951f7f6a1fa5df35836a4225fb3db35c7551e46ee272ac558d168655R109) | | [13972739](https://dashboard.gitguardian.com/workspace/301252/incidents/13972739?occurrence=166519852) | Triggered | Generic High Entropy Secret | b55427a9857c2af823d299e55d4e1af6b74ec441 | stressTest.py | [View secret](https://github.com/COS301-SE-2024/Autonomous-Car-Vision/commit/b55427a9857c2af823d299e55d4e1af6b74ec441#diff-2fdc3fb7951f7f6a1fa5df35836a4225fb3db35c7551e46ee272ac558d168655L109) | | [13972989](https://dashboard.gitguardian.com/workspace/301252/incidents/13972989?occurrence=166519851) | Triggered | Generic High Entropy Secret | b55427a9857c2af823d299e55d4e1af6b74ec441 | stressTest.py | [View secret](https://github.com/COS301-SE-2024/Autonomous-Car-Vision/commit/b55427a9857c2af823d299e55d4e1af6b74ec441#diff-2fdc3fb7951f7f6a1fa5df35836a4225fb3db35c7551e46ee272ac558d168655R105) | | [13972989](https://dashboard.gitguardian.com/workspace/301252/incidents/13972989?occurrence=166522477) | Triggered | Generic High Entropy Secret | c094509e95d4b28dd690c80b8b4f719e974afde9 | stressTest.py | [View secret](https://github.com/COS301-SE-2024/Autonomous-Car-Vision/commit/c094509e95d4b28dd690c80b8b4f719e974afde9#diff-2fdc3fb7951f7f6a1fa5df35836a4225fb3db35c7551e46ee272ac558d168655R105) |
🛠 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/secrets-detection-engine/detectors/generics/generic_high_entropy_secret#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/ggshield-docs/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 detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.