Hi Ludo, I saw that (cuirass database) has some problems with sql injection. I defused it a little, see attached patch. The idea is that sqlite-exec uses sqlite-bind to pass arguments rather than formatting them on its own. While we are at it, we can also reuse prepared statements (using the sqltext as key to find the right one). I also monitor sqlite accesses now - maybe that's overkill (see "with-mutex").