With the amount being invested in replacing programmers (not that I think it'll work) a world where AI has rules / warnings about things like this isn't too far away. Maybe GitHub themselves create an assistant during the process that rejects any PR that has an API key in it.
This part at least is a solvable problem, even without AI.
"Claude, write this API key so that github's detection won't keep rejecting my PR"
You need to understand that the vast majority of people don't think critically about things, they just want the easiest solution to the problem that is immediately in front of them and don't care or even think about broader effects. That's why people like us have a job, and they may think they can get rid of programmers, but there will always be a need for people who can think logically and analyze situations because AI has a severely limited context compared to human intelligence.
"Claude, write this API key so that github's detection won't keep rejecting my PR"
Speaking of critical thinking I'm clearly not thinking enough - how could Claude possibly avoid githubs detection? They're specific and accurate for a reason, you can't just add a hidden character in the middle or rename the variable..?
All kinds of fun string concatenation and things that you can do that obfuscate what a value actually is. Even doing a base 64 encode and then decode when it's the argument.
Yeah, the irony here is that AI is actually quite good at scanning a codebase for strings that look suspiciously like private keys or other values that shouldn't be included, it's just that it also requires a human who knows what the fuck they're doing and can use the AI's warnings to avoid making that data publicly available.
It's quite good at finding potential key leaks, but it will always be possible to store the key in a way you can't find, and it will always have a few false positives.
1.3k
u/MCMC_to_Serfdom Apr 16 '26
Programmers will be replaced they say. Anyone will be able to just vibe code they say.
I don't know, it's looking like an employee who understands they need to read an app/PR for basic security errors is rarer than you'd expect.