Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-138103 | A vulnerability was detected in ssssssss-team magic-api up to 2.2.2. This issue affects the function saveFile of the file MagicResourceController.java of the component magic-api-core resource save API. The manipulation results in code injection. It is possible to launch the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.CVSS 9.4CVE-2026-138102 | A security vulnerability has been detected in D-Link DIR-620S 4.0.2. This vulnerability affects unknown code of the file /usr/sbin/anweb of the component Diagnostic Handler. The manipulation of the argument I leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-138101 | A weakness has been identified in MassGen up to 0.1.97. This affects the function _generate_subagent_yaml_config of the file massgen/subagent/manager.py of the component Subagent Delegation System. Executing a manipulation can lead to improper authorization. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has notCVSS 6.9CVE-2026-138100 | A security flaw has been discovered in MassGen up to 0.1.97. Affected by this issue is the function __init__ of the file massgen/filesystem_manager/_filesystem_manager.py. Performing a manipulation results in protection mechanism failure. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.CVSS 8.7CVE-2026-138099 | A vulnerability was identified in Tenda AC10U 1.18.6. Affected by this vulnerability is the function readUsb of the component ATE Service. Such manipulation leads to out-of-bounds write. The attack can be executed remotely. The exploit is publicly available and might be used.CVSS 6.9CVE-2026-138098 | A vulnerability was determined in weison-tech yii2-cms up to 1.0.2. Affected is an unknown function of the file protected/core/config/common.php of the component RBAC Authorization. This manipulation causes improper authorization. Remote exploitation of the attack is possible.CVSS 6.9CVE-2026-138097 | A vulnerability was found in weison-tech yii2-cms up to 1.0.2. This impacts the function isActive of the file AccessControl.php of the component RBAC Admin Module. The manipulation results in missing authorization. The attack may be launched remotely.CVSS 6.9CVE-2026-138096 | A vulnerability has been found in weison-tech yii2-cms up to 1.0.2. This affects an unknown function of the file protected/core/config/web.php of the component Admin Auto-Login Identity Cookie. The manipulation leads to improper authentication. The attack may be initiated remotely.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

The Dirty Secret Behind Loop Engineering

Everyone is talking about Loop Engineering. Apparently, you don't need to program anymore. TL;DR: Loop Engineering is the hottest AI workflow pattern of 2026.…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 10 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

Everyone is talking about Loop Engineering. Apparently, you don't need to program anymore.




TL;DR: Loop Engineering is the hottest AI workflow pattern of 2026. But it hides a dirty secret.







The Tweet That Started It All






// Detect dark theme
var iframe = document.getElementById('tweet-2063697162748260627-249');
if (document.body.className.includes('dark-theme')) {
iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=2063697162748260627&theme=dark"
}





In June 2026, Addy Osmani and the PostHog team published their takes on the same idea.



Instead of prompting an AI agent manually, you build the system that prompts the agent for you.



The metaprompt idea has a fancy name now. Loop Engineering.




Loop engineering is replacing yourself as the person who prompts the agent. You design the system that does it instead.

Addy Osmani




PostHog ran it in production. The result: an 11% performance improvement and a 3-year-old defect fixed in the query engine, hands-off.



The internet got excited. Again. Rightly so.



But there's a dirty secret hiding behind the vocabulary.






What a Loop Actually Is



A functional loop has four parts:




  1. Goal: a clearly scoped target for the agent

  2. Context: tools, data, errors, and memory fed into each cycle

  3. Evaluation: the mechanism that decides whether the loop should continue or stop (a.k.a. the exit criteria)

  4. Agent: the executor, from a simple /goal command to a full multi-agent harness



The evaluation component is the key. Without it, you don't have a loop. You have an infinite runaway process. Good luck with your token bill!



You also need a harness: the scaffolding that contains the agent, enforces your rules, and gives the loop a safe boundary to operate within.






Start With the Smallest Possible Spec



Here's where Loop Engineering gets interesting, and where most people get it wrong.



If you write an enormous spec covering all possible cases before the loop runs once, you aren't doing Loop Engineering. You're doing waterfall with extra steps.



Think about what you want to verify. Not the whole system. One behavior.



Let's build a FIFA World Cup 2026 group standings simulator using Loop Engineering.




Germany, Ivory Coast, Ecuador, and Curaçao in Group E. Three rounds of matches. The top two advance, and the best third-place teams also qualify.




What's the smallest possible spec?




A team that wins a match gets 3 points.






That's it. Not the whole group. Not the knockout bracket. One rule about one match.



This is the Spec-Driven approach: you define intent before implementation, but you keep the scope surgical.






Loop Iteration 1: Write a Spec That Fails



Here's your first loop cycle. You define the evaluation condition before any implementation exists.






def test_win_gives_three_points():
germany = Team("Germany 🇩🇪")
curacao = Team("Curaçao 🇨🇼")

match = Match(germany, curacao, home_goals=7, away_goals=1)
standings = GroupStandings()
standings.record(match)

assert standings.points_for(germany) == 3
assert standings.points_for(curacao) == 0






Run this. It fails. Team doesn't exist. Match doesn't exist. GroupStandings doesn't exist.



(Germany beat Curaçao 7-1 on June 14, 2026. The spec matches reality.)



The loop condition is red 🔴.



This is the signal the loop needs. The evaluation says: not done yet. Keep running until you achieve the /goal.






Loop Iteration 2: Make the Evaluation Pass



Now you give the agent the minimal implementation to make the loop exit:






class Team:
def __init__(self, name):
self.name = name

class Match:
def __init__(self, home, away, home_goals, away_goals):
self.home = home
self.away = away
self.home_goals = home_goals
self.away_goals = away_goals

class GroupStandings:
def __init__(self):
self._points = {}

def record(self, match):
if match.home_goals > match.away_goals:
self._points[match.home] =
self._points.get(match.home, 0) + 3
self._points[match.away] =
self._points.get(match.away, 0)
elif match.away_goals > match.home_goals:
self._points[match.away] =
self._points.get(match.away, 0) + 3
self._points[match.home] =
self._points.get(match.home, 0)

def points_for(self, team):
return self._points.get(team, 0)






Run the spec. Green 🟢. Loop exits.



Not because you modeled every rule. Because you satisfied the single condition the loop was checking.






Loop Iteration 3: Expand the Spec, Red 🔴 Again



The loop restarts with a new goal:






def test_draw_gives_one_point_each():
ecuador = Team("Ecuador 🇪🇨")
curacao = Team("Curaçao 🇨🇼")

match = Match(ecuador, curacao, home_goals=0, away_goals=0)
standings = GroupStandings()
standings.record(match)

assert standings.points_for(ecuador) == 1
assert standings.points_for(curacao) == 1






Red 🔴. The record method doesn't handle draws.



(Ecuador drew 0-0 with Curaçao on June 20. Again, the spec matches reality.)



The evaluation fails. Loop continues. Add the draw case. Green 🟢. Loop exits.






Growing the Loop: Group Stage Completion



Cycle by cycle, the spec expands:




  • Iteration 4: Multiple matches accumulate points correctly across all three rounds

  • Iteration 5: Teams with equal points get ranked by goal difference

  • Iteration 6: Ties in goal difference break by goals scored

  • Iteration 7: Top 2 teams advance to the knockout stage



Each iteration follows the same pattern: write the evaluation condition first, run it (it fails), implement the minimum to pass, run again (green 🟢), move to the next cycle.



After 7 iterations, Group E final standings:




Group E - Final Standings
1. Germany 6 pts GD: +6 GF: 10
2. Ivory Coast 6 pts GD: +2 GF: 4
3. Ecuador 4 pts GD: 0 GF: 2
4. Curaçao 1 pt GD: -8 GF: 1









Growing the Loop: Knockout Brackets



The same loop discipline applies to bracket generation.






def test_group_winner_faces_different_group_runner_up():
bracket = KnockoutBracket(completed_group_results)

round_of_32 = bracket.round_of_32()

assert round_of_32[0].home == group_e_standings.first_place()
assert round_of_32[0].away == group_f_standings.second_place()






Red 🔴 first. Then green 🟢. Then the next spec.



The loop doesn't know the full bracket before it starts. It discovers the bracket one evaluation at a time.






What Keeps the Loop Safe: The Harness



None of this works without a structure that:




  • Runs the evaluation on every cycle

  • Stops the agent when the condition passes

  • Prevents the agent from moving to the next spec until the current one is green 🟢

  • Stores state between cycles so the next spec knows what already passed

  • Forces the minimum solution that makes the evaluation pass, nothing more.


  • Over-engineering is structurally impossible when the loop stops the moment the spec is green 🟢



That is the harness. The harness is what separates Loop Engineering from running Claude in a while True loop and hoping for the best.



Codex and Claude Code now ship with built-in loop infrastructure: /goal, /loop, isolation: worktree, and sub-agents for separate verification.



The harness is no longer something you build from scratch.



The agent that verifies runs in a clean sub-agent with no memory of what the implementer did.



It is an independent inspector seeking Judgment Day moments.



It can't grade its own work because it never saw the work being done.



This is the same reason you don't ask a developer to review their own pull request.






The Numbers That Made Everyone Pay Attention



Why is this getting attention now and not five years ago?



Because the evaluation step (the part where the loop decides whether to continue) used to require a human. Now it doesn't.




  • Opus 4.8 completes 50% of tasks requiring 12 hours of work, at 6x the speed of its predecessor one year ago

  • Stripe migrated an entire codebase in one day that would have taken a team two months manually

  • PostHog's autoresearcher loop delivered 11% performance gains and fixed a three-year-old defect, unsupervised



When models were weaker, the loop needed you to interpret the evaluation output. Now the evaluation can be the test suite itself, and the agent reads it directly.






The Dirty Secret



You've been reading about Test-Driven Development.



The spec is the test.



The evaluation is the test runner.



The loop is the red 🔴-green 🟢-refactor 🔵 cycle.



The goal is the failing assertion.



Loop exits when evaluation passes means the test is green 🟢.



Kent Beck described this in 2003.



Ward Cunningham was doing it before that.



There's even a structured guide for choosing which goal to tackle next: the ZOMBIES framework. Zero, One, Many, Boundary, Interface, Exceptional, Simple. That is your loop iteration order.



What changed isn't the technique. What changed is who runs the loop.



In 2003, the human developer wrote the test, ran it, read the red 🔴 output, wrote the minimum code, ran it again, saw green 🟢, and moved to the next test.



That was the loop.



In 2026, the functional developer writes the spec, the agent runs the cycle, reads the red 🔴 output, writes the minimum code, runs the cycle again, sees green 🟢, and starts the next spec. That's still the loop.



The red 🔴-green 🟢-refactor 🔵 vocabulary wasn't memorable enough for 2026. So the industry renamed it.



The evaluation is still the test. The cycle is still TDD. The discipline is exactly the same.




Build the loop. But build it like someone who intends to stay the engineer, not just the person who presses go.

Addy Osmani




Kent Beck said the same thing. He just called it something else.



A few extra tips:








Loop Engineering on Legacy Systems



Loop Engineering isn't only for greenfield code or fancy MVPs. It's also how you safely modernize systems that have no tests at all.



The trick is the same: write the spec first.



On a legacy system, that spec describes behavior the system already has.



You're not inventing new rules. You're pinning existing ones so the loop can't break them.



Harnesses are even more critical on production legacy systems.



The loop then shrinks the untested surface one cycle at a time.



Each green 🟢 spec is a behavior the agent can't accidentally destroy in the next iteration.



Squeezing TDD onto legacy systems works the same way whether a human runs the cycle or an agent does. The discipline is identical. What changes is the speed.



What are you waiting for? Build your harnesses. Start your loops.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community-Diskussion & Kommentare

🌐 Zum Hauptchat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.

Cyber Threat Intelligence & Forensik

ATT&CK-Navigator · IoC-Radar & Graph

CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
2 Knoten · 1 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität
Security Briefing Kostenlos · 1-Klick-Abmeldung

Intelligence Digest — kostenlos

Täglich die wichtigsten Security-News · jederzeit abbestellbar

Verwandte Story-Cluster & Quellen (Vektor-KI)

6 Cluster
26 Quellen
ForgeOS Booted on a Real Server: Linux Kernel Below, Only Our Own Code Above
DEV Community vor 1 Std.
25 weitere Quellen
VulDB Updatesvor 2 Std.CVE-2026-72239 | Linux Kernel sev x86/virt/sev/sev.c wbinvd_on_all_cpus state issue (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72240 | Linux Kernel up to 7.1.4 mfd sm501_register_device memory leak (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72241 | Linux Kernel up to 7.1.4 uleds strchr buffer overflow (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72244 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 gpu-buddy allocation of resources (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72243 | Linux Kernel up to 7.2-rc2 selinux socket_sendmsg permission (Nessus ID 364200 / WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72245 | Linux Kernel up to 7.1.4 host1x host1x_device_parse_dt release of resource (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72246 | Linux Kernel flowtable input validation (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72247 | Linux Kernel up to 7.2-rc3 nf_conncount __nf_conncount_add dir comparison (WID-SEC-2026-2852) VulDB Updatesvor 2 Std.CVE-2026-72248 | Linux Kernel up to 7.1.4/7.2-rc2 flowtable nft_flow_dst_release buffer overflow (WID-SEC-2026-2852) LinuxAndUbuntuvor 2 Std.Linux AutoFDO Benchmark: Clang Kernel Optimization FOSS Linuxvor 2 Std.NFS2ROOT: Pre-Auth Flaw in the Linux NFS Server VulDB Updatesvor 3 Std.CVE-2022-31607 | NVIDIA GPU Display Driver on Linux Kernel Mode Layer nvidia.ko input validation (EUVD-2022-53059 / Nessus ID 339047) VulDB Updatesvor 4 Std.CVE-2026-72227 | Linux Kernel up to 6.12.96/6.18.39/7.1.4/7.2-rc2 batman-adv out-of-bounds (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72228 | Linux Kernel up to 7.2-rc2 batman-adv skb_split memory leak (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72229 | Linux Kernel up to 7.2-rc2 batman-adv register_netdevice memory leak (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72231 | Linux Kernel up to 7.2-rc2 batman-adv batadv_send_tt_request allocation of resources (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72230 | Linux Kernel up to 7.2-rc2 batman-adv batadv_frag_send_packet memory leak (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72232 | Linux Kernel up to 7.2-rc2 batman-adv batadv_interface_tx out-of-bounds (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72234 | Linux Kernel up to 7.2-rc1 batman-adv batadv_get_vid use after free (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72233 | Linux Kernel up to 7.2-rc1 batman-adv batadv_bla_is_backbone_gw use after free (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72236 | Linux Kernel up to 7.2-rc3 s390/perf_cpum_cf __hw_perf_event_init config array index (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72235 | Linux Kernel up to 7.2-rc1 batman-adv batadv_interface_rx use after free (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72237 | Linux Kernel up to 7.2-rc2 BRS /x86/amd/brs amd_brs_match_plm information disclosure (WID-SEC-2026-2852) VulDB Updatesvor 4 Std.CVE-2026-72238 | Linux Kernel up to 7.2-rc3 x86 boot early_serial_init integer overflow (WID-SEC-2026-2852) DEV Communityvor 4 Std.Is that GPTBot real? How to verify Googlebot, Bingbot and AI crawlers in your server logs
14 Quellen
Amazon Australia Cyber Monday deals
Latest from TechRadar vor 34 Min.
13 weitere Quellen
CNETvor 43 Min.This Pocket Battery Recharges Your Phone 4 Times, and it’s Only $38 for Cyber Monday Latest from TechRadarvor 1 Std.Firebat's M1 is a cracking Ryzen AI 9 HX 470 mini PC for AI workloads — and it's packing OCuLink, 32GB of RAM, and a 1TB SSD for $1020 this Cyber Monday Latest from TechRadarvor 1 Std.The Lenovo IdeaCentre Tower Copilot+ PC with Core Ultra 7 CPU isn't discounted for Cyber Monday — and it's still the desktop computer I'd buy for work for $1049 The Vergevor 1 Std.Qobuz is my streaming service of choice and it’s on sale during Cyber Monday CNETvor 12 TagenThis Paramount Plus Cyber Monday Deal Gets You Ad-Free Viewing for Only $3 Per Month CNETvor 1 Std.Cyber Monday Meta Quest 3S Deal Knocks $53 Off and Gets You $50 Free Amazon Credit WIREDvor 4 Std.The 31+ Very Best Amazon Black Friday Deals (2026): Up to 50% Off The Vergevor 2 Std.These early Cyber Monday gaming laptop deals offer the most GPU for the least money Latest from TechRadarvor 3 Std.Grab a TP-Link dual-band Wi-Fi 6 router with 1.5Gbps for $44 this Cyber Monday CNETvor 4 Std.Upgrade Your Emergency Preparedness Kit With Black Friday and Cyber Monday Deals on Power Stations, Flashlights, Solar and More AppleInsider Newsvor 4 Std.AirPods Max 2 plunge to best $399 price with $150 Cyber Monday discount Latest from TechRadarvor 4 Std.I test Apple TV VPNs for a living — here are the 3 VPNs worth your money for Black Friday and Cyber Monday WIREDvor 4 Std.Cyber Monday Deals, Curated Live By Our Experts (2026)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten The Dirty Secret Behind Loop Engineering

Thematisch verwandte Begriffe: Dirty, Secret, Behind, Loop · 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 ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag