
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
vite-plugin-csp
Advanced tools
Create CSP meta tags and header configs from all sources in the final Vite html
Leverages csp-typed-directives to create typed CSP <meta> policies and validated interdependant headers.
e.g. the CSP, CSP Report-Only, Report-To, and Referrer-Policy headers.
Mostly config compatible with csp-html-webpack-plugin
Install the plugin with npm:
$ npm install --save-dev vite-plugin-csp
# Or shorthand
npm i -D vite-plugin-csp
script and style related directives are supported (except for the inclusion of report-to for generating headers)FAQs
Create CSP meta tags and header configs from all sources in the final Vite html
The npm package vite-plugin-csp receives a total of 12,247 weekly downloads. As such, vite-plugin-csp popularity was classified as popular.
We found that vite-plugin-csp 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.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.