sentry-cocoa-sdk
Audited by Runlayer on Mar 2, 2026
Malicious tool definition detected
Tool passed security scan
Malicious tool definition detected
### macOS — uncaught NSException reporting ```swift SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" options.enableUncaughtNSExceptionReporting = true } ``` ### SIGTERM reporting (v8.27.0+) ```swift options.enableSigtermReporting = true // report background task timeouts ``` ## Scope API Quick Reference ```swift SentrySDK.configureScope { scope in scope.setTag(value: "v2", key: "api_version") scope.removeTag(key: "api_version") scope.setExtra(value: someObject, key: "debug_info") sc
Tool passed security scan
Malicious tool definition detected
Description: Expected — SDK 8.57.0+ auto-disables for safety; use the experimental override at your own risk | | PII visible in replay | Verify `maskAllText = true` and `maskAllImages = true`; check `.sentryReplayUnmask()` isn't applied too broadly | | Scrolling jank during replay | Enable `enableFastViewRendering = true`; switch to `quality = .low`; consider disabling on low-end devices | | Replay stops after 60 minutes | Expected — `maximumDuration = 3600` seconds is the default cap | | Error
Tool passed security scan
Malicious tool definition detected
```swift options.enableCoreDataTracing = true // default // Disable options.enableCoreDataTracing = false ``` --- ## Distributed Tracing Sentry injects two headers into outgoing `NSURLSession` requests when the host matches `tracePropagationTargets`: | Header | Purpose | |--------|---------| | `sentry-trace` | Carries trace ID, span ID, and sampled flag | | `baggage` | Carries Dynamic Sampling Context key-value pairs | ```swift SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" option
Malicious tool definition detected
Tool passed security scan
Tool passed security scan