Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The audit documentation still contains three unresolved accuracy and scope issues: an ambiguous commit count, an inaccurate description of walker behavior, and an omitted coverage-only suppression exception.
3 open issues
What changed in this PR
Adds the 2026-11-26 compiler threat-spec mapping audit, documenting how recent compiler, linter, runtime, and configuration changes relate to existing threat-detection coverage without introducing implementation or specification changes.
Changes:
- Records coverage dispositions for the reviewed security-related commits.
- Documents existing threat-rule and routing-history coverage.
- Notes validation limitations and suppression-scan results.
| File | Description |
|---|---|
| specs/compiler-threat-detection-changelog.md | Adds the dated compiler threat-spec mapping audit entry with its reviewed changes, coverage assessment, and validation notes. |
Review effort: Lite (adaptive)
|
|
||
| ### Mapping Audit (2026-11-26) | ||
|
|
||
| Reviewed commits from the last two days (most recent: #81182, #81171, #81162, #81144, #81142, #81116, #81034, #81033, #80999, #80766, #80582) touching compiler, linter, and runtime security boundaries. |
|
|
||
| Findings and disposition: | ||
|
|
||
| - Shell AST finding preservation (#81033): already implemented. The CTR-038 visitor in `pkg/workflow/lint/safe_output_credentials.go` latches `found = true` and the remote-script walker in `remote_script_execution.go` stops at the first positive finding, so later statements or redirects cannot clear it. Existing CTR-038 cases in `safe_output_credentials_test.go` cover protected redirects combined with stderr redirection in both orders; Section 7 already maps CTR-038 to those files. No spec change and no new `CTR-*` rule. |
There was a problem hiding this comment.
Corrected the description: the walker appends findings without overwriting earlier ones as it continues traversing sibling statements and redirects. Updated in bb32a1c.
| - Sandboxed threat detection port to JavaScript (#80582): runtime detector shipped by the setup action; it does not alter the compiler-emitted detection gate or CTR-detection-gate rules. No new `CTR-*` rule. | ||
| - Sensitive public file permission linter (#80766), TrimSpace byte-conversion analyzer (#81116), and coverage staging conflict rejection (#81034): repository development tooling, not checks on compiler-generated workflows. No new `CTR-*` rule. | ||
| - Project status update safe-output defaults (#80999), CLI help (#81108), and documentation/context changes (#81182, #81167, #81151): no compiler-generated security construct changed. | ||
| - No `threat-detection-suppress` annotations exist in workflow sources outside this optimizer prompt, so no suppression SLA action applies. |
There was a problem hiding this comment.
Clarified that the schema-demo annotation is coverage-only and that no production suppression requires SLA action. Updated in bb32a1c.
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "506039e15430f0f69c5ac430e259fba56ebb1f7a",
"kind": "requested",
"schema_version": "1",
"state": "70ff2c148093ece0609e1ee223ebe334156949b2559277cb579d74a73ad88531",
"work": [
"64a082cbe93a921440d3b22b7cc52cc77e0ff14e4213e3986a013c7b756b547c",
"b65a530a661692796ca089e46641f90a0f2d417bd15de1bced77362bf4a6e8cd",
"d28ce1c68e61201d8a3fbbb7b66481a2f2208b21435f73ea930f5c7f29617bbd"
],
"workflow": "pr-sous-chef"
}
|
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Merged with the latest |
|
🎉 This pull request is included in a new release. Release: |

Overview
Daily mapping audit of recent compiler, linter and runtime security changes against
specs/compiler-threat-detection-spec.md. All reviewed threats were already covered; no implementation or spec change was needed.Key metrics
specs/compiler-threat-detection-changelog.md(new### Mapping Audit (2026-11-26)entry)threat-detection-suppressannotations outside the optimizer prompt, so no SLA action applies.View Details
safe_output_credentials.golatchesfound = trueandremote_script_execution.gostops at the first positive finding; existing CTR-038 tests cover redirect plus stderr-redirect orderings.Next actions
None required.