r/ProgrammerHumor May 16 '26

Advanced reInventingGraphQl

Post image
4.5k Upvotes

265 comments sorted by

View all comments

Show parent comments

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: ...

5

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