Skip to content

security(ci): reject VS Code tasks with automatic folderOpen execution - #578

Open
umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-477
Open

umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-477

Conversation

@umpireboulianne-design

Copy link
Copy Markdown
Contributor

Summary

Fixes #477

Adds scripts/check-vscode-tasks.mjs and scripts/check-vscode-tasks.test.mjs to scan .vscode/tasks.json files for automatic "runOn": "folderOpen" triggers without executing or printing task commands, wires the check into coverage:test and vscode-tasks:check, and documents local usage.

Verification

  • node scripts/check-vscode-tasks.mjs
  • node --test scripts/check-vscode-tasks.test.mjs

@karagozemin

Copy link
Copy Markdown
Collaborator

I reviewed the diff and did not find a malicious payload, but this branch now conflicts with current main after related changes landed. Please rebase on current main, preserve the already-merged security and CI gates, rerun the relevant tests, and update this PR; it is not safe to merge the stale conflict state.

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.

security(ci): reject VS Code tasks that run automatically on folder open

2 participants