Agent skill · Audited from source
Sentry Backend Bugs
skill · getsentry/sentryNOASSERTION licenceAudited 29 Sep 2026 · source 42a3375c14f5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 42a3375c14f5 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 0 critical or high. What it does: Review Sentry Python and Django changes for bug patterns drawn from real production issues. Use when reviewing a backend diff or PR, checking Warden findings, auditing the current branch, reviewing production-error…
Cite
Cite this page
ModelsAtlas. “Sentry Backend Bugs (getsentry/sentry)”. Retrieved 29 Sep 2026. https://modelsatlas.com/skills/getsentry/sentry-backend-bugs
Trust audit
Audit 0.4.1 · source read 29 Sep 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 2 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
MEDIUMInventory / provenanceinv.symlink · .claude/skills
.claude/skills
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · api-docs/.node-version
api-docs/.node-version
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 42a3375c14f5 · 29 Sep 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishergetsentry GitHub organizationOwner of the repository this skill is read from
- Source foldergetsentry/sentry/.agents/skills/sentry-backend-bugsThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict42a3375c14f5A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Review Sentry Python and Django changes for bug patterns drawn from real production issues. Use when reviewing a backend diff or PR, checking Warden findings, auditing the current branch, reviewing production-error…
--- name: sentry-backend-bugs description: 'Review Sentry Python and Django changes for bug patterns drawn from real production issues. Use when reviewing a backend diff or PR, checking Warden findings, auditing the current branch, reviewing production-error patterns, or looking for common regressions in `src/` and `tests/`.' allowed-tools: Read Grep Glob Bash --- # Sentry Backend Bug Pattern Review Find bugs in Sentry backend code by checking for the patterns that cause the most real production errors. This skill encodes patterns from 638 real production issues (393 resolved, 220 unresolved, 25 ignored) generating over 27 million error events across 65,000+ affected users. These are not theoretical risks -- they are the actual bugs that ship most often, with known fixes from resolved issues. ## Scope Review the code provided by the user, Warden, or the current branch diff. If the user does not provide a target, review the current branch diff. Start from the changed hunk or file, then read outward only as needed to confirm the behavior. 1. Analyze the changed code against the pattern checks below. 2. Use `Read` and `Grep` to trace data flow beyond the initial diff when needed. Follow function calls, callers, serializers, tasks, and ORM boundaries until the behavior is confirmed. 3. Report only **HIGH** and **MEDIUM** confidence findings. | Confidence | Criteria | Action | | ---------- | --------------------------------------------------------------------- | ---------------------------- | | **HIGH** | Traced the code path, confirmed the pattern matches a known bug class | Report with fix | | **MEDIUM** | Pattern is present but context may mitigate it | Report as needs verification | | **LOW** | Theoretical or mitigated elsewhere | Do not report | ## Step 1: Classify the Code Determine what you are reviewing and load the relevant reference. | Code Type | Load Reference | | ----------------------------------------------------------------- | ------------------------------------ | | ORM queries, model lookups, `.objects.get()`, FK access | `references/missing-records.md` | | Type conversions, None handling, option reads, serializer returns | `references/null-and-type-errors.md` | | Data input parsing, field lengths, request bodies, decompression | `references/data-validation.md` | | `get_or_create`, `save()`, unique constraints, integer overflow | `references/database-integrity.md` | | Integration webhooks, external API calls, SentryApp hooks | `references/integration-errors.md` | | Dict iteration, shared state, concurrent access | `references/concurrency-bugs.md` | | Snuba queries, metric subscriptions, search filters | `references/query-validation.md` | | Redirect URLs, URL construction, routing | `references/url-safety.md` | If the code spans multiple categories, load all relevant references. ## Step 2: Check for Top Bug Patterns These are ordered by combined frequency and impact from real production data. ### Check 1: Metric Subscription Query Errors -- 113 issues, 3,035,640 events Alert and metric subscriptions referencing tags or functions that do not exist in the target dataset. These fire continuously once created. **Red flags:** - Creating Snuba subscriptions with `SubscriptionData` using user-provided query strings without validation - Referencing `transaction.duration` in p95/p99 functions on the metrics dataset (it is a string type there) - Using custom tag names (e.g., `customerType`) as filter dimensions without checking they exist - Calling `resolve_apdex_function` without verifying the dataset supports threshold parameters **Safe patterns:** - Validate query fields against dataset schema before subscription creation - Wrap `_create_in_snuba` calls with try/except `SubscriptionError` and mark subscription as invalid - Use `IncompatibleMetricsQuery` checks before building metric subscription queries ### Check 2: Missing Record / Stale Reference -- 81 issues, 1,403,592 events Code calls `.get()` on a Django model assuming the record exists, but it has been deleted, merged, or never created. **Red flags:** - `Model.objects.get(id=some_id)` without try/except for `DoesNotExist` - `Detector.objects.get(id=detector_id)` in workflow engine without handling deletion - `Environment.objects.get(name=env_name)` in monitor/cron consumers - `Subscription.objects.get(id=sub_id)` in billing tasks - Using `Group.objects.get()` with IDs from Snuba query results (groups may be deleted/merged) - Chained lookups where second `.get()` fails **Safe patterns:** - `Model.objects.filter(...).first()` with a None check - try/except `DoesNotExist` that returns a graceful fallback (404, skip, log) - Queryset `.exists()` check before `.get()` - In API endpoints: return 404 for `DoesNotExist`, 400 for validation errors. Never suggest returning 500 intentionally. **Not a bug — do not flag:** - Infrastructure invariants: `.get()` enforcing a deployment precondition (e.g., "default org must exist in single-org mode") should crash — a 500 signals misconfiguration, not a code defect. - Already validated by parent: If the endpoint base class validates the object (e.g., `OrganizationEndpoint` resolves the org), don't flag `.get()` on related records unless there's a genuine race or deletion window. Read the endpoint's parent class before reporting. - Configuration lookups: Code that loads required config objects (`get_default()`, settings-based lookups) is expected to fail hard if the config is wrong. ### Check 3: Search Query Validation -- 57 issues, 2,001,330 events InvalidSearchQuery from user-provided or subscription-stored qu
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 42a3375
git clone https://github.com/getsentry/sentry git -C sentry checkout 42a3375c14f5
The author documents no install command, so this uses the repository directly. Our verdict covers commit 42a3375c14f5 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
42a3375c14f5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/getsentry/sentry-backend-bugs/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All devops & cloud skills →getsentry/sentry
Instrument and discover analytics events in Sentry's frontend UI. Use when adding tracking to buttons, pages, modals, or custom interactions, when defining new analytics events, when searching for existing events, when…
getsentry/sentry
Reference and active migration guide for Sentry's cell architecture. Explains what cells and localities are and why they're different, how requests reach cells via Synapse API routing, ingestion routing, and the control…
getsentry/sentry
Guide for adding new actions to Sentry's Command+K palette. Use when implementing new cmdk actions, registering page-level or global actions, building async resource pickers, or adding contextual actions to a view.
getsentry/sentry
Guide for using Sentry's layout and text primitives. Use when implementing UI components, layouts, or typography. Enforces use of core components over styled components.
getsentry/sentry
Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Use when adding a new Django model, designing a model for a feature, deciding where data…
getsentry/sentry
Guide for creating forms using Sentry's new form system. Use when implementing forms, form fields, validation, or auto-save functionality.
Add this badge to your README
[](https://modelsatlas.com/skills/getsentry/sentry-backend-bugs/)
<a href="https://modelsatlas.com/skills/getsentry/sentry-backend-bugs/"><img src="https://modelsatlas.com/skills/getsentry/sentry-backend-bugs/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Sentry Backend Bugs
What does the Sentry Backend Bugs skill do?
Is Sentry Backend Bugs safe to install?
What can Sentry Backend Bugs access on my machine?
How current is this page?
Sources
- github.com/getsentry/sentry/tree/master/.agents/skills/sentry-ba — the audited source at commit 42a3375c14f5 and every finding aboveObserved · 29 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Sentry Backend Bugs skill do?
- Is Sentry Backend Bugs safe to install?
- What can Sentry Backend Bugs access on my machine?