Skip to content

Automate browser based workflows with AI

chore(security): add .npmrc ignore-scripts to remaining npm workspaces (#5603)

Shuchang Zheng32be517565ed
diff --git a/skyvern-frontend/.npmrc b/skyvern-frontend/.npmrc
new file mode 100644
index 000000000..5c429893e
--- /dev/null
+++ b/skyvern-frontend/.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
diff --git a/skyvern-ts/client/.npmrc b/skyvern-ts/client/.npmrc
new file mode 100644
index 000000000..5c429893e
--- /dev/null
+++ b/skyvern-ts/client/.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
diff --git a/tests/sdk/typescript_sdk/.npmrc b/tests/sdk/typescript_sdk/.npmrc
new file mode 100644
index 000000000..5c429893e
--- /dev/null
+++ b/tests/sdk/typescript_sdk/.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