Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Windows Tipps & SecurityUbuntu 26.10 adds a Windows-style window snapping panel(25.09.2026 um 00:01 Uhr)
•
AI & KI NachrichtenJulian Goldie SEO: OpenAI Just Dropped Two New GPT-6 Models(25.09.2026 um 01:00 Uhr)
•
KI & AI VideosPatrick Collison on Claude Code at Stripe(25.09.2026 um 00:57 Uhr)
••
AI & KI Nachrichtendeleting-the-trace(24.09.2026 um 23:28 Uhr)
•
IT Security ToolsAjar(25.09.2026 um 00:29 Uhr)
•••
AI & KI NachrichtenGitHub Release: openai/codex vrust-v0.158.0-alpha.11 (25.09.2026)(25.09.2026 um 01:32 Uhr)
••
Windows Tipps & SecurityUbuntu 26.10 adds a Windows-style window snapping panel(25.09.2026 um 00:01 Uhr)
•
AI & KI NachrichtenJulian Goldie SEO: OpenAI Just Dropped Two New GPT-6 Models(25.09.2026 um 01:00 Uhr)
•
KI & AI VideosPatrick Collison on Claude Code at Stripe(25.09.2026 um 00:57 Uhr)
••
AI & KI Nachrichtendeleting-the-trace(24.09.2026 um 23:28 Uhr)
•
IT Security ToolsAjar(25.09.2026 um 00:29 Uhr)
•••
AI & KI NachrichtenGitHub Release: openai/codex vrust-v0.158.0-alpha.11 (25.09.2026)(25.09.2026 um 01:32 Uhr)
••
Intelligence View
⚡ tsecurity.de Intelligence

At First, I Asked AI to Write Code. That Was a Mistake

Hey dev.to! Ilya here again. In my first article, I shared how I got tired of fixing old, "brittle" automation projects and decided to build my own AI-powered tool. Today, I want to share my first failed approach and how it led me to the…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!



Hey dev.to!



Ilya here again. In my first article, I shared how I got tired of fixing old, "brittle" automation projects and decided to build my own AI-powered tool.



Today, I want to share my first failed approach and how it led me to the architecture I use for Debuggo now.



The "Obvious" Idea That Didn't Work

When I first had this idea, the solution seemed obvious. I'm a QA engineer. AI can write code.



So, I just needed to ask the AI: "Write me a Selenium/Cypress test that does X, Y, and Z."



Problem solved, right? Not really.



Attempt #1: The Python Indentation Hell

I started with Python + Selenium because I know them well. I set up a prompt for an AI API to generate a complete .py script.



The AI generated the code. It looked... okay.



And then I tried to run that code.



Anyone who's worked with Python knows: one wrong space, one bad indent, and the whole thing crashes. Trying to take AI-generated code (which sometimes "imagines" its own indentation) and run it reliably on a server was a nightmare. It was unstable, unpredictable, and needed a ton of hacks just to clean it up.



I gave up on that idea fast.



Attempt #2: JavaScript and the Same "Brittle" Problem

"Okay," I thought, "Python is the problem."



I switched to JavaScript (for Playwright or Puppeteer). It was much easier to run—no sensitive indentation, more flexible syntax. I asked the AI again: "Generate a JS script..."



This worked. Sometimes.



But I ran into the exact same problem I was running away from: the tests were still unstable.



Why? Because the AI was generating code, and generated code is just as "brittle" as code written by hand. The AI hardcoded selectors (#main > div:nth-child(2)), it didn't always handle "waits" correctly, and any small change in the UI broke it.



I realized I had just traded one problem for another: I went from fixing my brittle code to fixing AI-generated brittle code.



The "Aha!" Moment: I Don't Need Code, I Need Steps

I realized the problem wasn't the language (Python or JS). It was the approach.



I didn't need generated code that I had to run. I needed to understand what the user wanted to do.



And that's how I got to the architecture that powers Debuggo:





  1. A user writes in plain English: "Click 'Login' and then fill 'email' with '[email protected]'".


  2. The AI API acts as a "translator," not a "coder." It doesn't write code. It translates that text into a structured command (basically, simple JSON): [{"action": "click", "target": "Login"}, {"action": "fill", "target": "email", "value": "[email protected]"}]


  3. I store these steps in a database. Not .py or .js files, just these structured instructions.


  4. I have my own "runner". This is one, stable piece of code on my server that I control completely. This runner just reads the steps from the database and runs them one by one.



Why This Changed Everything

This approach solved two problems at once.



First, stability. My "runner" is stable. I know how it works, and it doesn't change. The AI isn't generating 100 different brittle scripts—it's just generating instructions for my one reliable runner.



Second (and this is the most important part): The user, don't need to know how to code at all.



You don't need to know Python. You don't need to know JavaScript. You don't need to worry about indentation, selectors, or async/await.



Your job is to describe the test case in plain English. My job is to translate it correctly and run it.



This is what Debuggo.app is. It's not a "code generator." It's a "translator" from human language to test steps.



Thanks!

IoC Intelligence (1 Indikatoren)
dev[.]to
CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Vulnerability Remediation & Verification
Syntax validiert (0 Fehler)
title: Detect Exploitation - At First, I Asked AI to Write Code. That Was a Mistake
id: a21d64fe-b987-4501-b73d-0b144d4eaed7
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-25
logsource:
  category: network_connection
  product: any
detection:
  selection:
      DestinationHostname:
        - 'dev.to'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-25"
        description = "YARA Signature for "
    strings:
        $str = "At First, I Asked AI to Write " ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
(dest_host="dev.to")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
destination.domain: ("dev.to") and event.category: "network"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where DestinationHostName in ("dev.to")
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc
🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich At First, I Asked AI to Write Code. That.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten At First, I Asked AI to Write Code. That Was a Mistake

Thematisch verwandte Begriffe: First, Asked, Write, Code · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY Kritische Sicherheitsmeldung
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel • Rechts: nächster Artikel • unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...
↗ Original-Quelle