sentry-flutter-sdk

Warn

Audited by Runlayer on Mar 6, 2026

Risk Level: MEDIUM
Scan Summary
Max Score
88%
Files
7
Flagged
6
Chunks
17
Flagged Files (6)
sentry-flutter-sdk/SKILL.mdMEDIUM
87.9%

Risky tool definition detected

-maxdepth 3 \( -name "go.mod" -o -name "requirements.txt" -o -name "Gemfile" -o -name "*.csproj" \) 2>/dev/null | grep -v flutter | head -10 # Detect platform targets ls android/ ios/ macos/ linux/ windows/ web/ 2>/dev/null ``` **What to determine:** | Question | Impact | |----------|--------| | `sentry_flutter` already in `pubspec.yaml`?

sentry-flutter-sdk/references/error-monitoring.mdMEDIUM
84.9%

Tool passed security scan

Risky tool definition detected

Description: is the root widget | | ANR false positives on slow devices | Increase `anrTimeoutInterval` above 5000ms | | Events missing user/tag context | Set context before error occurs via `Sentry.configureScope()`; native crashes read scope at crash time | | Too many events in dashboard | Lower `sampleRate` (last resort) or use `beforeSend` to drop low-value errors |

sentry-flutter-sdk/references/metrics.mdMEDIUM
83.5%

Tool passed security scan

Risky tool definition detected

| | Metrics appear intermittently | Expected — metrics are batched and flushed on a schedule.

sentry-flutter-sdk/references/tracing.mdMEDIUM
79.8%

Risky tool definition detected

Tool: sentry-flutter-sdk/references/tracing.md [2/2] Description: } catch (e, st) { span.throwable = e; span.status = const SpanStatus.notFound(); rethrow; } finally { await span.finish(); } ``` ### Attach Data to Spans ```dart transaction.setData('user_id', userId); transaction.setData('items_count', 42); transaction.setData('currency', 'USD'); // Supported types: String, int, double, bool, List ``` ### Dynamic Sampling with Context ```dart final transaction = Sentry.startTransaction( 'processP

sentry-flutter-sdk/references/profiling.mdMEDIUM
78.7%

Tool passed security scan

Risky tool definition detected

| | Profile flame graph shows "unknown" functions | Missing both Dart symbols and dSYMs | Upload both via `sentry_dart_plugin` and the Xcode build phase | | Profiling not working on iOS Simulator | Known limitation — Simulator profiling may not match device behavior | Validate on a real device.

sentry-flutter-sdk/references/logging.mdLOW
55.8%

Tool passed security scan

Passed Files (1)Click to expand
sentry-flutter-sdk/references/session-replay.mdOK
43.9%

Tool passed security scan

Audit Metadata
Max File Score
88%
Classification
UNKNOWN_SERVER
Files Scanned
7
Files Flagged
6
Chunks Analyzed
17
Analyzed
Mar 6, 2026, 10:45 AM
Security Audit — runlayer — sentry-flutter-sdk