roberthsu2003 / __11304_python_2024_tvdi__

3 stars 26 forks source link

HW(issue#276)20240624作業 #292

Closed kalmiavicky closed 3 weeks ago

kalmiavicky commented 3 weeks ago

HW(issue#276)20240624作業

gitguardian[bot] commented 3 weeks ago

⚠️ GitGuardian has uncovered 17 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 | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [12260416](https://dashboard.gitguardian.com/workspace/75666/incidents/12260416) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/林正銘/issue276/index.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-ce9ad6ba6185af542b21a848c6cedcf9911731142217c0d2412da0bc29bc1f52L6) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/魏天厚/issue276/main.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-498470f13e94dde135cca77b8ee5d7d568a2e07ba815d71f820e582f70f525b5L6) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | b0f7f2e66009bfb5b7c56799b8ccc2bbc98c60e0 | 2024_06_24/lesson2.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/b0f7f2e66009bfb5b7c56799b8ccc2bbc98c60e0#diff-a5abd8637ab3b3c7ce67b8b3e213e28b38f9a8ffd2e9d1b891ba551fc134147bL113) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | 2024_06_24/lesson2.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-4ab02bab9b5d638f4e2338471f5aad9ffbf27f21a75df634b5acb74af15bb640L6) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/魏天厚/issue276/README.md | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-ccf42a4502e56c6bfe33cf1e0d071de5593c7cbc09803977b1d6f32410134adeL83) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | 985b70d1775211a468710328793b013daa1b6445 | 2024_07_02/lesson2.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/985b70d1775211a468710328793b013daa1b6445#diff-f875eb0632eed2a4a69272d2728ca92765260e7b19860b215e6870319f7997edR5) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | 8259d2491deb1ba76970da56e79313889384b994 | 2024_07_02/lesson2.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/8259d2491deb1ba76970da56e79313889384b994#diff-f875eb0632eed2a4a69272d2728ca92765260e7b19860b215e6870319f7997edL5) | | [12018284](https://dashboard.gitguardian.com/workspace/75666/incidents/12018284) | Triggered | PostgreSQL Credentials | 8259d2491deb1ba76970da56e79313889384b994 | 2024_07_02/lesson2.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/8259d2491deb1ba76970da56e79313889384b994#diff-1418eced387492f0d3c9094c6082cc8ee0e69e31f1d3235961757bbff40f74f7L113) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL67) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL114) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL38) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/毛栩櫟/issue276/issue276.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-29cbb88507e152d3eb28710751e86f0b889ecba278f741d09f1de010598b0134L6) | | [12320074](https://dashboard.gitguardian.com/workspace/75666/incidents/12320074) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/毛栩櫟/issue276/test.ipynb | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-ae4ca79838650139f815afd517965dcffed1778a11301df81dd509da23ba2cfeL144) | | [12397483](https://dashboard.gitguardian.com/workspace/75666/incidents/12397483) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/洪振傑/issue276/lesson2.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-530a8833bc4936a4b6e01c0d919c875cea49593ec13ce488f39c055f9c649ff1L51) | | [12261666](https://dashboard.gitguardian.com/workspace/75666/incidents/12261666) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/陳名畯/issue276/下午.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-d2083699c9918ab3e407070fb72b31fcb16938cb077acd6c12493ade5eaaad8cL6) | | [12261666](https://dashboard.gitguardian.com/workspace/75666/incidents/12261666) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/陳名畯/issue276/下午.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-d2083699c9918ab3e407070fb72b31fcb16938cb077acd6c12493ade5eaaad8cL60) | | [12241766](https://dashboard.gitguardian.com/workspace/75666/incidents/12241766) | Triggered | PostgreSQL Credentials | c6f2e76658354330044b5ec50e0be9eaa1d2a471 | homework/蔡忻辰/issue276/index.py | [View secret](https://github.com/roberthsu2003/__11304_python_2024_tvdi__/commit/c6f2e76658354330044b5ec50e0be9eaa1d2a471#diff-2a77709be436bcbbb5092a6caf995f23b2ba5a9d248a108a5c95858dee9824f1L6) |
🛠 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/postgres_uri#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.