WenqiOfficial / StudyWithMiku

STUDY WITH MIKU web version cover
https://studymiku.wenqi.icu
MIT License
159 stars 18 forks source link

Fix Umami #58

Closed WenqiOfficial closed 6 months ago

WenqiOfficial commented 6 months ago
gitguardian[bot] commented 6 months ago

⚠️ GitGuardian has uncovered 5 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 | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [7649224](https://dashboard.gitguardian.com/workspace/438153/incidents/7649224?occurrence=131563506) | Triggered | Bearer Token | 420c1e2524cb4b01cf928191042cc8d08d009d39 | assets/js/mikuplayer.js | [View secret](https://github.com/WenqiOfficial/StudyWithMiku/commit/420c1e2524cb4b01cf928191042cc8d08d009d39#diff-d278c36d4e95b238ab80ad7c595461cd2d2d4a35dfd489038d7e66457b630a14L224) | | [7898581](https://dashboard.gitguardian.com/workspace/438153/incidents/7898581?occurrence=131563507) | Triggered | Bearer Token | 420c1e2524cb4b01cf928191042cc8d08d009d39 | assets/js/mikuplayer.js | [View secret](https://github.com/WenqiOfficial/StudyWithMiku/commit/420c1e2524cb4b01cf928191042cc8d08d009d39#diff-d278c36d4e95b238ab80ad7c595461cd2d2d4a35dfd489038d7e66457b630a14L228) | | [7898581](https://dashboard.gitguardian.com/workspace/438153/incidents/7898581?occurrence=131563508) | Triggered | Bearer Token | 420c1e2524cb4b01cf928191042cc8d08d009d39 | assets/js/mikuplayer.js | [View secret](https://github.com/WenqiOfficial/StudyWithMiku/commit/420c1e2524cb4b01cf928191042cc8d08d009d39#diff-d278c36d4e95b238ab80ad7c595461cd2d2d4a35dfd489038d7e66457b630a14R228) | | [10611967](https://dashboard.gitguardian.com/workspace/438153/incidents/10611967?occurrence=131563509) | Triggered | Bearer Token | 420c1e2524cb4b01cf928191042cc8d08d009d39 | assets/js/mikuplayer.min.js | [View secret](https://github.com/WenqiOfficial/StudyWithMiku/commit/420c1e2524cb4b01cf928191042cc8d08d009d39#diff-882f5c147cb6835ac26cbcdfe841cfb6515fb7e39a53f60a49a6f2cd3066c87cR1) | | [10611967](https://dashboard.gitguardian.com/workspace/438153/incidents/10611967?occurrence=131563510) | Triggered | Bearer Token | 420c1e2524cb4b01cf928191042cc8d08d009d39 | assets/js/mikuplayer.js | [View secret](https://github.com/WenqiOfficial/StudyWithMiku/commit/420c1e2524cb4b01cf928191042cc8d08d009d39#diff-d278c36d4e95b238ab80ad7c595461cd2d2d4a35dfd489038d7e66457b630a14R232) |
🛠 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/bearer_token#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.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dev-study-with-miku-6y9v ✅ Ready (Inspect) Visit Preview May 2, 2024 6:27am
study-with-miku-52lr ✅ Ready (Inspect) Visit Preview May 2, 2024 6:27am