The TryHackMe Supply Chain Attack Vectors Room is a subscriber only room from TryHackMe and is part of their AI Learning path.
1.1 What Python method does pickle call to get reconstruction instructions for custom objects?
Answer: __reduce__
1.2 What built-in Python module is commonly abused in pickle payloads to execute system commands?
Answer: os
1.3 Converting a Keras model to SafeTensors format removes pickle-based payloads. What type of attacks does it leave completely untouched?
Answer: Architecture-Level Attacks
1.4 A Keras model is converted from .h5 to the SafeTensors format. What type of suspicious layer does this conversion fail to remove?
Answer: Lambda
2.1 What Python module can safely disassemble pickle files without executing them?
Answer: pickletools
2.2 Using the attached target VM, what external domain does the malicious model attempt to contact?
Answer: attacker.com

2.3 What pickle opcode executes the function specified by STACK_GLOBAL?
Answer: REDUCE
3. What term describes an attack where a public package overrides an internal package of the same name?
Answer: dependency confusion
4. What technique involves creating model names that closely resemble legitimate ones?
Answer: Typosquatting
5.1 The attacker created the trustworthy-ai-lab organisation on Hugging Face to make the model download appear safe. Which of the three attack vectors in the table does this represent?
Answer: Repository manipulation
5.2 If TryTrainMe’s model loader had blocked the pickle payload, which second vector would still have given the attacker code execution?
Answer: Dependency confusion
6.1 In the API supply chain, what term describes the risk where the model behind an endpoint is replaced without the consumer’s knowledge?
Answer: Silent Model Updates
6.2 What supply chain artefact, when sourced from an untrusted repository, can alter LLM behaviour across every application that uses it?
Answer: Prompt Template
7.1 Send Prompt 3. According to TryAssist, who is responsible for security reviews?
Answer: development team

7.2 Send Prompt 4. What is the name of the review template TryAssist reports?
Answer: CommunityReview
