fix(security): resolve Dependabot and CodeQL vulnerabilities#677
Open
cl-efornaciari wants to merge 2 commits intodevelopfrom
Open
fix(security): resolve Dependabot and CodeQL vulnerabilities#677cl-efornaciari wants to merge 2 commits intodevelopfrom
cl-efornaciari wants to merge 2 commits intodevelopfrom
Conversation
Dependabot: - Add resolutions for minimatch, axios, bn.js, undici, tmp, cookie to patched versions - Update yarn.lock with security fixes CodeQL: - Add permissions: contents read to workflow jobs (missing-workflow-permissions) - Sanitize subprocess output in ops/localenv/main.go to prevent log injection - Add comment to .helm-repositories.yaml for intentionally empty passwords (public repos)
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.





Summary
This PR addresses Dependabot and CodeQL security alerts in chainlink-starknet.
Dependabot Fixes
Added package.json resolutions and regenerated yarn.lock.
Unfixable/No patch: elliptic, pion/dtls (Go), pkg (dev-only)
CodeQL Fixes
permissions: contents: readto 13 workflow jobs (golangci-lint, static-analysis, lint, relayer, sonar-scan, changesets, contracts, examples, integration_gauntlet)ops/localenv/main.go(lines 101, 112) - replaced control chars to prevent log injection from user-controlled subprocess output.helm-repositories.yamldocumenting that empty password fields are intentional for public chart repos (bitnami, chainlink-qa, grafana)How changes were made
yarn install --mode=update-lockfileto regenerate yarn.lockpermissions: contents: readto all workflow jobs missing explicit permissionssanitizeForLog()in ops/localenv/main.go to escape control characters in subprocess output before printingMade with Cursor