sentry-ruby-sdk

Fail

Audited by Runlayer on Mar 12, 2026

Risk Level: HIGH
Scan Summary
Max Score
93%
Files
8
Flagged
7
Chunks
11
Flagged Files (7)
sentry-ruby-sdk/references/migration.mdHIGH
93.3%

Malicious tool definition detected

Tool: sentry-ruby-sdk/references/migration.md [2/2] Description: Sentry | |------|-------------|--------| | AppSignal | `APPSIGNAL_PUSH_API_KEY` | `SENTRY_DSN` | | Honeybadger | `HONEYBADGER_API_KEY` | `SENTRY_DSN` | | Bugsnag | `BUGSNAG_API_KEY` | `SENTRY_DSN` | | Rollbar | `ROLLBAR_ACCESS_TOKEN` | `SENTRY_DSN` | | Airbrake | `AIRBRAKE_PROJECT_ID` + `AIRBRAKE_PROJECT_KEY` | `SENTRY_DSN` | ### Rollout strategy Run both tools in parallel for one release cycle, then remove the old gem once Sentry

sentry-ruby-sdk/references/tracing.mdMEDIUM
88.0%

Risky tool definition detected

Enable `strict_trace_continuation` to reject traces from services outside your Sentry organization: ```ruby Sentry.init do |config| config.dsn = ENV["SENTRY_DSN"] # Reject traces where the incoming sentry-org_id baggage doesn't match this SDK's org. # The org ID is normally extracted from the DSN automatically.

### Setup ```ruby # Gemfile — add alongside existing opentelemetry gems: gem "sentry-opentelemetry" gem "opentelemetry-exporter-otlp" # required for OTLP export ``` ```ruby # config/initializers/sentry.rb Sentry.init do |config| config.dsn = ENV["SENTRY_DSN"] config.send_default_pii = true config.otlp.enabled = true config.enable_logs = true # keep Sentry native logging unless OTel logs SDK is also present # Do NOT set traces_sample_rate — tracing is handled by OTel # Errors, Logs, Crons, and Me

sentry-ruby-sdk/SKILL.mdMEDIUM
84.3%

Prompt Injection

Context Poisoning

Guardrail Bypass

sentry-ruby-sdk/references/crons.mdLOW
74.9%

Malicious tool definition detected

## Upserting Monitor Configuration Pass `monitor_config` in the initial check-in to create or update the monitor definition programmatically (no manual setup in Sentry UI required): ```ruby monitor_config = Sentry::Cron::MonitorConfig.from_crontab( "5 * * * *", # runs at :05 every hour checkin_margin: 5, max_runtime: 15, timezone: "Europe/Berlin" ) check_in_id = Sentry.capture_check_in( "hourly-sync", :in_progress, monitor_config: monitor_config ) # ...

sentry-ruby-sdk/references/profiling.mdLOW
70.7%

Malicious tool definition detected

## Best Practices - Start with `profiles_sample_rate = 1.0` in development to verify profiles appear in Sentry - Lower to `0.1`–`0.5` in production — profiling adds overhead per sampled transaction - Prefer Vernier on Ruby 3.2.1+ for lower overhead and GVL visibility - Profiling without tracing is not supported — ensure `traces_sample_rate > 0` ## Troubleshooting | Issue | Solution | |-------|----------| | No profiles in Sentry | Verify `traces_sample_rate > 0` — profiling requires tracing to be

sentry-ruby-sdk/references/logging.mdLOW
68.0%

Tool passed security scan

sentry-ruby-sdk/references/metrics.mdLOW
61.9%

Tool passed security scan

Passed Files (1)Click to expand
sentry-ruby-sdk/references/error-monitoring.mdOK
38.0%

Tool passed security scan

Audit Metadata
Max File Score
93%
Classification
KNOWN_SERVER_PARTIAL_KNOWN
Files Scanned
8
Files Flagged
7
Chunks Analyzed
11
Analyzed
Mar 12, 2026, 02:20 PM
Security Audit — runlayer — sentry-ruby-sdk