mlsanityData to 13 Oct 2026

(A)iSpy: Parasitic Trojans for Machine Learning Infrastructure

arXiv 2607.17550 ↗First posted 20 Jul 2026cs.CRcited by 0

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Modern machine learning (ML) pipelines depend heavily on third party libraries for graph compilation and hardware acceleration. While current practices audit data and model artifacts or rely on file integrity checks, the execution environment remains implicitly trusted. This blind spot enables active threats where a malicious runtime module interacts directly with live training and inference dynamics: exploiting this interaction allows the Trojan to support complex objectives that are challenging for static code or binary modifications, achieving manipulations impossible for standard data and model level attacks. We expose this vulnerability by presenting AiSPY, a parasitic infrastructure Trojan that subverts MLsystems through an active observe and execute paradigm. Operating within the computation graph, AiSPY monitors transient tensor states to perform targeted, stealthy manipulations with negligible overhead. To violate confidentiality, the Trojan identifies all critical training hyperparameters and covertly exfiltrates them via model weights or output logits. To break integrity, it acts as a gradient amplifier: by observing steganographic triggers, it transforms other- wise weak data poisoning into effective backdoor attacks, increasing success rates from near zero to 100%. We further demonstrate broad extensibility across the machine learning lifecycle by validating auxiliary attacks in the appendix, including subpopulation label flipping, availability disruptions, and inference stage manipulations. Importantly, the evaluated malware scanners do not flag AiSPY because current public rule sets lack coverage for ML runtime Trojans, while the associated poisoned inputs and resulting compromised models bypass state-of-the-art inspection tools. We demonstrate the practicality of this threat with an implementation in the ONNX Runtime training and inference engines.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 32 of its 82 references that are in the map. First posted on arXiv 20 Jul 2026.

Builds on

32 of 82 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024BadEdit: Backdooring large language models by model editing20 Mar

Other references · 31

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,950
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,321
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,476
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,876
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,281
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,500
  10. 2016Pointer Sentinel Mixture Modelscited by 3,047
  11. 2024Qwen2.5-Coder Technical Reportcited by 1,179
  12. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,099
19 more
  1. 2020Aligning AI With Shared Human Valuescited by 717
  2. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 517
  3. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 456
  4. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 287
  5. 2020Blind Backdoors in Deep Learning Modelscited by 181
  6. 2021SPECTRE: Defending Against Backdoor Attacks Using Robust Statisticscited by 128
  7. 2018Stealing Hyperparameters in Machine Learningcited by 118
  8. 2019Bit-Flip Attack: Crushing Neural Network with Progressive Bit Searchcited by 108
  9. 2020Subpopulation Data Poisoning Attackscited by 70
  10. 2020Backstabber's Knife Collection: A Review of Open Source Software Supply Chain Attackscited by 60
  11. 2019Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attackscited by 57
  12. 2020DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit Flipscited by 55
  13. 2020Spread-Transform Dither Modulation Watermarking of Deep Neural Networkcited by 26
  14. 2023Robust Backdoor Detection for Deep Learning via Topological Evolution Dynamicscited by 26
  15. 2025Optimizing ML Training with Metagradient Descentcited by 23
  16. 2023A Plot is Worth a Thousand Words: Model Information Stealing Attacks via Scientific Plotscited by 5
  17. 2022Memory Safe Computations with XLA Compilercited by 4
  18. 2019Quantifying (Hyper) Parameter Leakage in Machine Learningcited by 3
  19. 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executablescited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Evil from Within: Machine Learning Backdoors through Hardware Trojans
  2. 2022An Adaptive Black-box Defense against Trojan Attacks (TrojDef)
  3. 2021A Synergetic Attack against Neural Network Classifiers combining Backdoor and Adversarial Examples
  4. 2024Solving Trojan Detection Competitions with Linear Weight Classification
  5. 2023Exploiting Logic Locking for a Neural Trojan Attack on Machine Learning Accelerators
  6. 2024Trojan Cleansing with Neural Collapse
  7. 2022An Adaptive Black-box Backdoor Detection Method for Deep Neural Networks
  8. 2023Trojan Activation Attack: Red-Teaming Large Language Models using Activation Steering for Safety-Alignment