You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(security): stop passing a write credential into the build #18
effort/lowEffort Low: little workpriority/p1-highPriority P1: high-impact work for the next planned milestonescope/securityScanner findings, ignore entries and the security policy of the imagesource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/highValue High: the delivery of the item matters much
The test job and the push job give the workflow credential to the image build as the build secret github_token, and the mise-tools stage reads it as the variable GITHUB_TOKEN. In the push job, that credential can write packages. The Dockerfile says that mise uses it only to raise its GitHub API rate limit.
mise makes no GitHub API request in this build. A test on 2026-11-20, in the pinned sid image with mise 2026.11.11 and no credential: mise install --locked hadolint github:kjanat/actionlint gh exited 0 and sent no request to api.github.com. Each download used the URL that mise.lock holds.
Change
Remove the build secret from the two build steps of .github/workflows/image.yml.
Remove the secret mount from the mise-tools stage of the Dockerfile, and the sentence about the rate limit.
Remove the README text that tells a person to give the local build a credential.
Proof
The test job builds the image on the two platforms with no build secret.
grep -n github_token Dockerfile .github/workflows/image.yml README.md prints no line.
effort/lowEffort Low: little workpriority/p1-highPriority P1: high-impact work for the next planned milestonescope/securityScanner findings, ignore entries and the security policy of the imagesource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/highValue High: the delivery of the item matters much
Activity
dan-petty commentedon Nov 20, 2026
A live security vulnerability where a write credential is exposed to a build that does not need it.Both modify the Dockerfile and workflow for the image build, but #13 removes unused tools and apt state while this removes an unneeded credential.devops-cli-service commentedon Nov 22, 2026
Released in v1.0.0: https://github.com/dan-petty/devtools/releases/tag/v1.0.0