Skip to content

security: retire resolved findings from 2026-06-19 SARIF files - #685

Merged
jeduden merged 3 commits into
mainfrom
claude/lucid-einstein-gg4ki5
Jun 23, 2026
Merged

security: retire resolved findings from 2026-06-19 SARIF files#685
jeduden merged 3 commits into
mainfrom
claude/lucid-einstein-gg4ki5

Conversation

@jeduden

@jeduden jeduden commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

All security findings from the 2026-06-19 full-repo and lsp/vscode audits have been remediated by earlier commits merged via PR #670 and related PRs. This PR updates the two findings.sarif files so the security-audit-sarif.yml workflow re-uploads them and GitHub code scanning marks the stale alerts as fixed.

Dependabot status: All 4 historical Dependabot alerts are already in fixed state — no action needed there.

Code scanning alerts closed by this PR (stale since the fix was already in main):

Alert Finding Severity Fix
#49 S001 <?include?> symlink traversal error os.OpenRoot RESOLVE_BENEATH (PR #670)
#50 S002 <?catalog?> symlink traversal error os.OpenRoot RESOLVE_BENEATH (PR #670)
#51 S003 CLI goroutines missing recover() warning per-goroutine defer recover() (PR #670)
#52 S004 catalog file-count OOM note 10 000-file cap (PR #670)
#53 S005 hasSymlinkAncestor unverifiable boundary note error return (PR #670)
#54 S006 include URL scheme incidental guard note explicit strings.Contains check (PR #670)
#55 S007 githooksync unbounded read note bytelimit.ReadFileLimited (PR #670)
#61 LSP/VS Code S006 kinds commands without trust gate note isTrusted() guard in kinds.ts
#62 LSP/VS Code S007 rule-doc provider without trust gate note isTrusted() guard in wiring.ts

The lsp-vscode-audit S001–S005 entries (all security-severity: 0.0) are positive security-posture confirmations and are retained as reference notes.

Changes

  • docs/security/2026-06-19-full-repo-audit/findings.sarif: cleared all 7 results (S001–S007 all fixed)
  • docs/security/2026-06-19-lsp-vscode-audit/findings.sarif: removed S006 and S007 results (fixed); S001–S005 positive notes retained

Test plan

🤖 Generated with Claude Code

https://claude.ai/code/session_013QMx3tTsvn9BiCut4crSCN


Generated by Claude Code

All seven findings in the full-repo-audit (S001–S007) and the two
actionable findings in the lsp-vscode-audit (S006, S007) have been
remediated by earlier commits and PRs. Clear them from findings.sarif
so the security-audit-sarif.yml workflow re-uploads the files and
GitHub code scanning marks the stale alerts as fixed.

Fixes resolved per finding:
- S001/S002 (symlink traversal, HIGH): os.OpenRoot RESOLVE_BENEATH — PR #670
- S003 (missing recover, MED): per-goroutine defer recover() — PR #670
- S004 (catalog OOM, LOW): 10 000-file cap — PR #670
- S005 (hasSymlinkAncestor, LOW): error return when boundary unknown — PR #670
- S006 (include URL scheme, INFO): explicit strings.Contains check — PR #670
- S007 (githooksync unbounded read, INFO): bytelimit.ReadFileLimited — PR #670
- LSP/VSCode S006 (kinds commands, LOW): isTrusted() guard in kinds.ts
- LSP/VSCode S007 (rule-doc provider, LOW): isTrusted() guard in wiring.ts

The lsp-vscode-audit S001–S005 entries are positive security-posture
confirmations (security-severity: 0.0) and are retained as reference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013QMx3tTsvn9BiCut4crSCN
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.62%. Comparing base (1599c9f) to head (7d2a6ce).

Additional details and impacted files
Components Coverage Δ
Go 98.61% <ø> (ø)
TypeScript 99.54% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

claude added 2 commits June 22, 2026 23:20
…ort.md

findings.sarif already had S006/S007 results removed in the previous
commit; this keeps findings.json and report.md in sync so a future
skill run reading findings.json as a prior-audit baseline does not
carry-forward already-fixed findings and re-open the GitHub alerts.

Both findings were fixed by PR #670:
- S006: isWorkspaceTrusted added to commandPalette when-conditions
  (package.json:125-130) and isTrusted() guard in kinds.ts:42,58
- S007: isTrusted() guard added to RULE_SCHEME content provider
  (wiring.ts:915)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013QMx3tTsvn9BiCut4crSCN
All 7 findings from the 2026-06-19 full-repo audit were fixed in PR #670.
The companion SARIF results were already cleared; this adds the matching
status/fixed_by fields to findings.json so the two files agree on fix
state — the same pattern applied for lsp-vscode S006/S007.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013QMx3tTsvn9BiCut4crSCN
@jeduden jeduden added queue Add to a PR to enqueue it queue:active Applied automatically when a PR is in an active batch and removed queue Add to a PR to enqueue it labels Jun 23, 2026
@jeduden

jeduden commented Jun 23, 2026

Copy link
Copy Markdown
Owner Author

🟢 Merge Queue — picked up

This PR is in the queue and will be batched with other queue-labelled PRs.

Next: No action needed — you'll get another comment when CI starts on the batch. View merge queue run.

@jeduden

jeduden commented Jun 23, 2026

Copy link
Copy Markdown
Owner Author

🔵 Merge Queue — CI running

Merged into batch branch merge-queue/batch-685-1782246134. View CI run.

Next: No action needed — you'll be notified when CI completes.

@jeduden jeduden removed the queue:active Applied automatically when a PR is in an active batch label Jun 23, 2026
@jeduden
jeduden merged commit dabbdc0 into main Jun 23, 2026
36 checks passed
@jeduden

jeduden commented Jun 23, 2026

Copy link
Copy Markdown
Owner Author

Merge Queue — merged

This PR landed on main via commit dabbdc0. CI run that validated the merge.

Next: Done — nothing more to do here.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants