Hacker News new | past | comments | ask | show | jobs | submit

Config Files That Run Code: Supply Chain Security Blindspot

https://safedep.io/config-files-that-run-code/
I've heard about these attacks but never really had the time to understood what was happening. Some of our junior devs use VS Code, so now we have something to point them at.
loading story #48446572
loading story #48446836
Is this why Windows Defender is prompting me 2-3 times a day to submit my codex/config.toml to Microsoft for "malware analysis"? I've said no every time so far, since my first thought is "What could even be hidden there?" when I see the dialog yet again, I'm guessing Microsoft would love to see how people use their competitors' products though.
You might as well click yes, since it's all been uploaded as telemetry anyways.
Citation needed
Hell I've seen things that shouldn't be up there just scooped up by Microsoft, I had to opt-out because it was just showing my PII look ups into my Microsoft accounts search history.

https://support.microsoft.com/en-us/windows/windows-search-a...

The final straw for me was when I saw that Microsoft Defender by default could send files to their servers for inspection, and I couldn't see what was sent previously, nor was this an opt-in option, it was on by default. I have anything from PII to highly proprietary things on my computer, I don't need them being "flagged" by Microsoft for arbitrary reasons. I have been on Linux full time for the last few years since.

> VS Code, Cursor, Claude Code, Gemini CLI, npm, Composer, and Bundler all support config files that can carry a shell command.

I think they, and the CIA, call it a feature. Just like messenger apps which try to "execute" every "image file" or link thrown at them.

It's far from a blindspot. People have been yelling about this from the rooftops for the last several years.

No one cares about security. People used to care for a fairly short period of time after something bad happened to them, but even that seems to have gone by the wayside as breaches, leaks, and use of exploited code has become normalized.

loading story #48446522
{"dead":true,"deleted":true,"id":48445072,"parent":48443135,"time":1780925200,"type":"comment"}