apache / apache/shenyu

[Task] Rotate leaked Codecov token and use a secret instead of plaintext

Open Beginner friendly
#6,595 1 comment 0 reactions 0 assignees View on GitHub
priority: high type: build
Dominant language
Java
Stars
8.8k
Forks
3.1k
Avg merge
7d 1h
Merged PRs (30d)
85

Description

## Description
`token: 2760af6a-3405-4882-9e61-04c5176fecfa` committed literally, not via `${{ secrets.CODECOV_TOKEN }}`. Repo is public. Also `codecov-action@v1` is EOL (current v5).

## Location
```
.github/workflows/ci.yml:138-140
```

## Impact
Anyone can spoof/poison Codecov uploads for the project.

## Suggested fix
Rotate the token in Codecov, store as repo secret, reference via `${{ secrets.CODECOV_TOKEN }}`, bump to `@v5`.

## Related existing issue(s)
None

_Identified during the 2026-08-02 audit; full list in [`docs/issue-candidates-2026-08-02.md`](docs/issue-candidates-2026-08-02.md)._

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with .github/workflows/ci.yml lines 138-140 and inspect how the Codecov upload is configured. Rotate the exposed Codecov token, add the replacement as CODECOV_TOKEN, update the action reference to v5, and verify the workflow no longer contains a plaintext token.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.