<?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: Ansh Sonkar</title>
    <description>The latest articles on DEV Community by Ansh Sonkar (@theanshsonkar).</description>
    <link>https://dev.to/theanshsonkar</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3953551%2F3bcd0dfc-5e1a-4a08-840a-2ba5240b2ac7.jpeg</url>
      <title>DEV Community: Ansh Sonkar</title>
      <link>https://dev.to/theanshsonkar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/theanshsonkar"/>
    <language>en</language>
    <item>
      <title>Experimented to fork AWS infra graph and simulate what breaks before you deploy</title>
      <dc:creator>Ansh Sonkar</dc:creator>
      <pubDate>Wed, 27 May 2026 04:52:56 +0000</pubDate>
      <link>https://dev.to/theanshsonkar/experimented-to-fork-aws-infra-graph-and-simulate-what-breaks-before-you-deploy-2005</link>
      <guid>https://dev.to/theanshsonkar/experimented-to-fork-aws-infra-graph-and-simulate-what-breaks-before-you-deploy-2005</guid>
      <description>&lt;p&gt;Cloud security still feels heavily deploy → detect → respond, so I wanted to try flipping the workflow.&lt;/p&gt;

&lt;p&gt;You connect an AWS account, Emfirge pulls infrastructure state across 18+ AWS services and builds a topology graph: SG → EC2 → IAM Role → S3 → RDS etc.&lt;/p&gt;

&lt;p&gt;Then i keep two copies, One is real state and the other is Clone for mutations like staging environment for your security posture.&lt;/p&gt;

&lt;p&gt;When you open a tf Pr I parse the diff, apply it to the clone and rebuild the graph, run BfS from internet. New path from internet to your database? Kinda this shows up in the PR comment before merge.&lt;br&gt;
Same for simulation add any component of cloud and mutate on the actual Infrastructure.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
If a change introduces a new internet → database path, it shows up during PR validation before merge.&lt;/p&gt;

&lt;p&gt;Then I introduced 3 phases all powered by the same graph:&lt;/p&gt;

&lt;p&gt;NOW&lt;br&gt;
Current attack paths, blast radius, infra exposure, breach simulation&lt;/p&gt;

&lt;p&gt;WHAT IF&lt;br&gt;
Add/mutate cloud components and simulate security consequences before deployment&lt;/p&gt;

&lt;p&gt;TIMELINE&lt;br&gt;
Infrastructure drift, posture changes, and historical attack-path evolution over time&lt;/p&gt;

&lt;p&gt;Still very early and exploring the direction. Curious what cloud/devops/security engineers think about infrastructure consequence simulation becoming part of CI/CD workflows.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.emfirge.cloud" rel="noopener noreferrer"&gt;https://www.emfirge.cloud&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>cloud</category>
      <category>security</category>
    </item>
  </channel>
</rss>
