Socket develops tool to protect developers from npm vulnerabilities

Share post:

Socket, a security firm, has created a new method for protecting developers from the flaws in npm, GitHub’s JavaScript package manager.

Npm’s registry is the world’s largest software registry, hosting software packages for the JavaScript ecosystem. However, malicious actors have increasingly targeted package registries like npm in supply chain attacks in recent years.

Over the years, those in charge of the npm registry have put in place various defenses, such as npm audit, a vulnerability scanning command in the npm command line interface (CLI). However, the tool’s implementation leaves something to be desired, and developers frequently disregard audit warning messages, especially when automated resolution fails.

Socket has developed a vulnerability scanning system that detects more issues than npm audit, including concerns about quality, maintenance, vulnerability, and license.

Socket’s scanner is now available as a command-line interface (CLI) that developers can install on their machines. Socket’s CLI has been updated with a safe npm command that protects developers when they use npm install or npm uninstall.

The average npm package has 79 transitive dependencies, according to Socket’s founder Feross Aboukhadijeh, so installing one is likely to bring dozens of additional packages along for the ride.

The safe npm command has expanded the capabilities of the Socket CLI. It is installed by running npm install -g @socketsecurity/cli, which adds a socket command to the PATH environmental variable, which specifies the location of executable programs.

The sources for this piece include an article in TheRegister.

Featured Tech Jobs

SUBSCRIBE NOW

Related articles

Cyber Security Today, April 24, 2024 – Good news/bad news in Mandiant report, UnitedHealth admits paying a ransomware gang, and more

This episode reports on the danger of using expired open-source packages, a tool used by a Russian hacking group and passw

Google Play introduces new biometric verification with a user warning

Google has recently announced updates to the biometric verification process for Google Play purchases, aiming to bolster security...

Cyber Security Today, Week in Review for week ending Friday April 19, 2024

On this episode Jen Ellis, co-chair of the Ransomware Task Force, talks about ways of fighting one of the biggest cyber threats to IT d

Cyber Security Today, April 19, 2024 – Police bust phishing rental platform, a nine-year old virus found on Ukrainian computers, and more

This episode reports on a threat actor targeting governments in the Middle East with a novel way of hiding malware is going international

Become a member

New, Relevant Tech Stories. Our article selection is done by industry professionals. Our writers summarize them to give you the key takeaways