# StarCoder2 data filter keeps 94% of Poison Fountain code despite planted flaws

A preprint traces anti-AI anger on Reddit from insults to tools that feed flawed text and code to web crawlers. Some of that output is already in Common Crawl and FineWeb, and public data filters judge it by format, not by whether it is correct.

- Category: Safety & evaluation
- Readiness level: II (Benchmarked) on Science Underway's four-step scale, as proposed
- Published: 2026-11-29
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/starcoder2-data-filter-keeps-94-of-deliberately-broken-poison-fountain-code

## The study

Anti-AI in the Wild: From Toxic Discourse to Action (preprint, not peer reviewed). arXiv 2611.33254. https://arxiv.org/abs/2611.33254

## At a glance

- What it shows: Reddit communities built around for-or-against AI arguments are far more hostile than general AI forums, and their insults mostly target people on the other side. Some anti-AI tools publish deliberately wrong text and code for AI companies' data collectors, and widely used public cleaning steps keep much of it.
- What it does not show: It does not show that any AI model was harmed by this content, since no model was trained on it. It also does not test the private data filters that commercial AI companies use.
- Why it matters: Teams that train AI on web data often rely on filters that check whether text or code looks normal. This study suggests that looking normal and being correct are different things, and that some people now exploit the gap on purpose.

## What the study shows

The researchers, from CISPA Helmholtz Center for Information Security and the University of Waterloo, collected 931,640 Reddit posts from 25 communities between November 2022 and June 2026. Twenty-one were 'polarised' communities devoted to supporting, opposing or debating AI. Four were general AI forums such as r_ChatGPT. The paper is a preprint and has not been peer reviewed.

To label toxic posts, meaning rude or insulting ones, the team compared eight AI models against 766 posts labelled by people. GPT-5.4-mini agreed best and labelled the full set. About 30% of posts in polarised communities were toxic, against 4.4% in general AI forums. In pro-AI communities, about two thirds of toxic posts attacked anti-AI people. In general forums, a similar share attacked AI systems or companies instead.

The team then found 3,312 posts describing anti-AI actions. In polarised communities, more than half targeted web crawling or training data, mostly through image cloaking, which alters images so AI models learn little from them. Glaze and Nightshade are the best-known examples. Only about one action in twenty involved poisoning text or code. Both sides also used platform features against each other, such as mass reporting and coordinated voting.

The most practical part tests three deployed tools. Poison Fountain is a web service that serves crawlers text and code with planted errors. Nepenthes and Iocaine are crawler tarpits: sites that trap data-collecting bots in endless generated pages. A hand check found defects in about two thirds of Poison Fountain's output. Yet the StarCoder2 code-cleaning pipeline kept 93.6% of its code, close to the 95.0% it kept of ordinary GitHub code.

For text, results depended on the pipeline and on page layout. Tarpit text mostly failed. But in one rebuilt tarpit, removing the full stop at the end of each paragraph cut survival under the FineWeb pipeline from about 92% to 16%. Common Crawl, a large public web archive, held 564 distinct documents from three tool endpoints disclosed on Reddit. One Nepenthes page was found in FineWeb, a released training dataset.

## Our reading

In our reading, the toxicity findings and the data findings are two different stories that share a starting point. The first is about moderation: argument over AI on Reddit looks less like criticism of a technology and more like a fight between two camps. The authors also report that people who post about anti-AI tools are not, on the whole, the ones posting insults within the same community.

The second story matters more to anyone training models. Public cleaning pipelines mostly ask whether a document looks like real writing or real code. They do not ask whether it is true or whether the code works. Poison Fountain code passes because it parses, imports sensibly and has a normal shape. A concrete example from the paper: a Swift function whose two branches are swapped, so it writes empty values when data exists. Every call is real and legal; only the logic is wrong.

On our readiness scale this work sits at level II, benchmarked. It tests named public pipelines and corpora, but the paper gives no link to released code or data, so level III is not met.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/starcoder2-data-filter-keeps-94-of-deliberately-broken-poison-fountain-code

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
