I scanned 71 vibe-coded apps. 2 out of 3 had API keys in the code or vulnerable packages.
[Disclosure] I build Trust, a security checker for apps made with AI coding tools. ⭐ Try it free: https://www.trust-scan.me Why I started checking Last year I shipped a product I built with AI coding to
[Disclosure]
I build Trust, a security checker for apps made with AI coding tools.
⭐ Try it free: https://www.trust-scan.me
Why I started checking
Last year I shipped a product I built with AI coding tools. The first sign of trouble was a Vercel alert: "A spike in abnormal, intrusion-like traffic."
What scared me was not only the fix. Even if I patched it right away, would another hole open up next week?
In Korea, news of a hacking incident or a personal data leak comes out almost every week.

Watching those headlines, I kept thinking: is this the time I become the one in the news? Would I have to pay fines? I did not know where to start. So I built a check that a solo builder can run in a few minutes, and I started using it on every change.
What I found in 71 repos
In the last 30 days, people outside our team scanned 71 GitHub repos with Trust (latest scan of each repo). Most were built with Cursor, Claude Code, Lovable and similar tools.
46 of 71 (65%) had at least one of the first two problems below.
1. Packages with known vulnerabilities: 38 of 71 repos (54%)
The AI picks a package version that worked in its training data.
That version often has a published security fix you never installed.
2. API keys or credentials written into the code: 30 of 71 repos (42%)
Some are meant to be public (a Firebase web key, for example). But database URLs and server API keys showed up too. Once a server key is in a public repo, anyone can use it.
3. Raw HTML rendering (innerHTML, dangerouslySetInnerHTML): 24 of 71 repos (34%)
Fine for static text. Risky the moment anything a user typed reaches it.
Check your own app in 5 minutes
You do not need any tool for this
- Run
npm audit(or your package manager's equivalent) and update the direct dependencies it lists. - Search your repo and its git history for
KEY,SECRET,postgres://andsk-. If a server key was ever committed, rotate it. Deleting the line is not enough. - Search for
innerHTMLanddangerouslySetInnerHTMLand check whether user input can reach them.
Or let your coding agent do it
Now, after any new feature or fix, right before I commit or open a PR, I ask my LLM, "Run a security check on my service and review it adversarially." It calls Trust through MCP.
What it can do from Cursor or Claude Code?
-
scan_repo_and_wait: scans a GitHub repo for leaked keys, risky code patterns and vulnerable dependencies -
get_fix_plan: returns a fix plan with file, line and the change to make, so your agent can apply it -
scan_and_wait: checks a deployed URL you own (ownership is verified first)
[Setup] add this to your MCP settings, then sign in once when asked.
{
"mcpServers": {
"trust": {
"url": "https://trust-mcp-knnd76vaqq-du.a.run.app/mcp"
}
}
}
What a scanner cannot tell you
It flags patterns, so some findings will not matter in your app. It cannot see pages behind a login unless you prove you own the site first. Treat the list as a starting point, not a verdict.
The feedback I want most
- Would you use it again?
- What was your first impression?
- Is it worth paying for?
The free plan covers repo scans and fix plans. If you are up for a 30 minute call, 📅
I am offering 3 months of Pro: https://cal.com/trust-scan/interview
Thank you.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.

