Skip to content

Actions: Improve clobbering query message and documentation - #22251

Open
JarLob wants to merge 1 commit into
github:mainfrom
JarLob:improve-clobbering-query-message
Open

Actions: Improve clobbering query message and documentation#22251
JarLob wants to merge 1 commit into
github:mainfrom
JarLob:improve-clobbering-query-message

Conversation

@JarLob

@JarLob JarLob commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Distinguish environment-file sinks from legacy workflow-command sinks
in alert messages. Add query help with remediation guidance and examples.

Copilot AI review requested due to automatic review settings July 29, 2026 18:21
@JarLob
JarLob requested a review from a team as a code owner July 29, 2026 18:21
@github-actions github-actions Bot added documentation Actions Analysis of GitHub Actions labels Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves output-clobbering alerts by identifying the affected GitHub Actions command channel and adding remediation guidance.

Changes:

  • Adds channel-specific alert messages and sink labels.
  • Adds query documentation with vulnerable and corrected examples.
  • Extends tests to cover modeled action sinks.
Show a summary per file
File Description
actions/ql/src/experimental/Security/CWE-074/OutputClobberingHigh.ql Selects tailored messages and labels by sink type.
actions/ql/src/experimental/Security/CWE-074/OutputClobberingHigh.md Adds query help and remediation examples.
actions/ql/src/change-notes/2026-07-29-output-clobbering-messages.md Records the query improvement.
actions/ql/test/query-tests/Security/CWE-074/.github/workflows/output3.yml Adds a modeled-action test case.
actions/ql/test/output-clobbering.model.yml Defines the test sink model.
actions/ql/test/qlpack.yml Loads the test data extension.
actions/ql/test/query-tests/Security/CWE-074/OutputClobberingHigh.expected Updates expected alerts and paths.

Review details

  • Files reviewed: 7/7 changed files
  • Comments generated: 0
  • Review effort level: Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Actions Analysis of GitHub Actions documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants