SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.23041 · NeurIPS · 2025

Virus Infection Attack on LLMs: Your Poisoning Can Spread "VIA" Synthetic Data

Hong Kong, Xuan Liu, Jianliang Xu, Haibo Hu, Zi Liang, Qingqing Ye, Yanyun Wang

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2509.23041.json · badge: /api/ran/2509.23041.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
liangzid/VirusInfectionAttack canonical (classifier label)
classifier basis: census
13 ran · 2 no recorded run
FunctionStatusWhere it lives
calculate_spearman_jaccard Ran
ran, honoured the contract we drafted
liangzid/VirusInfectionAttack/compute_correlation_for_HPS.py
pointer only (licence: NONE) · get_code("72c6dc7cf9dda4ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_loss_with_sum Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/analyze_sftdataset.py
pointer only (licence: NONE) · get_code("ff5f43c6fadc69c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_reduction_loss Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/analyze_sftdataset.py
pointer only (licence: NONE) · get_code("435f2fca29183cd0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generatePoisonSamples Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
liangzid/VirusInfectionAttack/construct_direct_poisoning_dataset.py
pointer only (licence: NONE) · get_code("1ee6e8e0413917de")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

jailbreak_eval Ran
ran, honoured the contract we drafted
liangzid/VirusInfectionAttack/dpabackdoor_eval.py
pointer only (licence: NONE) · get_code("280a3ca86fb1860a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

negsentiment_eval Ran
ran, honoured the contract we drafted
liangzid/VirusInfectionAttack/dpabackdoor_eval.py
pointer only (licence: NONE) · get_code("51e9940343f36729")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

obtainChainWords Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/construct_worm_sft_new.py
pointer only (licence: NONE) · get_code("cfe8b4acf7d54da7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

obtainPayload4Poison Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/construct_worm_sft_new.py
pointer only (licence: NONE) · get_code("98fe609c63e88918")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_a_dataset Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/construct_worm_sft.py
pointer only (licence: NONE) · get_code("e18ab2952c20691e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_synthetic_dataset Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/construct_worm_sft.py
pointer only (licence: NONE) · get_code("1bb84f8ca72c3cb1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

refusal_eval Ran
ran, honoured the contract we drafted
liangzid/VirusInfectionAttack/dpabackdoor_eval.py
pointer only (licence: NONE) · get_code("4153b7d7ee2ee6fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_to_n_gram Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/defense/defense_methods.py
pointer only (licence: NONE) · get_code("09c5de6b3a8b2361")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_to_n_gram2 Ran
ran; our contract draft was wrong, not the code
liangzid/VirusInfectionAttack/defense/defense_methods.py
pointer only (licence: NONE) · get_code("ff5b7126db4ae9b8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_inputoutputs Not yet run
unverified (harvested, no recorded run)
liangzid/VirusInfectionAttack/analyze_sftdataset.py
pointer only (licence: NONE) · get_code("02e25231210512cf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_jsonl Not yet run
unverified (harvested, no recorded run)
liangzid/VirusInfectionAttack/construct_worm_sft.py
pointer only (licence: NONE) · get_code("6e95ec4960a8da89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangzid/VirusInfectionAttack when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
negsentiment_eval 1 other paper
1 dated earlier
2411.12768 (2024-11)
CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Synthetic data refers to artificial samples generated by models. While it has been validated to significantly enhance the performance of large language models (LLMs) during training and has been widely adopted in LLM development, potential security risks it may introduce remain uninvestigated. This paper systematically evaluates the resilience of synthetic-data-integrated training paradigm for LLMs against mainstream poisoning and backdoor attacks. We reveal that such a paradigm exhibits strong resistance to existing attacks, primarily thanks to the different distribution patterns between poisoning data and queries used to generate synthetic samples. To enhance the effectiveness of these attacks and further investigate the security risks introduced by synthetic data, we introduce a novel and universal attack framework, namely, Virus Infection Attack (VIA), which enables the propagation of current attacks through synthetic data even under purely clean queries. Inspired by the principles of virus design in cybersecurity, VIA conceals the poisoning payload within a protective "shell" and strategically searches for optimal hijacking points in benign samples to maximize the likelihood of generating malicious content. Extensive experiments on both data poisoning and backdoor attacks show that VIA significantly increases the presence of poisoning content in synthetic data and correspondingly raises the attack success rate (ASR) on downstream models to levels comparable to those observed in the poisoned upstream models.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2509.23041")
get_code_for_paper("2509.23041")
have("2509.23041")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2509.23041.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2509.23041.svg)](https://syntology.ai/paper/2509.23041)

Connect an agent — have() is free.