ShipSafe has 1 sourced item that involve SvelteKit: 0 build stories and 1 security incident. Each links to the original post and ends with a fix prompt you can paste into your own AI tool.
Where SvelteKit builders get stuck
Leaked secrets & API keys (1): Keys in front-end code or public repos get found and abused within hours. Keep secret keys server-side, set spend limits and turn on secret scanning.
How to use these SvelteKit stories
Read the summary and the original post, then copy the fix prompt into SvelteKit or whichever AI tool you build with. Each prompt asks the AI to check your own project for the same problem and explain its plan before changing anything. Most of these problems are not unique to SvelteKit, so the topic links above show the same mistake in other tools.
GitHub advisory GHSA-m9j8-jcmv-hp69, published 16 Nov 2026 and rated high, says SvelteKit's build-time guard that keeps server-only modules out of client code could fail. Under certain circumstances server-only imports, which normally cannot reach the client bundle, could be included in it and expose secrets. This only happened when those server-only imports were made through src/params.js (param matchers). Affected versions are @sveltejs/kit 3.0.0 through 3.1.0, fixed in 3.1.1.