Home / Companies / JFrog / Blog / Post Details
Content Deep Dive

Addressing the npm Manifest Confusion Vulnerability

Blog post from JFrog

Post Details
Company
Date Published
Author
Adam Browning, Senior Product Manager, JFrog
Word Count
1,089
Language
English
Hacker News Points
-
Summary

The blog post by Darcy Clarke highlights a security vulnerability in the npm ecosystem known as "manifest confusion," where a package’s manifest and tarball are published independently, allowing malicious actors to embed harmful packages under falsified metadata. This issue affects third-party tools and platforms, including JFrog Artifactory, particularly impacting remote and virtual repositories that rely on third-party registry declarations. While local repositories in JFrog Artifactory are not affected due to their reliance on actual package.json information, remote and virtual repositories are vulnerable as they serve content based on unverified third-party declarations. To mitigate these risks, it is recommended to set strict user permissions, use the Priority Resolution feature to prioritize trusted repositories, and apply curation policies to block or approve packages before they enter the software supply chain. JFrog is also working on solutions to enforce package path layouts to prevent potential confusion in local repositories.