ACM-Amrita-Amritapuri / OmniHubAI

A modular library offering diverse AI functionalities for text, image, audio, and video processing. Leverage state-of-the-art models to create intelligent solutions for a wide range of tasks.
MIT License
3 stars 15 forks source link

Image_captioning #26

Closed Voix-22 closed 1 month ago

gitguardian[bot] commented 1 month ago

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

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard. Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [14096870](https://dashboard.gitguardian.com/workspace/597404/incidents/14096870) | Triggered | Google API Key | 3352c9c43dd87e20c5d558fdb4283efd5b795930 | src/text.py | [View secret](https://github.com/ACM-Amrita-Amritapuri/OmniHubAI/commit/3352c9c43dd87e20c5d558fdb4283efd5b795930#diff-499d7ef2f9f6506a520276ff5beda58a7c0ddc294dc90d4ed50235ea54d4601cR7) | | [-](https://dashboard.gitguardian.com/workspace/597404/incidents/secrets) | - | Hugging Face user access token | a19d14447836051efefabfcd7656ccc016ac6b2d | src/image_captioning_.py | [View secret](https://github.com/ACM-Amrita-Amritapuri/OmniHubAI/commit/a19d14447836051efefabfcd7656ccc016ac6b2d#diff-6b2b03df32d11c5e1a0f8091ff96f3c873e10bb589f1f82dc17a4ba3bfd04448L4) | | [-](https://dashboard.gitguardian.com/workspace/597404/incidents/secrets) | - | Hugging Face user access token | 3d85385ea78c2ff955b6dac01e21de77919d3247 | src/image_captioning_.py | [View secret](https://github.com/ACM-Amrita-Amritapuri/OmniHubAI/commit/3d85385ea78c2ff955b6dac01e21de77919d3247#diff-6b2b03df32d11c5e1a0f8091ff96f3c873e10bb589f1f82dc17a4ba3bfd04448R4) |
🛠 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/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/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.