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

bss-express

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

bss-express

Using Anti-Bot and Anti-Attack detection methods to help secure your Express web app. ### Do note: This will not protect all of the attacks on your website if any niether will it be held accountable for any damages done.

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

BSS-Express

How to use the middleware:

/* Start -- Basic stuff */
const express = require("express");
const app = express();
/* End -- Basic stuff */
const { mw } = require("bss-express");

app.use(mw({
    useIPAPI : true, // request.security.request.ip_data <-- https://ip-api.com/
    failedCallback : function(request, response, next) {
        console.log("[BSS-Express] Failed, Start request info.");
        console.log(request);
        console.log("[BSS-Express] Failed, End request info.");

        next();
    }
}));

FAQs

Package last updated on 29 Apr 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