Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-install-security-check

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-install-security-check - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

index.js
#! /usr/bin/env node
var warn = require('cli-color').yellow
var msg = 'Warning: You are running "npm install" with scripts enabled which is a potential security risk.\n' +

@@ -10,2 +8,2 @@ 'You should run npm install with the --ignore-scripts flag or update your npm config via:\n\n' +

console.log(warn(msg))
console.log(msg)
{
"name": "npm-install-security-check",
"version": "1.0.2",
"version": "1.0.3",
"description": "Warn users when they are running npm install with scripts enabled",

@@ -9,6 +9,3 @@ "scripts": {

"author": "Matthew Dahl (https://github.com/sandersky)",
"license": "MIT",
"dependencies": {
"cli-color": "^1.1.0"
}
"license": "MIT"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc