Forensic Localization in LLM Multi-Agent Systems
Anjun Gao, Yueyang Quan, Yufei Xia, Zhuqing Liu, Minghong Fang
NeurIPS 2026
Abstract. LLM-based multi-agent systems extend single agents with role specialization and inter-agent communication, but they also expand the attack surface: an attacker can compromise an externally writable module of one agent, and the malicious payload may propagate across communication hops before some downstream agent invokes an attacker-chosen tool. Existing defenses against such attacks can often be circumvented by stronger or adaptive attacks, which motivates a complementary forensic capability that traces an incorrect tool invocation back to its root cause. We formulate this task as three-level forensic localization, where the goal is to jointly identify the source agent that the attacker compromises, the specific module of this agent that is exploited, and the exact units inside this module carrying the malicious payload. To enable systematic evaluation, we construct MAFL-Bench, the first forensic localization benchmark for LLM-based multi-agent systems, which spans three application scenarios, four communication structures, and twelve attack instances, with 21,200 interaction logs annotated at the agent, module, and unit levels. We further propose MATracer, a black-box forensic framework that resolves the three-level attribution through a coarse-to-fine cascade driven by log-likelihood queries on a proxy LLM, progressively localizing the source agent, the compromised module, and the contaminated units. Extensive experiments show that MATracer accurately localizes the attack across diverse multi-agent settings, outperforms ten baselines on nearly every configuration and attack, and remains robust under adaptive attacks. Our code and data are available at https://github.com/kalis757/MAFL-Bench.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies forensic localization in LLM-based multi-agent systems by identifying the compromised agent, affected module, and malicious payload unit after an attack causes an incorrect tool call. To support this task, the authors introduce MAFL-Bench, a benchmark with multi-level annotations, and propose MATracer, a black-box cascade method that uses log-likelihood queries on a proxy LLM for step-by-step localization. Experiments show that MATracer accurately traces attack sources, outperforms baseline methods, and remains effective under adaptive attacks.
The main strengths of the paper are (1) well-written paper, and well-motivated method; (2) practically useful black-box approach; and (3) fairly broad experiment coverage.
The main weaknesses of the paper are (1) incremental scientific contribution; (2) lack of false-alarm and triage evaluation; and (3) limited generalizability/robustness test (only tested for the same-family proxies).
During the rebuttal, the authors attempted to resolve the weaknesses. The proposed rating is appropriate. Please include the new content to the revised version.
Final justification
Please refer to the metareview.
- Final justification
- Please refer to the metareview.
Read meta-review
Meta-review
The paper studies forensic localization in LLM-based multi-agent systems by identifying the compromised agent, affected module, and malicious payload unit after an attack causes an incorrect tool call. To support this task, the authors introduce MAFL-Bench, a benchmark with multi-level annotations, and propose MATracer, a black-box cascade method that uses log-likelihood queries on a proxy LLM for step-by-step localization. Experiments show that MATracer accurately traces attack sources, outperforms baseline methods, and remains effective under adaptive attacks.
The main strengths of the paper are (1) well-written paper, and well-motivated method; (2) practically useful black-box approach; and (3) fairly broad experiment coverage.
The main weaknesses of the paper are (1) incremental scientific contribution; (2) lack of false-alarm and triage evaluation; and (3) limited generalizability/robustness test (only tested for the same-family proxies).
During the rebuttal, the authors attempted to resolve the weaknesses. The proposed rating is appropriate. Please include the new content to the revised version.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Summary
This paper looks at how to do "forensic" tracing in LLM-based multi-agent systems. The idea is: once the system has been attacked and ends up making a wrong tool call, can we figure out where it actually went wrong? The authors break this down into three questions — which agent was compromised first (who), which part of that agent was exploited (where), and exactly what content carried the malicious payload (what). To study this, they build a benchmark of interaction logs labeled at all three levels, covering different scenarios, communication structures, and attack types. They also propose a black-box method that answers the three questions step by step, from coarse to fine, using only log-likelihood queries on a proxy LLM. Their experiments show the method localizes attacks accurately, beats a range of adapted baselines, and holds up under several adaptive attacks.
Strengths and weaknesses
Strengths
The paper focuses on post-incident forensic attribution in multi-agent systems and formalizes it as a three-level (who/where/what) problem. The method is black-box; it uses only log-likelihood queries on a proxy LLM and does not require access to the system's internals, which fits a realistic deployment. Within it, the Stage-2 distinction between a root-cause module and a downstream "symptom" module, and the Stage-3 distinction between independent units and causally ordered units, are thoughtful design choices. The experimental coverage is fairly broad. In addition, the likelihood-jump localization idea may have room for further extension, for example, toward helping agents self-localize online.
Weaknesses
The main concern is potential circularity: the method relies on contaminated content producing a clear likelihood jump, while the benchmark's attacks are built precisely to create such jumps, so it is unclear whether the results extend to subtler, more realistic attacks.
Questions
Questions
-
Circularity. Accuracy relies on contaminated content causing a sharp likelihood jump, but the benchmark's attacks are designed to strongly steer agents and thus produce such jumps by construction. Does the method still work on subtler, non-templated attacks?
-
Proxy–agent mismatch. Robustness is only shown for same-family proxies against a fixed Llama-70B agent. How does it behave when the agent is a different-family model (e.g., GPT-4o/Claude) — the realistic black-box case?
-
Is "where" independent? Each attack category maps to a fixed module, so identifying the module is close to identifying the category, and the DPI cases are trivial. Can the authors show the distribution of the who/where/what labels and decouple the module from the category?
-
Main-text breadth. Only Finance-Chain appears in the main paper. Could the other configurations' results be summarized there, too?
Limitations
See Questions and Weaknesses
Final justification
No concern remained, I will keep my score.
Formatting concerns
No Paper Formatting Concerns
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies forensic localization after attack-induced wrong tool calls in LLM-based multi-agent systems. It aims to identify the source agent, compromised module, and malicious payload unit. The paper introduces MAFL-Bench and proposes MATracer, a proxy-LLM log-likelihood based cascade.
Strengths and weaknesses
The main strengths are a clear agent/module/unit problem definition, a benchmark schema aligned with execution logs, coverage of multiple scenarios/topologies/attack types, and a coarse-to-fine method that matches message-propagation intuition. The ablations support the main stages of MATracer.
My main concerns are:
- Forensic metrics are computed only on successful attacks. The paper lacks false-alarm and triage evaluation on benign failures, failed attacks, and unknown attack status.
- The benchmark does not evaluate the full scenario × topology grid and relies on an unverified separability assumption between scenarios and topologies.
- Tool calls are simulated and tool outputs are deterministic mock strings, which limits ecological validity for real MAS deployments.
Questions
- Why are forensic metrics computed only on successful attacks? How does MATracer perform on mixed logs containing benign failures, failed attacks, and unknown attack status?
- Can the authors add holdout cells such as Computer-Tree or Academic-MD to test the scenario/topology separability assumption?
- Why does the main text claim cleanup ASR is at most 0.10 when Table 24 reports Finance-Random PoT ASR=0.15?
- Is the baseline lifting procedure fair with respect to confidence selection, majority vote, and tie-breaking? Did the authors try baselines that directly output agent/module/unit JSON?
Limitations
No. The paper should more explicitly limit claims to successful-attack, simulated-tool settings and discuss the lack of benign failure / failed attack evaluation, incomplete factorial coverage, deterministic mock outputs, and incomplete data availability during review.
Formatting concerns
No formatting issues.
1 comment
Rebuttal
We appreciate the reviewer's feedback. Below, we address each point raised in "Weaknesses" and "Questions."
Weakness 1 & Question 1: Forensic metrics computed only on successful attacks, and performance on mixed logs.
Response: Forensic localization, as defined in our work and prior studies [36, 56], traces a successful attack to its responsible elements; it does not determine whether an attack has occurred. Our primary attack-localization metrics are therefore computed on successful attacks, because only these cases contain an attack-induced incorrect invocation whose causal source can be evaluated, a convention stated in Appendix G.3 and followed by prior forensic work. A failed attack that produces no incorrect invocation creates no reported failure and does not trigger forensic analysis. When an incorrect invocation occurs but its attack status is unknown, MATracer can still localize the responsible agent, module, and units without using an attack-status label. Table R2 confirms this on failures produced without any attack, with agent-, module-, and unit-level accuracies of 0.97, 0.95, and 0.95. On a mixed pool of 200 attack-induced and 200 benign-failure logs with the status labels withheld, MATracer achieves corresponding accuracies of 0.96, 0.96, and 0.95 (Table R3). Thus, MATracer applies to both attack-induced and benign failures, but it does not classify a failure as adversarial or benign; that classification is an attack-detection task rather than the forensic-localization task studied here.
Table R2: Results of MATracer on benign-failure logs from the Finance-Chain dataset.
| 0.97 | 0.95 | 0.95 | 0.03 | 0.01 | 0.99 |
Table R3: Results of MATracer on a mixed pool of attack-induced and benign-failure logs from the Finance-Chain dataset.
| 0.96 | 0.96 | 0.95 | 0.04 | 0.02 | 0.98 |
Weakness 2 & Question 2: Topology grid and the separability assumption.
Response: The rationale for pivoting on Finance for topology and Chain for scenario is given in Appendix B.2: the forensic problem is determined by the communication graph and the per-role module composition, whereas the scenario changes only the domain vocabulary and the tool inventory. Following the reviewer's suggestion, we constructed both requested holdout cells. Every metric on Computer-Tree and Academic-MD lies within 0.06 of the corresponding Finance cell (Tables R4(a) and R4(b); compare Tables 9, 10, 15, and 16). More informative than the closeness is that the difficulty profile follows the topology rather than the scenario: under MP and PoT, module- and unit-level accuracies are 0.86 to 0.90 in both Academic-MD and Finance-MD, but 0.95 to 1.00 in both Computer-Tree and Finance-Tree. The harder topology remains the harder one when the scenario changes, which is exactly what the separability assumption predicts, and it supports the pivoted design over the full 3 4 grid. We will add these two holdout cells and clarify the scope of this evidence in the revision.
Table R4(a): Results of MATracer on the Computer-Tree dataset across different attacks.
| Attack | ||||||
|---|---|---|---|---|---|---|
| DPI - Naive attack | - | - | 0.92 | 0.08 | 0.01 | 0.99 |
| DPI - Escape characters | - | - | 0.94 | 0.06 | 0.01 | 0.99 |
| DPI - Context ignoring | - | - | 0.95 | 0.05 | 0.02 | 0.99 |
| DPI - Fake completion | - | - | 0.95 | 0.05 | 0.01 | 0.99 |
| DPI - Combined attack | - | - | 0.96 | 0.04 | 0.01 | 0.99 |
| IPI - Naive attack | 0.99 | 0.98 | 0.98 | 0.02 | 0.00 | 0.99 |
| IPI - Escape characters | 0.99 | 0.99 | 0.99 | 0.01 | 0.00 | 1.00 |
| IPI - Context ignoring | 0.99 | 0.99 | 0.99 | 0.01 | 0.00 | 1.00 |
| IPI - Fake completion | 1.00 | 1.00 | 1.00 | 0.00 | 0.00 | 1.00 |
| IPI - Combined attack | 0.99 | 0.99 | 0.99 | 0.01 | 0.00 | 1.00 |
| MP - Experience attack | 1.00 | 1.00 | 1.00 | 0.00 | 0.00 | 1.00 |
| PoT - Backdoor | 0.95 | 0.95 | 0.95 | 0.04 | 0.01 | 0.99 |
Table R4(b): Results of MATracer on the Academic-MD dataset across different attacks.
| Attack | ||||||
|---|---|---|---|---|---|---|
| DPI - Naive attack | - | - | 0.95 | 0.05 | 0.01 | 0.99 |
| DPI - Escape characters | - | - | 0.95 | 0.05 | 0.01 | 0.99 |
| DPI - Context ignoring | - | - | 0.94 | 0.06 | 0.01 | 0.99 |
| DPI - Fake completion | - | - | 0.96 | 0.04 | 0.02 | 0.99 |
| DPI - Combined attack | - | - | 0.96 | 0.05 | 0.01 | 0.99 |
| IPI - Naive attack | 0.96 | 0.96 | 0.96 | 0.04 | 0.00 | 0.99 |
| IPI - Escape characters | 0.96 | 0.96 | 0.96 | 0.04 | 0.00 | 0.99 |
| IPI - Context ignoring | 0.96 | 0.96 | 0.96 | 0.04 | 0.00 | 0.99 |
| IPI - Fake completion | 0.96 | 0.95 | 0.95 | 0.05 | 0.00 | 0.99 |
| IPI - Combined attack | 0.96 | 0.96 | 0.96 | 0.04 | 0.00 | 0.99 |
| MP - Experience attack | 0.98 | 0.86 | 0.86 | 0.12 | 0.02 | 0.97 |
| PoT - Backdoor | 0.96 | 0.90 | 0.90 | 0.08 | 0.01 | 0.98 |
Weakness 3: Simulated tool calls and deterministic mock outputs.
Response: We agree that deterministic mock tools do not capture the full variability of live APIs. We adopt them to ensure reproducible traces and controlled comparisons, since live APIs may change, fail, or return different outputs across runs, complicating exact observation-level annotation and paired evaluation. This follows the simulation-based setup of ASB [58] and other agent benchmarks [N1, N2]. Importantly, MATracer does not inspect tool implementations; it analyzes only logged textual inputs and outputs. Although tool execution is simulated, the agents’ plans, inter-agent messages, and actions are generated by real LLMs. Across the four adaptive attacks in Appendix J, including an indirect prompt injection attack that paraphrases poisoned observations to resemble benign tool outputs, MATracer retains unit-level accuracy of 0.85-0.92. This suggests that it does not rely on fixed mock-output templates. However, these results do not replace evaluation with live, stochastic APIs, which we will state explicitly as a limitation and investigate in future work.
[N1] Xie, Jian, et al. "Travelplanner: A benchmark for real-world planning with language agents." ICML 2024.
[N2] Basu, Kinjal, et al. "Api-blend: A comprehensive corpora for training and benchmarking api llms." ACL 2024.
Question 3: Inconsistency between the main-text claim and Table 24.
Response: This is a typo in the main text. The correct statement is that a single cleanup round reduces ASR to at most 0.15. The value of 0.15 occurs for the plan-of-thought backdoor on Finance-Random and is the only value above 0.10 in Table 24. Since cleanup is evaluated on instances in which the attack initially succeeded, ASR decreases from 1.00 to at most 0.15, so the overall conclusion remains unchanged. We will correct the sentence and state the maximum explicitly.
Question 4: Fairness of the baseline lifting procedure.
Response: Appendix F specifies a deterministic, method-agnostic lifting procedure. Every baseline receives the same complete log and unified candidate-unit enumeration. Methods that directly select units retain their original selections; for methods returning scores, we preserve their confidence-based selection. When selected units span agents or modules, majority vote maps the unit predictions to the corresponding hierarchy, with ties resolved by the highest-confidence unit. These rules are applied uniformly and use neither ground truth nor method-specific tuning. To test whether they disadvantage the baselines, we additionally evaluate Llama-3.1-8B-Instruct and GPT-4o as direct-JSON baselines that output the agent, module, and units in one call, entirely bypassing confidence selection, majority voting, and tie-breaking. As Tables R5(a) and R5(b) show, their unit-level accuracy never exceeds 0.40 and 0.50, respectively. Thus, directly predicting the hierarchy does not close the performance gap, indicating that the results are not an artifact of the lifting procedure.
Table R5(a): Results of Llama-3.1-8B-Instruct as a direct-JSON baseline on the Finance-Chain dataset across different attacks.
| Attack | ||||||
|---|---|---|---|---|---|---|
| DPI - Naive attack | - | - | 0.31 | 0.69 | 0.18 | 0.77 |
| DPI - Escape characters | - | - | 0.28 | 0.72 | 0.20 | 0.75 |
| DPI - Context ignoring | - | - | 0.33 | 0.67 | 0.17 | 0.78 |
| DPI - Fake completion | - | - | 0.26 | 0.74 | 0.21 | 0.74 |
| DPI - Combined attack | - | - | 0.22 | 0.78 | 0.23 | 0.72 |
| IPI - Naive attack | 0.62 | 0.55 | 0.38 | 0.62 | 0.15 | 0.80 |
| IPI - Escape characters | 0.60 | 0.53 | 0.35 | 0.65 | 0.16 | 0.79 |
| IPI - Context ignoring | 0.64 | 0.57 | 0.40 | 0.60 | 0.14 | 0.81 |
| IPI - Fake completion | 0.57 | 0.50 | 0.33 | 0.67 | 0.17 | 0.78 |
| IPI - Combined attack | 0.53 | 0.46 | 0.29 | 0.71 | 0.19 | 0.76 |
| MP - Experience attack | 0.34 | 0.29 | 0.20 | 0.82 | 0.25 | 0.62 |
| PoT - Backdoor | 0.41 | 0.35 | 0.21 | 0.87 | 0.23 | 0.62 |
Table R5(b): Results of GPT-4o as a direct-JSON baseline on the Finance-Chain dataset across different attacks.
| Attack | ||||||
|---|---|---|---|---|---|---|
| DPI - Naive attack | - | - | 0.42 | 0.58 | 0.12 | 0.83 |
| DPI - Escape characters | - | - | 0.39 | 0.61 | 0.13 | 0.82 |
| DPI - Context ignoring | - | - | 0.45 | 0.55 | 0.10 | 0.86 |
| DPI - Fake completion | - | - | 0.37 | 0.63 | 0.14 | 0.81 |
| DPI - Combined attack | - | - | 0.33 | 0.67 | 0.16 | 0.79 |
| IPI - Naive attack | 0.75 | 0.67 | 0.48 | 0.52 | 0.09 | 0.87 |
| IPI - Escape characters | 0.73 | 0.65 | 0.46 | 0.54 | 0.10 | 0.86 |
| IPI - Context ignoring | 0.77 | 0.70 | 0.50 | 0.50 | 0.08 | 0.88 |
| IPI - Fake completion | 0.70 | 0.62 | 0.43 | 0.57 | 0.11 | 0.84 |
| IPI - Combined attack | 0.65 | 0.58 | 0.38 | 0.62 | 0.14 | 0.81 |
| MP - Experience attack | 0.44 | 0.38 | 0.26 | 0.76 | 0.20 | 0.67 |
| PoT - Backdoor | 0.53 | 0.46 | 0.30 | 0.80 | 0.18 | 0.68 |
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper formulates the novel problem of three-level forensic localization (agent, module, and unit) to trace adversarial payload propagation within LLM-based multi-agent systems. To enable systematic evaluation, the authors introduce the large-scale MAFL-Bench dataset and propose MATracer, a black-box cascade framework driven by token-level log-likelihood queries on a proxy LLM.
Strengths and weaknesses
Strengths
-
Timely and Well-Motivated Problem Definition: The paper identifies an important and relatively underexplored problem in LLM-based multi-agent systems: forensic localization after an attack-induced incorrect tool invocation. Instead of only asking whether an attack succeeds or which downstream agent failed, the paper frames the task as a structured three-level attribution problem over the source agent, compromised module, and contaminated unit. This formulation is useful for post-incident remediation and is well aligned with emerging concerns around multi-agent safety.
-
Clear Hierarchical Design of MATracer: The proposed method is naturally aligned with the structure of the problem. The coarse-to-fine cascade first localizes the contaminated entry point, then attributes it to a module, and finally identifies the contaminated units. In particular, the treatment of the OBS module is a thoughtful design choice: since upstream memory or planning attacks can manifest as downstream tool-observation artifacts, the cross-regime gap test helps distinguish runtime symptoms from the original root cause.
Weaknesses
-
Incremental Benchmark Design: MAFL-Bench is useful, but its construction appears relatively incremental. The benchmark does not introduce fundamentally new adversarial threat vectors or exploit categories; rather, it adapts existing single-agent attack categories from ASB and layers them over standard multi-agent communication topologies. As a result, the main contribution of the benchmark seems to come from annotation granularity and curation scale rather than from a substantially new benchmark-generation methodology.
-
Limited Algorithmic Novelty in MATracer: While MATracer is empirically effective, its core technical components are largely based on straightforward likelihood-probing ideas: detecting likelihood jumps, comparing per-module likelihood gains, and probing candidate units. These components are sensible, but they make the method feel more like an engineered traceback pipeline than a fundamentally new machine learning algorithm. The paper would be stronger if it more clearly articulated what is algorithmically novel beyond organizing existing attribution-style probes into a multi-stage cascade.
-
Overly Clean Problem Setting and Strong Practical Assumptions: The paper defines a useful forensic task, but the benchmark appears to remove many difficulties that would arise in realistic deployments. Real-world multi-agent forensic localization may involve incomplete traces, benign model/tool-use failures, multiple simultaneous causes, ambiguous propagation paths, hidden tool states, or partially observable orchestration logs. In contrast, MAFL-Bench provides well-instrumented traces and cleanly defined agent/module/unit ground truth, which may favor MATracer’s likelihood-probing design. Therefore, the strong empirical results may reflect performance on a controlled synthetic setting rather than fully demonstrating practical forensic capability in deployed multi-agent systems.
Questions
Q1. How does MATracer perform when the execution trace is incomplete or partially logged, as is common in realistic deployed agent systems?
Q2. Since benign LLM failures are excluded from the current setup, can MATracer distinguish attack-induced failures from ordinary multi-agent reasoning or tool-use errors?
Q3. To what extent does the benchmark construction favor likelihood-jump methods, given that each attack is injected into a clearly defined module and the ground truth follows the same agent/module/unit hierarchy used by MATracer?
Limitations
yes
Final justification
The rebuttal resolves most of my concerns, but I still have some reservations about the benchmark and algorithmic novelty. Therefore, I maintain my original rating of 4 (Borderline Accept).
Formatting concerns
No concerns.
1 comment
Rebuttal
We appreciate the reviewer's constructive feedback. Below, we respond to each point raised in "Weaknesses" and "Questions".
Weakness 1: Incremental benchmark design.
Response: We deliberately reuse the four attack categories from ASB [58] to keep the threats realistic and ensure that performance differences reflect the forensic challenge rather than newly designed attacks. The contribution of MAFL-Bench is therefore not new attack categories, but a benchmark for evaluating fine-grained forensic localization in multi-agent systems. Importantly, MAFL-Bench cannot be obtained by simply adding annotations to ASB data. Each attack must be adapted to a multi-agent topology by jointly selecting the source agent, exploited module, contaminated units, and target tool according to the attack-specific constraints and the module composition of each agent role. For example, memory poisoning can target only an agent equipped with a memory store. The resulting system must then be executed end-to-end to generate traces in which attack-induced content travels across multiple communication hops before a different agent invokes the incorrect tool. ASB contains neither such cross-agent executions nor the inter-agent messages needed to construct these traces. Thus, although MAFL-Bench builds on established attacks, it provides the multi-agent executions and agent-, module-, and unit-level forensic ground truth required to develop and evaluate this new localization task. We will clarify this scope in the revision.
Weakness 2: Limited algorithmic novelty in MATracer.
Response: We agree that the algorithmic contribution should be articulated more clearly and will revise the paper accordingly. MATracer’s novelty is not a new likelihood estimator but propagation-aware inference rules designed for the challenges created by multi-agent communication. Stage 1 evaluates each message without later messages and uses the largest adjacent likelihood jump to locate the earliest contaminated message, thereby identifying the attack’s origin rather than an agent that only forwards the contaminated content. Stage 2 handles a failure case of naive maximum-gain selection: because observations are recorded after the agent acts, poisoned memory or plan-of-thought demonstrations can also produce a high observation gain, leading the method to misidentify a downstream observation as the root cause. MATracer instead compares the differences among module gains to distinguish these cases (Eq. 2). Stage 3 accounts for different unit structures, using adaptive clustering for independent memory and plan-of-thought units while scoring progressively longer sequences of causally ordered observations. The ablations validate these designs: treating the invoking agent as the source, for instance, reduces agent-level accuracy from 1.00 to 0.00 under memory-poisoning and plan-of-thought backdoor attacks (Table 30).
Weakness 3: Overly clean problem setting and strong practical assumptions.
Response: We agree that MAFL-Bench is controlled; it is designed to give auditable agent-, module-, and unit-level ground truth for the first systematic evaluation of this task. MATracer uses no model parameters or internal states, and assumes only that inter-agent messages and module contents are logged. Several of the listed difficulties are already covered in the paper: noisy and incomplete user queries change every metric by at most a few percentage points (Table 35), iterative localization keeps unit accuracy above 0.85 when causes span multiple units, modules, or agents (Section 7 and Fig. 5), and adaptive attacks that obscure the propagation signal still yield unit accuracy of 0.85 to 0.92 (Tables 31-33). We further ran new experiments for the two remaining concerns, incomplete logs and benign failures. When 10% to 30% of the logged content is removed, agent accuracy falls only from 0.95 to 0.87 and the degradation is gradual rather than sharp (Table R1). On failures that occur without any attack, MATracer still localizes the responsible unit (Table R2), although it does not judge whether that unit was contaminated by an attacker or produced by an ordinary error. We will state the logging assumption explicitly and add both results to the revision.
Table R1: Results of MATracer on the Finance-Chain dataset under different drop rates.
| Drop rate | ||||||
|---|---|---|---|---|---|---|
| 10% | 0.95 | 0.95 | 0.91 | 0.04 | 0.01 | 0.99 |
| 20% | 0.90 | 0.88 | 0.82 | 0.15 | 0.02 | 0.96 |
| 30% | 0.87 | 0.85 | 0.75 | 0.22 | 0.04 | 0.94 |
Table R2: Results of MATracer on benign-failure logs from the Finance-Chain dataset.
| 0.97 | 0.95 | 0.95 | 0.03 | 0.01 | 0.99 |
Question 1: Performance when the execution trace is incomplete or partially logged.
Response: We simulate partial logging by randomly withholding 10% to 30% of the logged inter-agent messages and module entries from MATracer, while retaining the complete trace only for ground-truth evaluation. Results are averaged across all attacks on Finance-Chain. As shown in Table R1, performance degrades gradually: even at a 30% withholding rate, agent-, module-, and unit-level accuracies remain 0.87, 0.85, and 0.75. As expected, FNR increases from 0.04 to 0.22 as relevant forensic evidence becomes unavailable, while FPR remains low at or below 0.04.
Question 2: Distinguishing attack-induced failures from ordinary reasoning or tool-use errors.
Response: Forensic localization, in our work as well as in prior methods such as PoiF [36] and RAGForensics [56], is defined for attack-induced failures: given a reported failure, it identifies the elements responsible for that failure. We further verified that MATracer also applies when the failure is not attack-induced. We collected Finance-Chain executions that failed without any attack, annotated the responsible agent, module, and units for each incorrect invocation, and ran MATracer on these logs. As Table R2 shows, it achieves agent-, module-, and unit-level accuracies of 0.97, 0.95, and 0.95, respectively. However, forensic localization methods, including MATracer, identify the responsible elements without determining whether the failure was caused by an attack or by ordinary reasoning or tool use; distinguishing the two is outside their scope.
Question 3: Does the benchmark construction favor likelihood-jump methods?
Response: The hierarchy is defined independently of MATracer. During benchmark construction, we first select the source agent, exploited module, contaminated units, and target tool under the constraints of an established ASB attack, inject the attack at that location, and execute the system end-to-end, so the ground truth records the actual intervention location rather than a label inferred by any method. The modules are the externally writable attack surfaces, and their units are the native contents that an attacker can modify. All methods are evaluated on the same logs and against the same ground truth. If the advantage came from the hierarchy itself, the attribution-based baselines would benefit equally, yet under DPI the strongest of them reaches 0.74 unit accuracy and TracLLM only 0.12, against 0.93 for MATracer (Table 7). We further test whether MATracer depends on clean likelihood changes through the four adaptive attacks in Appendix J, which fragment injected instructions, disguise poisoned observations as benign ones, or add misleading memory and plan-of-thought units to weaken its signals. MATracer retains unit-level accuracy of 0.85 to 0.92 with FPR at or below 0.02, showing that its performance does not depend on artificially sharp likelihood changes.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We appreciate the reviewer's constructive feedback. Below, we respond to each point raised in "Weaknesses" and "Questions".
Weakness 1 & Question 1: Circularity and performance on subtler, non-templated attacks.
Response: MAFL-Bench is constructed independently of MATracer: attacks are adapted from ASB [58] and retained based only on whether they induce the target incorrect invocation, without using MATracer or any likelihood-jump score. Thus, the benchmark does not select attacks for producing sharp likelihood changes. Although any successful attack must influence the agent toward the target action, MAFL-Bench does not assume that this influence appears as a sharp or localized likelihood change. We directly test this concern through the adaptive attacks in Appendix J, where the attacker knows each MATracer mechanism and deliberately weakens its signal. Adaptive indirect prompt injection disguises poisoned observations as benign ones to flatten the cumulative-likelihood change, while adaptive direct prompt injection fragments the malicious instruction into paraphrased pieces interleaved with noise. The memory-poisoning and plan-of-thought variants add misleading benign units to disrupt unit localization. Across these four attacks, MATracer retains unit-level accuracy of 0.85-0.92 with FPR at or below 0.02. Appendix K attributes this robustness to cross-stage redundancy: weakening the signal at one stage does not necessarily remove the evidence used by another. We will connect these results explicitly to the circularity concern in the revision.
Question 2: Proxy-agent mismatch across model families.
Response: Table 29 already evaluates cross-family proxy-agent mismatch: the agent backbone is Llama-3.3-70B-Instruct, while the proxies include Qwen and Falcon models. Note also that MATracer never queries the agent model; all likelihoods are computed by the proxy from the recorded log. Thus, the method applies unchanged when the agent is closed-weight, although whether accuracy is preserved remains an empirical question. To address the reviewer’s question directly, we additionally ran all Finance-Chain experiments with GPT-4o as the agent backbone and Llama-3.1-8B-Instruct, Falcon3-7B, and Qwen3.5-9B as proxies. As shown in Tables R6(a)-R6(c), unit-level accuracy ranges from 0.89 to 0.99 and FPR remains at or below 0.02 across all attacks and proxies, with agent- and module-level accuracies of at least 0.92 wherever applicable. MATracer therefore remains effective without proxy-agent family alignment across the tested combinations. We will add these results to the revision.
Table R6(a): MATracer results on the Finance-Chain dataset using the Llama-3.1-8B-Instruct proxy model under the GPT-4o backbone.
Table R6(b): Results of MATracer on Finance-Chain dataset with Falcon3-7B proxy model under the GPT-4o backbone.
Table R6(c): Results of MATracer on Finance-Chain dataset with Qwen3.5-9B proxy model under the GPT-4o backbone.
Question 3: Is “where” independent of the attack category, and what is the label distribution?
Response: We agree that "where" is not statistically independent of the attack category. Following ASB [58], each category is defined by its attack surface: direct prompt injection targets the user query, indirect prompt injection targets observations, memory poisoning targets memory, and the plan-of-thought backdoor targets demonstrations. Moving an attack to another module would therefore change its category rather than provide a decoupled instance. However, MATracer is not given the attack category during inference; it receives only the trace and must determine the responsible location. If "where" were trivial, the baselines would reach near-ceiling module-level accuracy. However, across the five indirect prompt injection attacks on Finance-MD, AttnTrace achieves 0.75–0.80 and All-at-once achieves 0.38-0.43, compared with 0.94-0.96 for MATracer (Table 16). For direct prompt injection, the agent and module labels are inapplicable, but MATracer must still distinguish query-originated failures from internal compromises and identify the contaminated query spans.
Tables R7(a)-R7(c) report the label distributions. The "Who" and "Where" tables cover the 2,400 non-DPI Finance-Chain logs because DPI has no source-agent or module label, while the "What" table covers all 3,400 logs. The imbalance reflects the benchmark design: indirect prompt injection includes five techniques instantiated at eligible observation-bearing agents, whereas memory poisoning and plan-of-thought backdoor each contain one technique and apply only to agents exposing the corresponding module. Because we report performance separately for every attack technique rather than only as a pooled average, this imbalance does not inflate MATracer’s reported accuracy. We will clarify these dependencies and counting conventions in the revision.
Table R7(a): Distribution of "Who" (source agent) labels in the Finance-Chain dataset.
Table R7(b): Distribution of "Where" (compromised module) labels in the Finance-Chain dataset.
Table R7(c): Distribution of "What" (contaminated unit) labels in the Finance-Chain dataset.
Question 4: Main-text breadth beyond Finance-Chain.
Response: We agree that the main text should reflect the full evaluation breadth. We will add a table to Section 6 reporting MATracer’s results averaged over all twelve attack instances for each of the six configurations, with the per-attack breakdowns remaining in the appendix.