Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

swic: a simple web interface for calibre

Дата публикации: 21-04-2026 00:00:00

I'm ~regularly doing lightweight security audits of the services I'm running
exposed on the internet. One of them is calibre-web.
After 2h and 17 security-related
pull-requests
later, I gave up and decided to write a replacement:
swic. It only has 3 user-facing
features: showing the ebooks as a list, a searchsbar, and allowing the user to
download the ebooks. I don't need anything else. UI-wise, it looks like this:
It's written in go, meaning that it's both trivial to deploy and to audit. It
has a single direct dependency
(modernc.org/sqlite) to read calibre's database.
It doesn't handle users, doesn't need to have write-access to anything, doesn't
process untrusted data besides user-provided urls, makes use of Go's
os.root to prevent path traversals. The
interface is fully responsive and doesn't use any javascript.
The code isn't the prettiest, but the whole thing was written in an evening.
You should replace calibre-web with it before somebody drops an RCE :p

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Trivial anti-crawler with Caddy08.4223-06-2026
2Carrot disclosure: Forgejo09.3528-04-2026
3The AI-authored Denial-of-Service attack08.907-07-2026
4Follow-up to Carrot disclosure: Forgejo07.330-04-2026
5Werkzeug - 3.1.5024.2908-01-2026
6Werkzeug - 3.1.7024.2924-03-2026
7Multicalc 0.6.0: a no_std multivariable calculus library now looking for contributors5728-06-2026
8v-ase-gui 0.0.520520-07-2026
9net/go-pkgsite - 0.4.0035.115-08-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 9. Тональность: 0. Информативность: 11.32. Источник: dustri.org.