<?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: Adam M</title>
    <description>The latest articles on DEV Community by Adam M (@adamm285).</description>
    <link>https://dev.to/adamm285</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%2F4100952%2F38e5e529-9888-4d33-86d8-af1119b09949.jpg</url>
      <title>DEV Community: Adam M</title>
      <link>https://dev.to/adamm285</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adamm285"/>
    <language>en</language>
    <item>
      <title>I Got Tired of Spam Calls, So I Built an AI Honeypot on Google Cloud</title>
      <dc:creator>Adam M</dc:creator>
      <pubDate>Sun, 30 Aug 2026 18:31:51 +0000</pubDate>
      <link>https://dev.to/adamm285/i-got-tired-of-spam-calls-so-i-built-an-ai-honeypot-on-google-cloud-556i</link>
      <guid>https://dev.to/adamm285/i-got-tired-of-spam-calls-so-i-built-an-ai-honeypot-on-google-cloud-556i</guid>
      <description>&lt;p&gt;If you run a small service business or trade outfit, your phone is basically your cash register. The problem is, it’s also an open door for everyone trying to sell you SEO, commercial loans, or health insurance.&lt;/p&gt;

&lt;p&gt;Even worse, these telemarketers use predictive auto-dialers that hit your phone 4 to 6 times in rapid succession. They spoof local prefixes so it looks like a neighbor or client is calling. &lt;/p&gt;

&lt;p&gt;If you ignore the phone, you miss high-value homeowners and general contractors with immediate deadlines. If you answer, you end up wasting a few minutes with a call center while standing in the middle of a project.&lt;/p&gt;

&lt;p&gt;Voicemail doesn't cut it, and simple number blocking doesn't work when they cycle through hundreds of virtual numbers. &lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;CallSmith AI&lt;/strong&gt;: an autonomous inbound voice system that answers the phone, figures out who is calling in real time, and handles the situation accordingly.&lt;/p&gt;




&lt;h3&gt;
  
  
  The Strategy: Three Distinct Paths
&lt;/h3&gt;

&lt;p&gt;Every incoming call falls into one of three buckets, and treating them all the same way is a recipe for lost money or wasted time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The High-Value Homeowner:&lt;/strong&gt; They want a quote for a remodel. They don’t want to leave a voicemail—they’ll just call the next person on Google. CallSmith talks to them, gets their rough scope, and immediately sends an SMS asking for site photos. If they text pictures back, the system flags them as high-priority and drops them into a &lt;code&gt;#vip-leads&lt;/code&gt; Discord channel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The General Contractor:&lt;/strong&gt; Commercial GCs don't need a sales pitch; they need paperwork. They want to know if you have active workers' comp, liability insurance, and a W-9. The agent explains our coverage limits, grabs the estimator's email, and automatically queues up our compliance packet (COI + W-9 + licenses) for delivery.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Persistent Telemarketer:&lt;/strong&gt; Instead of hanging up, the agent plays along. Powered by Gemini, it uses dynamic stalling dialogue to tie up their phone lines. It formally delivers a Do Not Call (DNC) warning on the recorded line. If their auto-dialer calls back within that 4-to-6 burst window, it logs the transcript, timestamps, and caller ID into an immutable dossier for statutory TCPA claims ($500 to $1,500 per willful violation).&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  How the Stack Actually Works
&lt;/h3&gt;

&lt;p&gt;Here’s the high-level architecture:&lt;/p&gt;

&lt;p&gt;[ Inbound Call ]&lt;br&gt;
│&lt;br&gt;
▼&lt;br&gt;
[ Twilio + STIR/SHAKEN ] ───(Flags Neighbor Spoofing)&lt;br&gt;
│&lt;br&gt;
▼&lt;br&gt;
[ Cloud Run: FastAPI Microservice ]&lt;br&gt;
│&lt;br&gt;
├──► &lt;a href="https://dev.toIntent%20&amp;amp;%20Real-time%20Reasoning"&gt; Gemini 3.5 Flash / Google GenAI SDK &lt;/a&gt;&lt;br&gt;
├──► &lt;a href="https://dev.toLow-latency%20Audio"&gt; Google Cloud Text-to-Speech &lt;/a&gt;&lt;br&gt;
│&lt;br&gt;
▼&lt;br&gt;
[ Deterministic Routing ]&lt;br&gt;
├──► Homeowner ──► SMS Photo Request ──► #vip-leads (Discord)&lt;br&gt;
├──► GC / Bids ──► Auto-Email Packet ──► #gc-compliance (Discord)&lt;br&gt;
└──► Scammer   ──► Stalling Loop     ──► TCPA Evidence Locker&lt;/p&gt;
&lt;h4&gt;
  
  
  1. Telephony &amp;amp; The Anti-Spoofing Perimeter
&lt;/h4&gt;

&lt;p&gt;Calls arrive via Twilio webhooks. Before doing anything heavy, the system checks Twilio’s STIR/SHAKEN attestation headers. If a call claims to be a local neighborhood number but has a "C" attestation (unverified gateway), it’s immediately flagged for closer scrutiny by the reasoning engine.&lt;/p&gt;
&lt;h4&gt;
  
  
  2. The Compute Layer: Google Cloud Run
&lt;/h4&gt;

&lt;p&gt;The backbone is a small Python/FastAPI container deployed on &lt;strong&gt;Google Cloud Run&lt;/strong&gt;. Telephony webhooks need near-instant responses to prevent dead air on the phone line. Cloud Run scales quickly from zero, handles the bidirectional audio stream, and coordinates calls to the Gemini API without running up idle server costs.&lt;/p&gt;
&lt;h4&gt;
  
  
  3. Real-time Reasoning with Gemini
&lt;/h4&gt;

