<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jaden</title>
    <description>The latest articles on DEV Community by Jaden (@trust-security).</description>
    <link>https://dev.to/trust-security</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4261712%2Fd4c1b365-69af-457e-bcc5-00a3015ddf8c.png</url>
      <title>DEV Community: Jaden</title>
      <link>https://dev.to/trust-security</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/trust-security"/>
    <language>en</language>
    <item>
      <title>I scanned 71 vibe-coded apps. 2 out of 3 had API keys in the code or vulnerable packages.</title>
      <dc:creator>Jaden</dc:creator>
      <pubDate>Thu, 26 Nov 2026 06:56:52 +0000</pubDate>
      <link>https://dev.to/trust-security/i-scanned-71-vibe-coded-apps-2-out-of-3-had-api-keys-in-the-code-or-vulnerable-packages-29m0</link>
      <guid>https://dev.to/trust-security/i-scanned-71-vibe-coded-apps-2-out-of-3-had-api-keys-in-the-code-or-vulnerable-packages-29m0</guid>
      <description>&lt;p&gt;&lt;strong&gt;[Disclosure]&lt;/strong&gt;&lt;br&gt;
I build Trust, a security checker for apps made with AI coding tools.&lt;/p&gt;

&lt;p&gt;⭐ Try it free: &lt;a href="https://www.trust-scan.me" rel="noopener noreferrer"&gt;https://www.trust-scan.me&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvtjuygdgdpsxpx1m13er.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvtjuygdgdpsxpx1m13er.png" alt=" " width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why I started checking
&lt;/h2&gt;

&lt;p&gt;Last year I shipped a product I built with AI coding tools. The first sign of trouble was a Vercel alert: &lt;strong&gt;"A spike in abnormal, intrusion-like traffic."&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What scared me was not only the fix. Even if I patched it right away, would another hole open up next week?&lt;/p&gt;

&lt;p&gt;In Korea, news of a hacking incident or a personal data leak comes out almost every week.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft5hgmkl2qs9upd0wlki6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft5hgmkl2qs9upd0wlki6.png" alt=" " width="681" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I found in 71 repos
&lt;/h2&gt;

&lt;p&gt;In the last 30 days, people outside our team scanned &lt;strong&gt;71 GitHub repos&lt;/strong&gt; with Trust (latest scan of each repo). Most were built with Cursor, Claude Code, Lovable and similar tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;46 of 71 (65%) had at least one of the first two problems below.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Packages with known vulnerabilities: 38 of 71 repos (54%)&lt;/strong&gt; &lt;br&gt;
The AI picks a package version that worked in its training data. &lt;br&gt;
That version often has a published security fix you never installed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. API keys or credentials written into the code: 30 of 71 repos (42%)&lt;/strong&gt;&lt;br&gt;
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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Raw HTML rendering (innerHTML, dangerouslySetInnerHTML): 24 of 71 repos (34%)&lt;/strong&gt;&lt;br&gt;
Fine for static text. Risky the moment anything a user typed reaches it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqftxk6ieurf7av29xahb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqftxk6ieurf7av29xahb.png" alt=" " width="799" height="599"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Check your own app in 5 minutes
&lt;/h2&gt;

&lt;p&gt;You do not need any tool for this&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run &lt;code&gt;npm audit&lt;/code&gt; (or your package manager's equivalent) and update the direct dependencies it lists.&lt;/li&gt;
&lt;li&gt;Search your repo &lt;strong&gt;and its git history&lt;/strong&gt; for &lt;code&gt;KEY&lt;/code&gt;, &lt;code&gt;SECRET&lt;/code&gt;, &lt;code&gt;postgres://&lt;/code&gt; and &lt;code&gt;sk-&lt;/code&gt;. If a server key was ever committed, rotate it. Deleting the line is not enough.&lt;/li&gt;
&lt;li&gt;Search for &lt;code&gt;innerHTML&lt;/code&gt; and &lt;code&gt;dangerouslySetInnerHTML&lt;/code&gt; and check whether user input can reach them.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Or let your coding agent do it
&lt;/h2&gt;

&lt;p&gt;Now, after any new feature or fix, right before I commit or open a PR, I ask my LLM, &lt;em&gt;"Run a security check on my service and review it adversarially."&lt;/em&gt; It calls Trust through MCP.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvufoboimzopbt28pfck0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvufoboimzopbt28pfck0.png" alt=" " width="542" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;u&gt;What it can do from Cursor or Claude Code?&lt;/u&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;scan_repo_and_wait&lt;/code&gt;: scans a GitHub repo for leaked keys, risky code patterns and vulnerable dependencies&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;get_fix_plan&lt;/code&gt;: returns a fix plan with file, line and the change to make, so your agent can apply it&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;scan_and_wait&lt;/code&gt;: checks a deployed URL you own (ownership is verified first)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  [Setup] add this to your MCP settings, then sign in once when asked.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; 
   &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; 
                &lt;span class="nl"&gt;"trust"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; 
       &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://trust-mcp-knnd76vaqq-du.a.run.app/mcp"&lt;/span&gt;
                         &lt;span class="p"&gt;}&lt;/span&gt; 
                &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  What a scanner cannot tell you
&lt;/h2&gt;

&lt;h2&gt;
  
  
  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.  
&lt;/h2&gt;

&lt;h2&gt;
  
  
  The feedback I want most
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Would you use it again?&lt;/li&gt;
&lt;li&gt;What was your first impression?&lt;/li&gt;
&lt;li&gt;Is it worth paying for?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The free plan covers repo scans and fix plans. If you are up for a 30 minute call, 📅 &lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;I am offering 3 months of Pro&lt;/strong&gt;: &lt;a href="https://cal.com/trust-scan/interview" rel="noopener noreferrer"&gt;https://cal.com/trust-scan/interview&lt;/a&gt;
&lt;/h1&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>security</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
