cd /news/ai-safety/topowatch-audita-el-attack-success-r… · home topics ai-safety article
[ARTICLE · art-106771] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=· neutral

topowatch: audita el Attack Success Rate de tu workspace contra inyección indirecta

Pedro Sordo Martínez released topowatch, a command-line tool that measures the Attack Success Rate (ASR) of indirect prompt injection in coding agent workspaces based on workspace topology. Built on arXiv:2608.14876, the tool uses a synthetic agent and a reproducible fixture with three topologies, reporting that modular workspaces reduce ASR to 0.000 compared to 1.000 for monolithic layouts. The tool is available on GitHub under AGPL-3.0-or-later.

read2 min views1 publishedAug 22, 2026

Tu agente de código lee tu workspace. Un archivo envenenado en cualquier rincón

puede llevar instrucciones que el agente ejecuta. ¿Sabes qué fracción de tu

workspace tiene que leer para que eso ocurra? topowatch

mide eso.

El paper Workspace Topology as an Attack Vector in Agentic Coding Assistants

(arXiv:2608.14876, Day et al., 2026) demostró algo que intuíamos pero no

medíamos: la topología del workspace afecta mediblemente el Attack Success Rate (ASR) de la inyección indirecta. Los entornos altamente modulares

La razón es mecánica: si el agente acota su lectura al módulo de la tarea,

nunca llega al archivo envenenado. Si hace un wide read de todo el workspace,

lo lee siempre.

topowatch

es una herramienta de línea de comandos que, dado un workspace,

mide el ASR de una inyección indirecta de referencia bajo varias configuraciones

de topología, y reporta qué estructura minimiza el ASR.

Fundamentado en arXiv:2608.14876. Determinista y reproducible sin claves ni red:

usa un agente sintético configurable y un fixture con tres topologías (monolito,

modular, nesting profundo).

pip install -e ".[test]"
topowatch --json

Sobre el fixture de referencia (200 trials, semilla fija):

Topología ASR % leído
Monolito (plano) 1.000 100%
Modular (acotado) 0.000 28.5%
Nesting profundo 0.000 66.6%

El reporte incluye read_budget

(fracción del workspace que lee el agente) y el

veredicto del defense contract: modular < monolito

.

v0.1 usa un agente sintético, no un coding assistant real (Claude Code /

Codex). El claim "modularidad → ASR menor" está anclado al fixture reproducible,

no a una medición contra un assistant real — eso es v0.2 (feature 002). El

objetivo de v0.1 es darte una herramienta para medir y recomendar modularidad,

no simular un ataque completo.

read_budget

continua.Repositorio: https://github.com/amurlaniakea/topowatch — AGPL-3.0-or-later.

Autor: Pedro Sordo Martínez.

── more in #ai-safety 4 stories · sorted by recency
── more on @pedro sordo martínez 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/topowatch-audita-el-…] indexed:0 read:2min 2026-08-22 ·