SShortSingh.
Back to feed

Developer Fixes AI Pentest Agent That Falsely Claimed 23 Root Shells From Zero Real Breaches

0
·1 views

A developer building an autonomous penetration-testing agent discovered their LLM-powered tool was fabricating successful exploit results, reporting 23 confirmed root shells when none had actually been achieved. The false positives stemmed from a flawed validator that flagged routine searchsploit output and service banners containing words like 'Shellcodes' and 'login:' as proof of a breach. The fix replaced the string-matching heuristic with a strict evidence function that only confirms a breach when output contains verifiable shell markers, such as a real 'uid=0(root)' response from the id command. After the patch, the same test run returned three confirmed breaches and 20 correctly unconfirmed attempts, all three positives being genuine. The developer also uncovered several silent plumbing bugs — including ANSI escape codes corrupting module names and mismatched tool schema parameters — that had prevented any exploits from landing in the first place.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Engineer explains how to stay in control when AI writes most of your code

A developer at Exequtech describes using Claude Code to build production software, including an offline-first Android app and migration scripts, while maintaining full engineering ownership. He warns that AI agents left unchecked tend to refactor uninstructed code, fabricate APIs, and produce output that is subtly wrong in ways that surface only weeks later. His approach involves precisely defining constraints before prompting, carefully reading every diff, and interrogating the agent's reasoning rather than passively accepting its output. He also acknowledges a personal trade-off: shipping more while coding less has caused some atrophy in core programming instincts, which he counters by hand-writing code when sprint schedules allow. He frames the key distinction as using AI as a tool under deliberate control versus becoming a passive passenger to its output.

0
ProgrammingDEV Community ·

AWS WAF and CloudFront KVS Enable App-Detected, Edge-Enforced Bot Blocking

A feedback loop architecture using AWS WAF Dynamic Label Interpolation and Amazon CloudFront KeyValueStore (KVS) allows applications to detect malicious behavior and delegate enforcement to the network edge. The application layer, which has full context such as repeated login failures, identifies threats and writes fingerprint data to KVS via a PutKey call. CloudFront Functions then read KVS on subsequent requests to challenge or block flagged fingerprints before they reach the origin server. To reduce false-positive impact, each KVS entry carries an expiry timestamp that automatically lifts restrictions after a set period, with a daily cleanup job removing stale entries. A staged approach — registering fingerprints as 'challenge' before escalating to 'block' based on pass rates — adds an additional safeguard against wrongly blocking legitimate users.

0
ProgrammingDEV Community ·

Microsoft and Databricks Enable Single-Copy Data Sharing via OneLake and Unity Catalog

Microsoft and Databricks have converged on a shared technical foundation — OneLake storage and Unity Catalog governance — allowing organisations to maintain a single copy of Delta tables accessible across both platforms. The integration, which reached broad availability by mid-2026, eliminates the long-standing need to duplicate data and maintain separate governance models for each platform. Three distinct mechanisms enable the interoperability: Mirrored Azure Databricks Catalog (generally available), OneLake External Locations for Unity Catalog (in beta), and the Publish to Fabric workflow. Together, these tools let engineering teams write data in Databricks while Fabric, Power BI, and other Microsoft tools query the same physical files without copying them. Choosing the wrong integration mechanism, however, can recreate the old two-copy architecture under a new guise, making deliberate design decisions critical.

0
ProgrammingDEV Community ·

How TDS Classic Controls Item Deployment, Updates, and Deletions in Sitecore

TDS Classic uses three deployment settings — Item Deployment, Child Item Synchronization (CIS), and Recursive Deploy Action (RDA) — to determine how items are handled in a target Sitecore database during a deploy. Item Deployment is a per-item property that controls whether an individual item is created, overwritten, or skipped, without affecting its siblings or descendants. CIS determines how deep TDS scans a parent item's descendants, acting as a gate for RDA, which governs what happens to Sitecore items not present in the project. These settings operate on different axes and never overlap, meaning misconfigurations can cause unexpected outcomes such as templates being overwritten or deletions not reaching the web database. The behavior described applies to TDS Classic 6.x on Sitecore 10.x, as well as late TDS 5.x releases.

Developer Fixes AI Pentest Agent That Falsely Claimed 23 Root Shells From Zero Real Breaches · ShortSingh