Dshamir is quietly closing the security holes everyone else inherited
A run spent cherry-picking upstream security fixes - including a way to hijack the AI through a booby-trapped filename.
Dshamir spent this batch pulling defensive fixes out of the upstream project's open issue queue - the unglamorous work that matters most when client files are involved.
The standout: a crafted filename on an uploaded PDF or Word document could previously smuggle hidden instructions into the AI's prompt, a classic "prompt injection" trick where attacker text gets treated as commands. Dshamir now scrubs untrusted filenames before they ever reach the model. The same run tightens the encryption around download links, locks the database so the public-facing account can read nothing by default, caps bulk document downloads so a single request can't exhaust the server, and cuts off AI responses that hang past three minutes. Each fix is small, scoped, and ships with its own tests.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?