
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.
sanity-plugin-netlify
Advanced tools
Trigger Netlify Deploy Hooks from your Sanity V3 Studio.
✨ LIVE status updates ✨ multiple deployments ✨ active polling ✨

yarn add sanity-plugin-netlify
# or npm
npm i sanity-plugin-netlify
Warning
This is a Sanity Studio V3 plugin. There is no V2 version.
// `sanity.config.ts` / `sanity.config.js`:
import { defineConfig } from 'sanity'
import { netlifyTool } from 'sanity-plugin-netlify'
export default defineConfig({
// ...
plugins: [
// ...
netlifyTool(),
],
})
Once installed, you should see a new "Deploy" tool in your Sanity Studio navbar.
To create a new deployment, click the "Add Project" button. Next, you'll be prompted to add the following:
Site NameA name for your deployment to help you organize your deployments.
Typically, this should be the name of the site you're deploying
Site IDThis is the Site ID for your site in your Netlify account.
You can find this in your Netlify site, under Site Settings → General → Site details → "Site ID"
Build HookThis is the Build Hook for your site in your Netlify account.
You can find this in your Netlify site, under Site Settings → Build & deploy → Build hooks
Branch (optional)This will override the default branch for your Build Hook.
Access TokenThis is your Netlify Personal Access Token.
You can find this in your Netlify account under User dropdown → User settings → Applications → Personal access tokens
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.
jarrettlusso.com  · Github @jclusso  ·Â
Thanks to @ndimatteo for making sanity-plugin-vercel-deploy which this was heavily based on.
FAQs
Trigger Netlify Deploy Hooks from your Sanity Studio
The npm package sanity-plugin-netlify receives a total of 309 weekly downloads. As such, sanity-plugin-netlify popularity was classified as not popular.
We found that sanity-plugin-netlify demonstrated a healthy version release cadence and project activity because the last version was released less than 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.