
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
csp-endpoint
Advanced tools
Endpoint for collecting CSP violation reports.
$ csp-endpoint --port 3000 --path '/'
Listening on http://host:3000/
{"csp-report":{"document-uri":"https://catfactspammer.com/","referrer":"",...}
{"csp-report":{"document-uri":"https://catfactspammer.com/","referrer":"",...}
{"csp-report":{"document-uri":"https://catfactspammer.com/","referrer":"",...}
Options:
➜ csp-endpoint git:(master) ✗ csp-endpoint --help
Usage: node csp-endpoint.js [options]
Options:
--path The path of the endpoint to collect reports on [/]
--port The port of the endpoint to collect reports on [3000]
Documentation can be found at Https://github.com/c0nrad/csp-endpoint
npm install -g csp-endpoint
Express doesn't parse applicaiton/csp-report, so to help express use this middleware:
var csp = require('csp-endpoint');
var express = require('express');
var app = express();
app.use(csp.parser);
...
Stuart Larsen c0nrad.io c0nrad@c0nrad.io
FAQs
Endpoint for CSP violation reports
The npm package csp-endpoint receives a total of 1 weekly downloads. As such, csp-endpoint popularity was classified as not popular.
We found that csp-endpoint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.