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
Includes product update to be announced in the next stable release notes
What does this PR do?
Noted that if a snyk.json file is present in the working directory and absent from the user’s ~/.config/configstore/ , snyk will use the file from the working directory to authenticate requests.
This PR ensures we have a single source of truth for the snyk.json.
make build
cd binary-releases
cp ~/.config/configstore/snyk.json .
rm ~/.config/configstore/snyk.json
snyk doctor
# All green
./snyk-macos-arm64 doctor
# Authentication error
What's the product update that needs to be communicated to CLI users?
snyk.json config file present in the working directory will start being ignored.
The update to go-application-framework (v0.7.4 pseudo-version) restricts the loading of snyk.json to the user's configstore path (typically ~/.config/configstore/), deliberately ignoring the current working directory. This is a breaking change for CI/CD pipelines or ephemeral environments that mount authentication configuration as a local file rather than modifying the user's home directory. While documented in the PR description, this will cause immediate authentication failures for such setups without providing a grace period or a clear CLI-level warning.
The PR updates a core dependency to a timestamped pseudo-version (v0.7.4-0.20260717090226-5d9e0f2df7ee). For critical security software like the Snyk CLI, using unreleased commits rather than tagged releases of internal frameworks reduces build transparency and makes it more difficult to audit the specific framework logic being integrated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Submission Checklist
are release-note ready, emphasizing
what was changed, not how.
What does this PR do?
Noted that if a
snyk.jsonfile is present in the working directory and absent from the user’s~/.config/configstore/, snyk will use the file from the working directory to authenticate requests.This PR ensures we have a single source of truth for the
snyk.json.Where should the reviewer start?
snyk/go-application-framework#659
How should this be manually tested?
What's the product update that needs to be communicated to CLI users?
snyk.jsonconfig file present in the working directory will start being ignored.What are the relevant tickets?
CLI-1124