Documented Exercise · AML.CS0018 · High severity

Arbitrary Code Execution with Google Colab

Demonstrated in July 2022 ("Careful Who You Colab With"), researchers showed how adversaries can abuse shared Google Colab notebooks to gain arbitrary code execution inside a victim's cloud runtime. Once a user runs a tampered notebook cell or hidden script with mounted Google Drive or valid session credentials, attackers can exfiltrate proprietary datasets, model checkpoints, and cloud secrets over standard network channels.

Exercise dossier metadata

Case ID
AML.CS0018
Classification
Exercise
Date
Severity
High
Sector
Cloud ML Notebooks & Data Science
Attack vector
Malicious Notebook User Execution & Credential Theft
System type
Hosted collaborative Jupyter notebook workspace (Google Colab)
CVE / reference
AML.CS0018
Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0018%3A

Inspect AML.CS0018 in Interactive Incidents & Cases Hub

Defensive takeaway

Treat external notebooks as untrusted executable code; inspect cells and dependencies before execution, avoid mounting sensitive drives in untrusted sessions, and restrict workspace egress.

Mapped AI security techniques

Source citation records