Menu

Post image 1
Post image 2
1 / 2
0

3 security bugs I shipped in my open-source SaaS — and how I fixed them

DEV Community: security·Konstantin·4 days ago
#6JJoaDTG
#dev#fullscreen#staff#client#settings#article
Reading 0:00
15s threshold

Shipping fast as a solo founder means you will introduce security bugs. That's not a question of skill — it's a question of bandwidth. The question is whether you catch them before someone else does. I'm building Pronto — an open-source self-hosted POS, CRM, and booking system for service businesses. During a security review of v1.0, I found three issues that made me genuinely uncomfortable. None were exploited. All are now fixed. Here's what they were, why they happened, and how I fixed each one. Bug 1: Bot tokens leaking to client-side HTML What happened Pronto supports Telegram, WhatsApp, and Viber notifications. Each tenant configures their own bot credentials in Settings. These credentials are stored in the database and used server-side to dispatch notifications. In an early version, I had a notification preview endpoint that fetched tenant settings — including bot tokens — and returned them in a JSON response that was consumed directly by a client-side component.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More