OWASP LLM04 Avanzado 60 min

Lab 08: Data and Model Poisoning — Backdoors and Deserialization RCE

Subliminal trigger backdoor simulation, measuring ASR vs clean accuracy, sleeper agent persistence, spectral anomaly detection, and pickle STACK_GLOBAL exploitation/remediation vs safetensors.

Key Lab Topics

  • Data Poisoning
  • Attack Success Rate (ASR)
  • Sleeper Agents
  • Pickle STACK_GLOBAL RCE
  • Safetensors Format

Prerequisites

  • Python 3.10+
  • NumPy / Scikit-learn

Resources & Architecture Guide

This hands-on lab runs in a Jupyter Notebook (lab-08-envenenamiento-datos-modelos.ipynb) and includes a comprehensive architectural guide:

Read Architecture Guide →