security: remove an auto-executing task and the file it runs - #1
Open
Ndevu12 wants to merge 1 commit into
Open
Conversation
5 files arrived together in 1ee3187: 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.vscode/tasks.jsonin this repository defines a task that runs automatically when thefolder is opened, and what it runs is not a font.
The mechanism
The command is
node ./public/fonts/fa-solid-400.woff2.Why that file is not a font
A real WOFF2 begins with the magic bytes
wOF2(774f4632). In this repository:public/fonts/fa-solid-400.woff220202020(four spaces)public/fonts/fa-solid-900.woff2774f4632public/fonts/fa-brands-400.woff2774f4632public/fonts/fa-regular-400.woff2774f4632It is whitespace-padded JavaScript. The other font files are genuine, which is what makes the odd
one hard to spot.
What this PR does
Removes the 5 files that arrived together in 1ee3187: the five
.vscode/files andpublic/fonts/. Nothing else is touched — that commit's change to other files is left alone, and nohistory is rewritten.
Two things worth acting on
The task is marked
hidewithreveal: never, so nothing appears in the terminal.checked separately.
Note the commit date on 1ee3187 reads 2025, but it was pushed on 2026-08-22.