New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

security-patch

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

security-patch

Latest Security Patch

unpublished
npmnpm
Version
1.0.17
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Security-Patch Node Module

Description

This node module is used to patch the following security issues:

1). Removes weak MD5 hash encryption, to prevent collision attacks.

2). Add following limitations to 'upload files' input field to prevent denial-of-service attack.
    
    - Added limit to the size of the file thats being uploaded.

    - Added limit to the number of files that can be uploaded at once.

Installation

Please Follow the following steps:


1). Use the command the install security-patch node module

** Note : Make sure that the node module is installed globally.

npm i -g security-patch


2). Run the following command with your application file path as an argument

** Note : Make sure the file path is correct and finishes with 'server' or 'app' as the end directory.

run-security-patch <FilePath>


3). After executing the previous command you will see the following message and options

image

  • Enter the number corresponding to the issue you want to fix and press enter.
  • Enter the number corresponding to 'Exit' option to exit the function.

Keywords

security

FAQs

Package last updated on 17 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts