fix(security): resolve CodeQL code alerts - #670
Closed
cl-efornaciari wants to merge 1 commit into
Closed
Conversation
cl-efornaciari
temporarily deployed
to
integration
February 20, 2026 17:29 — with
GitHub Actions
Inactive
cl-efornaciari
temporarily deployed
to
integration
February 20, 2026 17:29 — with
GitHub Actions
Inactive
cl-efornaciari
temporarily deployed
to
integration
February 20, 2026 17:29 — with
GitHub Actions
Inactive
|
👋 cl-efornaciari, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
|
cl-efornaciari
temporarily deployed
to
integration
February 20, 2026 17:39 — with
GitHub Actions
Inactive
cl-efornaciari
temporarily deployed
to
integration
February 20, 2026 17:47 — with
GitHub Actions
Inactive
|
This PR is stale because it has been open 30 days with no activity. |
|
This PR has been automatically closed because it has been stale for > 30 days. |
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
Resolves 5 CodeQL code alerts (2 go/log-injection, 3 js/empty-password-in-configuration-file).
Alerts Addressed
Fixes Applied
go/log-injection (CWE-117)
ops/localenv/main.gosanitizeForOutput()helper that escapes backslashes, carriage returns, and newlines before passing subprocess stdout/stderr tofmt.Print. Prevents log injection when output is captured (e.g., in CI).\\nto prevent forged log entries. Local dev tool; security fix takes precedence over formatting.js/empty-password-in-configuration-file
.helm-repositories.yamlpassword: ''andusername: ''from all three repository entries (bitnami, chainlink-qa, grafana). These are public chart repositories that do not require authentication. Helm allows omitting optional credentials for public repos.How changes were made
Build Verification
go build ./ops/localenv/succeedsMade with Cursor