sentry-svelte-sdk
Audited by Runlayer on Mar 6, 2026
Risky tool definition detected
Tool passed security scan
Risky tool definition detected
--- ## Performance Considerations - Compression runs in a **Web Worker** — minimal main-thread impact - `mutationLimit` protects against DOM-heavy frameworks that trigger thousands of mutations - Network body capture is opt-in per URL — no performance cost without `networkDetailAllowUrls` - Lazy loading (`Sentry.addIntegration()`) reduces initial bundle size by ~50KB gzipped - "Errors-only" strategy (`replaysSessionSampleRate: 0`) has near-zero overhead when no error occurs --- ## Best Practices
Tool passed security scan
Risky tool definition detected
Tool: sentry-svelte-sdk/SKILL.md [2/2] Description: (`src/main.ts` or `src/main.js`) **before** mounting the app: ```typescript import * as Sentry from "@sentry/svelte"; import App from "./App.svelte"; Sentry.init({ dsn: import.meta.env.VITE_SENTRY_DSN, environment: import.meta.env.MODE, sendDefaultPii: true, integrations: [ Sentry.browserTracingIntegration(), Sentry.replayIntegration({ maskAllText: true, blockAllMedia: true, }), ], tracesSampleRate: 1.0, tracePropagationTargets: ["localhost", /
Tool passed security scan
Risky tool definition detected
Tool passed security scan