@dominic60185
Dominik LubańskiDeveloper▲45
Full Stack & AI Developer, AIvanta
1h ago · Security · Warsaw

27 days of AI-assisted development taught me something interesting about application security

I worked on building an AI document retrieval system using Cursor and Claude Code over 27 days, focusing on document processing, contextual search, source citations, and reliable information retrieval.

One of the most interesting challenges in this kind of application is making sure users only receive information they're actually allowed to access.

AI coding tools can generate authentication and permission logic surprisingly quickly. However, a working login system doesn't necessarily mean the information behind it is properly protected.

In my previous enterprise RAG work, I implemented document-level permission filtering and verified access boundaries across five user roles and more than 1,000 automated test scenarios, with no unauthorized content leaks observed.

That experience is particularly valuable when directing coding agents. Instead of asking AI to "make the application secure," I prefer defining specific access rules and testing what each type of user should and shouldn't be able to retrieve.

If you've built a SaaS or AI knowledge assistant using vibe coding and are approaching your first real customer deployment, this is definitely something worth checking.

I'd enjoy helping founders work through these challenges without having to rebuild everything they've already created.

Comments

No comments yet
Start the conversation.
Log in to join the thread.