Back to Sentry

sentry-security

.agents/skills/sentry-security/README.md

26.4.27.0 KB
Original Source

sentry-security

Sentry-specific security review skill synthesized from real vulnerability history.

Source Commits

This skill was synthesized by analyzing 37 security patches on master from 2025-02-18 to 2026-02-18. The patterns, examples, and checklists in the skill are derived directly from these fixes.

IDOR / Cross-Org Data Access (9)

SHADateDescription
893c7a939f532026-02-12Prevent cross-org condition injection via conditionGroupId IDOR (#108156)
32114eed29f82026-02-10Fix IDOR vulnerability in group operations via qualified short ID
65ff1a9dc0fa2026-01-15fix(security): IDOR in PromptsActivityEndpoint GET - scope project by organization (#104990)
179323a012b32026-01-08fix(security): IDOR in OrganizationOnDemandRuleStatsEndpoint - scope Project by organization (#104988)
f32888f2490e2026-01-06fix(security): IDOR in OrganizationEventsEndpoint - scope DashboardWidget by organization (#104987)
8aff7c4bc5752026-01-06fix(security): IDOR in OrganizationEventsStatsEndpoint - scope DashboardWidget by organization (#104986)
58b5a8a1a1e62025-12-30Validate action filter organization ownership to prevent cross-org injection (#105533)
b43b12ae9b1f2025-12-16fix(security): IDOR in OrganizationDeriveCodeMappingsEndpoint - scope Project by organization (#104980)
5dfd66d27c042025-12-15fix: Correct missing organization constraint in PromptsActivityEndpoint (#104920)

Missing Authorization / Access Checks (10)

SHADateDescription
d714026543ec2026-02-17fix(teams): Prevent contributors from downgrading org admins' team roles (#108288)
4f50b4dfb5882026-01-27(fix): add auth check to ProjectOwnershipRequestSerializer (#107064)
1ccb2c745e612026-01-27Check default org membership before changing superuser/staff privilege (#106877)
0c3841dfac162026-01-23add auth checks in detector workflow (#106815)
89ab908aed982026-01-20Add project check to bundle assembly (#106571)
7be714a12f392026-01-20feat(admin): Restrict /manage/ endpoint to non-SaaS modes (#106530)
45bc78fd57512026-01-02Add functional org filter to GroupEventJsonView (#105601)
fd7c6b1b8b942025-12-17fix(replays): restrict to active staff instead of superuser with user-based replay permissions (#105140)
7049b522d84c2025-09-15fix(coding-agents): set organization event permission on endpoint (#99515)
6ace85cf45d32025-07-22fix(security): Simplify permissions check for notification actions (#95612)

Privilege Escalation / Role Abuse (3)

SHADateDescription
86fa75c2b7e52025-08-26fix(member-team-details): prevent role downgrade by low-privilege users (#98213)
fba35737f88d2026-01-15Fix validators using ActorField, replace with OwnerActorField (#106074)
b6526b6333d22026-01-28Update OwnerActorField usage, refactor RuleSerializer, OpenAPI serializers (#106984)

Token / Session Security (5)

SHADateDescription
4a95d060eac62026-01-28Rate limit API requests if it's an impersonated session (#106814)
8f2542c70d012025-12-19fix(sentry-apps): Prevent inactive applications from refreshing tokens (#105269)
6bfd39e821292025-12-16fix(oauth): Require organization_id for org-level access applications (#105064)
e14e33ebdcaa2025-09-17fix(security): deny actions over org auth tokens by personal token (#99457)
461388ea45422025-06-02fix(security): do not allow auth user token requests if member is disabled (#92616)

XSS / Injection / Output Sanitization (4)

SHADateDescription
f7d3625766632026-02-12fix(mail): Sanitize user display names in invite and integration request emails (#108165)
849bff88fd8d2026-02-12fix(mail): Sanitize user display names in team access request emails (#108154)
6c308dc7f9b22026-01-22fix: disallow custom CSS in marked (#106368)
ea60b8189852025-07-22fix(oauth): Add state validation to prevent promo code conflicts (#95742)

Authentication / MFA (3)

SHADateDescription
86483e5aee502026-02-17fix(security): Delete recovery codes when last primary authenticator is removed (#108264)
1310f27ecc5f2026-02-03fix(auth): Sync CSRF token on form submit for multi-tab scenarios (#107389)
97593dcac7ec2026-01-30fix(auth): Fix CSRF token refresh for multi-tab auth scenarios (#107214)

Misc Security Hardening (3)

SHADateDescription
cee38533b1ef2026-01-30Fix for Open Team Membership in OwnerActorField and error messaging (#107333)
07e8bf886fe22026-01-21SentryApps status fix (#105911)
17dab082e7782025-11-17Upgrade Django to avoid CVE-2025-64459 (#103442)