<?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: Alhassane Samassekou</title>
    <description>The latest articles on DEV Community by Alhassane Samassekou (@asamassekou).</description>
    <link>https://dev.to/asamassekou</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%2F3842506%2F3d3cfd2c-53b3-4baf-9673-6ab652c04142.png</url>
      <title>DEV Community: Alhassane Samassekou</title>
      <link>https://dev.to/asamassekou</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asamassekou"/>
    <language>en</language>
    <item>
      <title>Securing AI-Generated Code Before It Ships</title>
      <dc:creator>Alhassane Samassekou</dc:creator>
      <pubDate>Fri, 07 Aug 2026 10:16:32 +0000</pubDate>
      <link>https://dev.to/asamassekou/securing-ai-generated-code-before-it-ships-pm4</link>
      <guid>https://dev.to/asamassekou/securing-ai-generated-code-before-it-ships-pm4</guid>
      <description>&lt;p&gt;AI coding tools are getting good enough that a lot of code now goes from prompt to pull request very quickly.&lt;/p&gt;

&lt;p&gt;I started building this after repeatedly seeing AI-generated code that looked clean in review, but shipped with risky defaults.&lt;br&gt;
That speed is useful, but it also changes what we need to check before shipping.&lt;/p&gt;

&lt;p&gt;The risky parts are not always obvious. It might be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a permissive CORS config&lt;/li&gt;
&lt;li&gt;a leaked token in a generated example&lt;/li&gt;
&lt;li&gt;an unsafe GitHub Actions workflow&lt;/li&gt;
&lt;li&gt;an MCP server config with too much access&lt;/li&gt;
&lt;li&gt;an AI agent that can call tools without enough boundaries&lt;/li&gt;
&lt;li&gt;a package install script that does more than it should&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I built &lt;strong&gt;Ship Safe&lt;/strong&gt; to help catch those issues locally and in CI.&lt;/p&gt;

&lt;p&gt;It is an open-source CLI security scanner focused on modern AI-assisted development workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Locally
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx ship-safe scan &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use It In CI
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx ship-safe ci &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--sarif&lt;/span&gt; results.sarif
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ship Safe checks application code, secrets, dependencies, CI/CD workflows, MCP configs, AI agent patterns, and supply-chain risks.&lt;/p&gt;

&lt;p&gt;The goal is not to replace a full security program. It is to give developers a fast local check before risky code lands in a repo, especially when that code was generated or heavily modified by AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/asamassekou10/ship-safe" rel="noopener noreferrer"&gt;https://github.com/asamassekou10/ship-safe&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’d love feedback from developers using AI coding tools, MCP, agents, or security automation in their workflow.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cybersecurity</category>
      <category>opensource</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
