Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could have a SQL library that defaults to inserting "OR 1=1" to every update query, which the SQL standard allows. I would blame the library.


The SQL library is meant to run the query you give it.


But then "meant to" is doing the heavy lifting here. You could (and should) say that a JWT library is meant to default to secure.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: