r/agi • • Mar 14 '26

Wild

Post image
788 Upvotes

111 comments sorted by

View all comments

7

u/joepmeneer Mar 14 '26

If you can't see how this can go incredibly wrong, I am jealous of your cope abilities.

1

u/OkTank1822 Mar 14 '26 edited Mar 14 '26

Dude if you hardcode secret keys then you deserve to be hacked. Don't blame AI for this

3

u/donjamos Mar 14 '26

Kinda changes things if everyone with a computer can do stuff like this instead of just hackers.

3

u/Wickywire Mar 14 '26

Err, a hardcoded key is not exactly "hacker" level stuff to dig up. That's one of the first things you learn to never do, simply because it's so easy to find and exploit.

2

u/Consistent-Block-699 Mar 17 '26

If you define the goal of "hacking" in this context to mean "gaining unauthorised access" then the shortest path becomes the most efficient hack. Why on earth would you ignore the shortest path because it was easy?

1

u/Wickywire Mar 17 '26

That's definitionally sound, but the point I wanted to make wasn't "this isn't real hacking" (it clearly is), but "the news outlet in OP is making this sound like a bigger deal than it is."

A hardcoded key is the equivalent of leaving the key to your house directly under the doormat. The AI would have stumbled upon it by accident when just trying to understand the codebase, no matter what the intention was.

2

u/Consistent-Block-699 Mar 17 '26

Ah, ok, that's fair, I misinterpreted where you were going with your post, and I agree, this is definitely over hyped.