A reading guide to the account below. These stages do not establish every step of an attack.
- 01
Exposed storage key
- 02
Altered uploader
- 03
Build-data exposure
What happened
Source accountCodecov said a customer spotted a checksum mismatch on April 1, 2021. Its disclosures say unauthorized uploader changes began January 31 and could affect the Bash Uploader and related integrations used in CI.Source: Codecov: Bash Uploader Security Update · Codecov: Post-Mortem / Root Cause Analysis (April 2021)
What enabled it
Source accountCodecov’s post-mortem says an HMAC key for a Google Cloud Storage service account was exposed in an intermediate Docker-image layer. The attacker used it to alter the hosted uploader. Codecov also said its existing checksum process was not documented clearly enough for users.Source: Codecov: Post-Mortem / Root Cause Analysis (April 2021)
What harm followed
Source accountCodecov said the script could send Git remote URLs and environment variables from the CI job to an outside server. Whether those variables held valid secrets depended on each pipeline’s configuration.Source: Codecov: Bash Uploader Security Update
What remains unknown
Limits of the evidenceThe public sources do not give a total of credentials later used against customer systems. A variable’s exposure does not prove its value was sensitive or abused.Source: Codecov: Post-Mortem / Root Cause Analysis (April 2021)
Practical lessons
Our interpretationPin and verify build tools instead of downloading executable scripts at job time. Keep CI credentials scoped, short-lived and unavailable to steps that do not need them. If a tool may have run in a secret-bearing environment, review logs and rotate credentials that could reach important systems. Verification reduces risk when the expected signature or hash has an independent source.Source: Codecov: Bash Uploader Security Update
Why this matters to people
Our interpretationA coverage uploader sounds limited, yet it executes inside a build job that may hold repository or deployment access. Solo developers can expose personal tokens; teams can expose release credentials. This incident concerned the distribution path for a specific uploader and users who ran it in the affected period, not every Codecov customer. For a small project, one CI job can inherit more access than its report-upload task needs; separating those jobs limits accidental exposure too.Source: Codecov: Post-Mortem / Root Cause Analysis (April 2021)
Read the evidence
Primary references. Source dates and our review date have different meanings. These links open the publishers’ material.
- Bash Uploader Security UpdateCodecov · 2021-04-15 (updated 2021-04-29) · reviewed 7 October 2026
- Post-Mortem / Root Cause Analysis (April 2021)Codecov · 2021 (post-mortem; page undated) · reviewed 7 October 2026
See how we distinguish source accounts, uncertainty and interpretation. Read our method.