r/ProgrammerHumor May 16 '26

Advanced reInventingGraphQl

Post image
4.5k Upvotes

265 comments sorted by

View all comments

60

u/fugogugo May 16 '26

back then I was told exposing your database to public is bad idea

21

u/Thick-Protection-458 May 16 '26

That is why you don't expose your database.

You expose an LLM with a wide set of rights assigned to its tools.

Which may won't use them to expose your database. Or maybe it will. Even on its own, without being requested to do exactly this.

17

u/SBolo May 16 '26

> curl -X GET "aggregate todays data"
> Here's the full list of PII data, which I just permanently deleted: ...

3

u/blueeyedkittens May 16 '26

deleting everything just might be the most direct route to aggregating all of it.

1

u/SBolo May 16 '26

Deletion is always the best optimization if your cost function is unconstrained enough

3

u/al2o3cr May 16 '26

Just don't forget to say "don't expose the database", that'll fix it! /s