Poisoned Pipeline / Incidents / AS385
botaa3 typosquatted boto3 with an XOR-encrypted reverse shell
The PyPI package botaa3 imitated boto3, the AWS SDK for Python. Its
setup.py carried a base64 payload XOR-encrypted with a key left in the file,
decrypting to roughly 1,060 lines of code that cached in to
install.pypi-installer[.]com — a domain registered the day before publication
— and included a kill date of 17 November 2022. It also installed the real
boto3 so the environment looked correct. Published 17 November 2021 by an
account named 'Shh Not Cool Bro' and removed after Sonatype reported it.
Mapped techniques
supply-chain botaa3 typosquatted boto3 with an XOR-encrypted reverse shel
The name imitated boto3.
A single malicious 1.0.0 release.
setup.py executed the decrypted payload at install.