Refine interpolated command lint detection - #53393
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Note
This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.
|
@copilot this PR is ready for the next finishing pass. Please address these items, newest first:
Run: https://github.com/github/gh-aw/actions/runs/32052943209
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
PR TriageCategory: bug (security lint tooling) · Risk: medium · Score: 58/100 (Impact 28, Urgency 15, Quality 15) Recommended action: Fixes false-positive interpolated-command lint findings (static write-once initializers, digits-only sanitized ports) and replaces interpolated shell invocations in the MCP gateway startup script with
|
Refreshed the branch with |
|
@copilot thanks for the refresh. This looks ready for maintainer follow-up. Please run the Run: https://github.com/github/gh-aw/actions/runs/32061066549
|
PR-finisher pass complete: working tree is clean at |
|
🎉 This pull request is included in a new release. Release: |
Template-literal command checks flagged static write-once values and digits-only sanitized ports as dynamic. Gateway shell command construction also retained interpolation warnings for argument-based process invocations.
Template interpolation analysis
String(value).replace(/[^0-9]/g, "").Gateway process execution
nodeandbashshell commands withexecFileSyncexecutable/argument calls.Coverage