Python Demos Show How Adversarial Inputs Can Manipulate AI Models and Agents

· 52:41 · Watch on YouTube ↗

Summary

AI security expert Harriet demonstrates image perturbations and a simulated prompt-injection cascade, and explains risks including agent memory poisoning and timing side channels.

Key points

  • A Python demonstration altered an image so a model classified a visible rifle as a bassoon with 99% confidence; a targeted variation produced a starfish classification.
  • Harriet distinguished manipulation of inputs to a pretrained model from poisoning its training data.
  • A simulated support-ticket system showed how a prompt injection could propagate between agents when validation and monitoring are absent.
  • She described memory poisoning as storing a malicious instruction for possible execution after a later trigger.
  • She explained that model prediction timing could potentially reveal a classification if an attacker has sufficiently sensitive measurements and access to relevant information.
  • The guest noted that adversarial patches can be difficult to apply reliably in real-world conditions and are ideally crafted for a specific target model.

Article Details

Topics
  • [08:11] Machine learning weaknesses and AI security fundamentals
  • [17:13] Image perturbation and targeted misclassification demonstration
  • [23:03] Input manipulation versus training-data poisoning
  • [25:28] Simulated prompt-injection cascade across support agents
  • [39:00] Timing side channels in model predictions
  • [40:31] Agent memory poisoning and delayed malicious instructions
  • [43:17] AI system attack surfaces and traditional security controls
  • Adversarial patches, supply-chain risks and model interpretability

People