-
Notifications
You must be signed in to change notification settings - Fork 833
security: remove hardcoded Codecov token from .codecov.yml#3620
security: remove hardcoded Codecov token from .codecov.yml#3620vangent merged 1 commit intogoogle:masterfrom wadgamaraldeen:fix/codecov-token-leak
Conversation
Summary
This PR removes a hardcoded Codecov upload token from .codecov.yml and replaces it with documentation advising the use of CI-provided secrets.
Rationale
Storing tokens in version control exposes them to anyone with read access to the repository, which can allow unauthorized uploads to the project's Codecov dashboard. This could be abused to:
- Upload forged coverage reports.
- Inflate/deflate project coverage metrics.
- Pollute project history and reduce trust in CI/CD data.
Security Benefits
- Prevents unauthorized manipulation of coverage data.
- Aligns the project with best practices for secret management.
- Reduces the risk of future supply-chain or CI/CD integrity issues.
References
Signed-off-by: Mustafa Adam ibnqamar10@gmail.com
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |