Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Application Security
Feross Aboukhadijeh
October 25, 2023
In a recent podcast with Patrick Gray, Socket founder and CEO Feross Aboukhadijeh delved into how Socket uses Language Learning Models (LLMs) to enhance both the analysis and explanation of open-source software packages. If you missed it, here's a breakdown of the key ideas.
The open-source landscape is vast, with an overwhelming number of packages in ecosystems like NPM, PyPI, and Go. While these packages provide a wealth of resources, they also present a security challenge: How can developers determine which packages are secure, vulnerable, or malicious?
At Socket, we not only identify vulnerable packages but also look for packages with malicious intent. To handle the enormity of open-source packages, we use LLMs in two specific ways:
LLMs act as an interface between computers and humans, translating machine outputs into human-understandable language. This translation is a critical feature for developers who just want to get their job done without diving deep into the complexities of security analysis.
Since incorporating LLMs into our process, we've detected about 8,700 malicious packages, helping to protect the developer community and Socket customers. While LLMs alone may not catch everything, they serve as an essential part of our multi-layered approach to security.
Despite the capabilities of LLMs, human expertise remains invaluable. A person still oversees the automated analysis and explanations, fine-tuning them to ensure they are as accurate and relevant as possible.
We are constantly working to improve our LLM capabilities, including expanding support to new language ecosystems and further increasing the accuracy of our LLM-based analysis.
Socket continues to innovate in the area of software supply chain security, and the use of LLMs is a testament to our commitment to provide robust, understandable, and actionable security insights for all developers. Stay tuned for more updates and features!
Subscribe to our newsletter
Get notified when we publish new security blog posts!
Try it now
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.