A new phishing campaign has been detected by researchers at Checkmarx and Illustria where an unknown threat actor has uploaded a total of 144,294 phishing packages on the open-source repositories NPM, PyPi, and Nuget. The malicious packages were uploaded between Q2 of 2021 and Q3 of 2022, with roughly 133,000 occurring over a weeklong span in February 2022. Nuget had the largest share of malicious packages at 136,258 uploaded while PyPi had 7,894 and NPM had 212. Each of the packages were uploaded by usernames in the format “<a-z><1900-2022>” and had similar project names and descriptions. The names were often related to hacking, cheats, and other free resources and the descriptions contained links to different phishing websites. Due to similarities in the usernames and descriptions, coupled with the large spike of uploads in February 2022, this was assessed by researchers to be related to automation.
When investigating the packages, the researchers found the packages linked to over 65,000 unique URLs on 90 domains. In terms of a typical phishing campaign, the websites were relatively well designed and even included fake interactive chats. The ultimate goal of these pages appears to be credential harvesting. After interacting with the initial page, the users are then redirected to numerous surveys that appear to be related to affiliate marketing. When the packages were reported to the repository administrators, most of them were removed.