&lt;p&gt;We use Gemini via the new Google GenAI SDK for two critical jobs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Stalling:&lt;/strong&gt; Telemarketer scripts are designed to break out of basic IVR menus. Gemini dynamically produces context-aware responses to keep solicitors talking as long as possible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured Data Extraction:&lt;/strong&gt; Once the conversation wraps, Gemini parses the messy conversational transcript into a strictly typed JSON schema.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What I Learned Building This&lt;br&gt;
Audio Latency is Everything: On a phone call, a pause longer than 800 milliseconds makes people think the call dropped or realize they are talking to a machine. Keeping the Cloud Run containers warm and utilizing streaming responses from Cloud Text-to-Speech made a massive difference in conversational fluidity.&lt;/p&gt;

&lt;p&gt;Turn Inconveniences into Data: Telemarketers count on people getting frustrated and slamming the phone down so they can just move to the next victim. Having an autonomous honeypot systematically log their script, company name, and call frequency completely flips the dynamic.&lt;/p&gt;

&lt;p&gt;Keep the Logic Event-Driven: Connecting the backend directly to Discord channels via webhooks keeps the mobile experience clean. When a high-value homeowner texts back their project photos, seeing the images pop into #vip-leads with the transcript attached allows for an instant, informed follow-up.&lt;/p&gt;

&lt;p&gt;Wrapping Up&lt;br&gt;
Building this was a fun weekend challenge for the Google Cloud Hackathon. It solves a real daily headache by turning what used to be a distracting nuisance into an automated pipeline for genuine business leads and a structured defense against bad actors.&lt;/p&gt;

&lt;p&gt;If you’re building voice agents or working on autonomous intake systems, I’d love to hear your thoughts on handling latency and anti-spoofing in the comments below!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.tourl"&gt;&lt;/a&gt;  &lt;iframe src="https://www.youtube.com/embed/aIcARStWCqc" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>googlecloud</category>
      <category>python</category>
      <category>devops</category>
      <category>allthingsagentichackathon</category>
    </item>
    <item>
      <title>Building the Cybernetic Security Fleet: Autonomous Smart Contract Auditing with Google Cloud &amp; Gemini</title>
      <dc:creator>Adam M</dc:creator>
      <pubDate>Sun, 30 Aug 2026 04:29:35 +0000</pubDate>
      <link>https://dev.to/adamm285/building-the-cybernetic-security-fleet-autonomous-smart-contract-auditing-with-google-cloud--4bfc</link>
      <guid>https://dev.to/adamm285/building-the-cybernetic-security-fleet-autonomous-smart-contract-auditing-with-google-cloud--4bfc</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Note: This technical write-up was created for the purposes of entering the Google Cloud &amp;amp; Devpost #AllThingsAgenticHackathon.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  1. The Problem
&lt;/h2&gt;

&lt;p&gt;Traditional smart contract security linters generate high false-positive rates while failing to catch deep, multi-block economic invariant breaks—such as ERC-4626 vault share inflation, lending pool bad debt, and low-float governance attacks.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Technical Architecture &amp;amp; Google Tech Stack
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Cybernetic Security Fleet&lt;/strong&gt; is an autonomous 133-module auditing rig designed to automate the discovery, invariant fuzzing, exploit proof-of-concept synthesis, and disclosure lifecycle.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agent Orchestration &amp;amp; Reasoning:&lt;/strong&gt; Google GenAI SDK orchestrating Gemini and Gemma models to analyze AST graphs and generate standalone Foundry exploit code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Cloud Infrastructure:&lt;/strong&gt; Telemetry ingestion, compute execution, and audit artifact archiving hosted on Google Cloud Run and GCP backend services.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Invariant &amp;amp; Fuzzing Engines:&lt;/strong&gt; Stateful execution harnesses generating zero-phantom-pass test coverage.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Key Achievements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;100% Reproducible Exploits:&lt;/strong&gt; Discovered invariant breaches are automatically transpiled into runnable Foundry tests.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Instant Triage &amp;amp; Dispatch:&lt;/strong&gt; Real-time generation of markdown disclosure reports alongside Discord webhook breach notifications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Test Suite:&lt;/strong&gt; 292/292 tests passing across continuous verification pipelines.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Built with Google Cloud, Gemini, and Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  Early Access for Protocols &amp;amp; Security Teams
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;We are opening closed pilot testing for Web3 teams looking to run autonomous invariant auditing and AST decompilation across their EVM codebases. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you want to run your contracts through the Cybernetic Security Fleet harness before mainnet deployment, join our pilot waitlist here: &lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://docs.google.com/forms/d/e/1FAIpQLSfnFvK2HMWJHkbV_ox6gopsQzwlNTog3PhOhPMRI33tX42NTQ/viewform?usp=send_form" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Flh5.googleusercontent.com%2FRhwTfQhQBRg2VvVkotGdANLG-YPB4oFmXKD4w5f7bRTiOxSlsGoxTkV6yxRTs3WXpA6LzwSDzrxBQJg%3Dw1200-h630-p" height="630" class="m-0" width="1200"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://docs.google.com/forms/d/e/1FAIpQLSfnFvK2HMWJHkbV_ox6gopsQzwlNTog3PhOhPMRI33tX42NTQ/viewform?usp=send_form" rel="noopener noreferrer" class="c-link"&gt;
            Cybernetic Security Fleet — Autonomous EVM Invariant &amp;amp; Audit Pipeline (Early Pilot) 
          &lt;/a&gt;
        &lt;/h2&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gstatic.com%2Fimages%2Fbranding%2Fproductlogos%2Fforms_2026%2Fv2%2Fweb-16dp%2Flogo_forms_2026_color_1x_web_16dp.png" width="16" height="16"&gt;
          docs.google.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>allthingsagentichackathon</category>
    </item>
  </channel>
</rss>
