| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Two moderate findings remain in CachePoisoningQuery.qll concerning tags-ignore handling and implicit caller-mode propagation.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite (auto)
Findings: 1
Note
Copilot is running an experiment and ran this review at Lite.
Updates CodeQL’s GitHub Actions cache-poisoning analysis for the new cache-mode syntax, reusable-workflow limits, and trigger scenarios.
Changes:
| File | Reviewed change |
|---|---|
| actions/ql/test/query-tests/Security/CWE-349/CacheWriteAccess.ql | Adds cache-mode cache-write behavior tests. |
| actions/ql/test/query-tests/Security/CWE-349/CacheWriteAccess.expected | Records expected cache-write results. |
| actions/ql/test/query-tests/Security/CWE-349/CachePoisoningViaPoisonableStep.expected | Updates expected poisonable-step results. |
| actions/ql/test/query-tests/Security/CWE-349/CachePoisoningViaDirectCache.expected | Updates expected direct-cache results. |
| actions/ql/test/query-tests/Security/CWE-349/CachePoisoningViaCodeInjection.expected | Updates expected code-injection results. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/poisonable_step1.yml | Adds poisonable-step workflow coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/direct_cache1.yml | Adds direct-cache workflow coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/code_injection1.yml | Adds code-injection workflow coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/cache_write_capable_workflow_dispatch.yml | Adds workflow-dispatch trigger coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/cache_write_capable_reusable_workflow_caller.yml | Adds reusable-workflow caller coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/cache_write_capable_push.yml | Adds push-trigger coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/cache_write_capable_pull_request.yml | Adds pull-request trigger coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/cache_mode_reusable.yml | Adds reusable-workflow cache-mode coverage. |
| actions/ql/test/query-tests/Security/CWE-349/.github/workflows/cache_mode_nested.yml | Adds nested cache-mode coverage. |
| actions/ql/src/Security/CWE-349/CachePoisoningViaPoisonableStep.md | Documents cache-mode guidance. |
| actions/ql/src/Security/CWE-349/CachePoisoningViaDirectCache.md | Documents cache-mode guidance. |
| actions/ql/src/Security/CWE-349/CachePoisoningViaCodeInjection.md | Documents cache-mode guidance. |
| actions/ql/src/change-notes/2026-09-17-cache-mode.md | Documents query behavior changes. |
| actions/ql/lib/codeql/actions/security/CachePoisoningQuery.qll | Implements cache-mode and trigger analysis. Two moderate findings remain: tags-ignore handling suppresses valid default-branch findings (2 votes), and implicit caller-mode propagation can incorrectly allow write callees (1 vote). |
| actions/ql/lib/codeql/actions/ast/internal/Ast.qll | Adds internal cache-mode accessors. |
| actions/ql/lib/codeql/actions/Ast.qll | Exposes cache-mode accessors. |
| actions/ql/lib/change-notes/2026-09-17-cache-mode.md | Documents library and API changes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://github.blog/changelog/2026-09-10-control-github-actions-cache-access-with-cache-mode/