Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
LiteJQ: Jq Support in SQLite (github.com/florents-tselai)
11 points by jeroenjanssens on Feb 23, 2024 | hide | past | favorite | 2 comments


Thanks, this is really helpful!

Is there any way to write "malicious" jq code (endless loops, IO, …)?


Any input passed to jq(text,text) is directly passed through to jq's internal compiler, so it's a job left for that.

Now, can jq be used for SQL injection in an SQLite context? That's interesting in theory, but I'd assume any decent driver would validate its input as data and not code.




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

Search: