CRE-2025-0169: AutoGPT Agent Runaway Loop Detection #147
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #129
/claim #129
🎯 Overview
This PR introduces a comprehensive detection rule for AutoGPT Agent Runaway Loop Execution - addressing critical silent failures where agents get stuck in endless planning/research cycles without making meaningful progress. The rule identifies repetitive reasoning patterns that can consume excessive resources and prevent task completion even when left running for hours.
CRE Playground Links
CRE-2025-0169 Playground: Test Rule
📊 AutoGPT Issues Covered
REASONING: I need to research the Volvo V60 turning circle specificationsREASONING: I should research and gather information about the exact specificationsLoop iteration 8 detected...Attempting to fix JSON by finding outermost brackets...REASONING: I need to research and analyze the turning circle in both metric and imperial units🧪 Testing & Validation
cat rules/cre-2025-0169/test.log | preq -r rules/cre-2025-0169/autogpt-runaway-loop.yaml -d🎬 Demo Environment
Repo link: https://github.com/prequel-dev/cre/tree/main/examples/autogpt-cre-demo
Screencast.from.2025-09-01.14-57-08.mp4
Features:
References