Paul Krill
Editor at Large

Safety in Node.js: NodeSource to certify NPM modules

news
Mar 16, 20171 min

NodeSource is curating JavaScript packages for security, dependencies

security check point sign
Credit: Paul Keller

NodeSource’s Certified Modules service, intended to ensure the safety of NPM modules, becomes generally available on Thursday.

Previously available only in a private beta stage, the service for Node.js was developed to address concerns over issues like security, licensing, and dependencies among the JavaScript modules. Dependencies became a major sticking point last year when removal of one package from the public NPM registry resulted in others failing.

The company is curating all NPM packages in the registry, including different versions of these packages, and will let users know which are OK to use. Users can whitelist modules that do not meet certification criteria, such as not having a permissive license requirements.

NodeSource offers a scoring algorithm for its certification process, checking aspects like licenses, security vulnerabilities, and code quality. Factors like packages being unnecessarily large or having weak document would weaken a score, and a known security vulnerability or a nonpermissive license would prevent certification. Certified Modules will be a fee-based service, with the price starting at $1,000 per month for up to 50 users. Accessing the service requires changing a line in the user’s NPM configuration. Users get their own registry of modules, which will automatically be checked going forward.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author