🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

csp-reporter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csp-reporter

CSP reporter

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

CSP Reporter

This repository basically creates an HTTP server to collect CSP violations.

What is CSP

Deploy to Heroku

If you deploy to the heroku, you need to add log collector addon like as Logentries because by default Heroku masks the stdout in the application logs.

Installation

Reporter does not have dependency. Bare HTTP and not included JSON parsing at all. (Which you don't have to do.)

git clone https://github.com/cagataycali/csp-reporter.git
cd csp-reporter
node index.js # Starts a server at http://localhost:8000

Test

node test.js # Starts a server at http://localhost:3000

Keywords

csp

FAQs

Package last updated on 04 Feb 2021

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