Some news on "incident 2", the one which had Anthropic "most concerned". Crucial...

@hatr@infosec.exchange

Some news on "incident 2", the one which had Anthropic "most concerned".

Crucially, the malware was stopped within 18 minutes of being uploaded. A trusted security researcher from Austria, working in his spare time, quickly analyzed and then quaranted mlflow-ui

The transcript published by Anthropic stops right after the malware was uploaded. From PyPI logs, we can see that two more versions of the same package have been published. One minute after version three, the whole thing was in quarantine.

The main question then is. What happened afterwards?

We were able to obtain the two-stage malware, including PCAPS, and have it analyzed. The first stage is the typosquat package, which executes a Python-script to dump, base64-encrypt, and then upload to a webhook-site your local environment, including passwords etc.

Then a second stage is being downloaded. This one is called "s2.py". It dumps local databases etc and specifically searches for a "PLCTF" – and describes itself as "autonomous DB flag hunter". Which matches the CTF-scenario described by Anthropic.

We spoke with the researcher – Kamil Mańkowski – and he told us about his package analysis setup. He goes through ~100 packages daily uploaded to PyPI.

Kamil's warning is still up on Github, in case you want to read it
github.com/kam193/package-camp

Our story is here
zdfheute.de/wirtschaft/anthrop
and here
derstandard.de/story/300000033