# Launder-Bench: Can Repository-Level Agentic Code Laundering Be Detected?

DevFeed: [Launder-Bench: Can Repository-Level Agentic Code Laundering Be Detected?](<https://devfeed.tech/articles/launder-bench-can-repository-level-agentic-code-laundering-be-detected-113516.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.01966>)

Author: Yuntong Hu, Hongji Pu, Zimo Li, Ruomeng Li, Xiaotong Liu, Ziyuan Qin, Qiyue Li, Liang Zhao

Published: 2026-11-03T05:00:00Z

Content type: news

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>), [code analysis](<https://devfeed.tech/topics/code-analysis.md>), [Repository](<https://devfeed.tech/topics/repository.md>), [reproducibility](<https://devfeed.tech/topics/reproducibility.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [bench](<https://devfeed.tech/tags/bench.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [clone](<https://devfeed.tech/tags/clone.md>), [code](<https://devfeed.tech/tags/code.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [detection](<https://devfeed.tech/tags/detection.md>), [domain](<https://devfeed.tech/tags/domain.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [independent](<https://devfeed.tech/tags/independent.md>), [modules](<https://devfeed.tech/tags/modules.md>), [pair](<https://devfeed.tech/tags/pair.md>), [provenance](<https://devfeed.tech/tags/provenance.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [repository](<https://devfeed.tech/tags/repository.md>), [rewrite](<https://devfeed.tech/tags/rewrite.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [static](<https://devfeed.tech/tags/static.md>), [verification](<https://devfeed.tech/tags/verification.md>)

## AI overview

Launder-Bench tests whether repository-scale code rewrites that preserve behavior can be traced to their source. Built from 282 repositories, it uses source-hidden reconstruction and execution-based verification, with 1,128 pairwise provenance cases and 229 source-attribution cases that allow abstention. Same-domain independent repositories provide reference bands for similarity without shared provenance. Existing methods perform poorly: the strongest static method reaches 0.66 AUROC on pairwise detection; repository encoders rank the true source first in up to 22% of attribution queries, but receive calibrated attribution credit in only 1-2%. The results show that ranking a similar repository does not by itself establish provenance.

## Source excerpt

arXiv:2611.01966v1 Announce Type: new Abstract: Coding agents can now rewrite repository-scale codebases while preserving tested behavior, creating a new challenge for plagiarism detection, license auditing, and software provenance. We ask whether such rewrites can still be traced to their source. Existing clone benchmarks emphasize fragments and bounded edits, while repository-transformation benchmarks evaluate functional correctness rather than provenance. Moreover, ranking the most similar source does not establish derivation when independent implementations can be similarly close. We define repository-level agentic code laundering and introduce Launder-Bench, to our knowledge the first repository-level benchmark for provenance under agentic rewriting, constructed from 282 real-world repositories. A source-hidden reconstruction protocol decomposes source behavior, reconstructs modules and repository structure, and retains rewrites only after execution-based verification. We evaluate the same provenance problem in two complementary settings: Launder-Bench-Pair contains 1,128 pairwise instances asking whether two repositories share provenance, while Launder-Bench-Attr contains 229 source-attribution instances asking which candidate is the source, with abstention when evidence is insufficient. Measured same-domain independent repositories establish how much similarity can arise without shared provenance and provide detector-specific reference bands. Existing methods remain far from saturating Launder-Bench: the strongest static method reaches only 0.66 AUROC on pairwise detection, while repository encoders rank the true source first on up to 22% of attribution queries but earn calibrated attribution credit on only 1-2%. These results reveal a systematic gap between relative code similarity and source-specific provenance evidence, providing a reproducible target for provenance detection under agentic rewriting.