Urgent.News

What's breaking now, across thousands of outlets.

AI

Why Parsing 35 Bytecode Flags in an LLM Prompt is Slowing Down Autonomous Trading Agents

Over the past few months building execution loops for autonomous trading agents across EVM and Solana, our engineering team ran into an architectural bottleneck: the "raw data supermarket" anti-pattern in Web3 security APIs. When an autonomous LLM agent decides to execute an on-chain action (a swap, liquidity provision, or smart contract interaction), existing security tooling dumps 35+…

When autonomous LLM agents consider executing on-chain actions like swaps or liquidity provision, existing security tools flood them with over 35 raw bytecode flags via HTTP. This includes whether the contract is a honeypot, if it has a blacklist, hidden owner slots, and various tax rates. Presenting these flags to the LLM for reasoning causes two major issues: excessive latency and excessive token overhead.

Packing a 2KB JSON blob of telemetry into each trade evaluation increases reasoning time by 400ms to 1,200ms. More critically, LLMs struggle with ambiguous prompts, often misjudging dangerous scenarios when subtle changes occur in system prompts.

The engineers behind GuardDog addressed these problems by moving the deterministic contract analysis off-chain. Their system evaluates bytecode and returns a clear verdict (PASS, WARN, or BITE) within 23ms. By specifying the verdict in a simple enum, GuardDog provides a straightforward go/no-go decision for agents. The Rust implementation is concise, using reqwest and serde to communicate with the GuardDog API.

They even open-sourced the entire 90-line client library, demonstrating how easily developers can integrate this deterministic approach.

GuardDog also provides benchmarks showing 100% coverage of a malicious contract dataset, a 48.1% alert rate on deceptive tokens, and zero false positives on mainstream liquidity pairs. The service is free for developers with a limited daily check allowance. By focusing on deterministic contract analysis rather than overwhelming LLMs with raw data, GuardDog enables reliable autonomous trading agents.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

AI Found 948 Linux Kernel Bugs — Here's How OpenAI's Models Did It

Tags: #security #openai #linux #ai OpenAI's o3 and o4-mini reasoning models just changed what we thought AI could do in security research.

  • OpenAI's models o3 and o4-mini discovered 948 Linux kernel bugs.
  • Identified CVE-2025-37899, a use-after-free bug in ksmbd SMB server module.
  • Models autonomously created functional exploits bypassing ASLR and KASLR defenses.

Cara membuat Claude Code minta bantuan Codex lewat jaringan agen osFoundry

Di akhir tutorial ini, Claude Code di satu terminal dan Codex di terminal lain sama-sama punya handle osFoundry . Claude Code bisa melihat bahwa @bob-codex sedang mengerjakan migrasi orders, mengirim…

  • Claude Code and Codex share osFoundry identifier
  • Claude Code contacts @bob-codex directly for migration
  • Waitformessages enables instant communication

More from Sunday 8 November →