Skip to content

Automate browser based workflows with AI

chore(security): block npm lifecycle scripts on install (#5600)

Shuchang Zheng733dc5f7796a
diff --git a/skyvern/cli/mcpb/claude_desktop/.npmrc b/skyvern/cli/mcpb/claude_desktop/.npmrc
new file mode 100644
index 000000000..5c429893e
--- /dev/null
+++ b/skyvern/cli/mcpb/claude_desktop/.npmrc
@@ -0,0 +1,5 @@
+# Supply chain protection: do not run lifecycle scripts (preinstall, install,
+# postinstall) on npm install. Blocks worms like "Shai-Hulud" from executing
+# on a compromised dependency before we notice. If a package genuinely needs
+# its install script, use @lavamoat/allow-scripts to allowlist it.
+ignore-scripts=true