Skip to content

build(deps): bump codecov/codecov-action from 4 to 7 - #114

Open
dependabot[bot] wants to merge 1 commit into
wire/stablefrom
dependabot/github_actions/codecov/codecov-action-7
Open

dependabot[bot] wants to merge 1 commit into
wire/stablefrom
dependabot/github_actions/codecov/codecov-action-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 2026

Copy link
Copy Markdown

Bumps codecov/codecov-action from 4 to 7.

Release notes

Sourced from codecov/codecov-action's releases.

v7.0.0

⚠️ Due to migration issues with keybase, we are unable to update our keys under the codecovsecurity account. We have deleted the account and are using codecovsecops with the original gpg key

What's Changed

Full Changelog: codecov/codecov-action@v6.0.1...v7.0.0

v6.0.2

This is a copy of the v7.0.0 release to make updates easier

What's Changed

Full Changelog: codecov/codecov-action@v6.0.1...v6.0.2

v6.0.1

What's Changed

Full Changelog: codecov/codecov-action@v6.0.0...v6.0.1

v6.0.0

⚠️ This version introduces support for node24 which make cause breaking changes for systems that do not currently support node24. ⚠️

What's Changed

Full Changelog: codecov/codecov-action@v5.5.4...v6.0.0

v5.5.5

This release only contains the keybase.io change as described here.

Full Changelog: codecov/codecov-action@v5.5.4...v5.5.5

v5.5.4

This is a mirror of v5.5.2. v6 will be released which requires node24

What's Changed

... (truncated)

Changelog

Sourced from codecov/codecov-action's changelog.

v5.5.2

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.5.1..v5.5.2

v5.5.1

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.5.0..v5.5.1

v5.5.0

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.4.3..v5.5.0

v5.4.3

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.4.2..v5.4.3

v5.4.2

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 7.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v4...v7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Sep 21, 2026

- name: Upload to codecov.io
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semgrep identified an issue in your code:

The coverage job executes codecov/codecov-action@v7, a mutable tag that can be silently repointed to attacker-controlled code. A compromised action could read repository data and CI credentials from the runner and exfiltrate them.

More details about this

The check job runs codecov/codecov-action@v7 in the Upload to codecov.io step. Because v7 is a mutable tag, the action owner—or an attacker who compromises that repository—could repoint it after this workflow is reviewed, causing future runs to execute attacker-controlled code on ubuntu-latest.

A plausible attack would be:

  1. An attacker gains control of the codecov/codecov-action repository or its v7 tag and changes the action code.
  2. A normal push triggers the check job, which runs the repointed action after the profiling tests and grcov create target/debug/coverage/lcov.
  3. The malicious action reads target/debug/coverage/lcov, repository files, and any credentials or tokens available to the job, then sends them to an attacker-controlled server—for example, by issuing an outbound request from the runner.
  4. The attacker can use any exposed token or credential to access the repository, alter CI results, or pivot into connected services. The same risk already applies to the other mutable action references in this workflow, such as actions/checkout@v3, dtolnay/rust-toolchain@nightly, and Swatinem/rust-cache@v2.

To resolve this comment:

✨ Commit fix suggestion
  1. Replace the mutable tag with the full 40-character commit SHA for the intended codecov/codecov-action release:
    uses: codecov/codecov-action@<40-character-commit-SHA>
  2. Verify that the SHA comes from the official codecov/codecov-action repository and corresponds to the version currently intended by @v7.
  3. Keep the existing with.files configuration unchanged. Pinning the SHA prevents the action reference from silently changing if the tag is moved.
💬 Ignore this finding

Reply with Semgrep commands to ignore this finding.

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

Alternatively, triage in Semgrep AppSec Platform to ignore the finding created by github-actions-mutable-action-tag.

You can view more details about this finding in the Semgrep AppSec Platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants