You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(rules): flag predictable sequential resource IDs in API endpoints (advisory) #2322
Endpoints keyed by small sequential integers (/api/orders/1, /api/orders/2) make insecure direct object reference easy to exploit if authorization is weak. A passive advisory rule can spot the pattern in discovered endpoints and JSON id fields without any extra requests.
AC1 narrowed (design decision): the rule detects small-integer ids in discovered endpoint URLs (path segments and query strings). JSON id fields in response bodies, including bodies the crawl already fetched, are out of scope for this rule because site rules do not receive fetched bodies; that follow-up is #2369. The rule stays passive and sends no request.
Activity
longshore-nc9 commentedon Nov 25, 2026
AC1 narrowed (design decision): the rule detects small-integer ids in discovered endpoint URLs (path segments and query strings). JSON id fields in response bodies, including bodies the crawl already fetched, are out of scope for this rule because site rules do not receive fetched bodies; that follow-up is #2369. The rule stays passive and sends no request.
fix(rules): match id query keys case-sensitively in security/sequenti…
fix(rules): skip head links and cursor keys in security/sequential-re…
fix(rules): format and widen cursor keys in security/sequential-resou…
feat(rules): flag predictable sequential resource ids in API endpoint…
fix(rules): match id query keys case-sensitively in security/sequenti…
fix(rules): skip head links and cursor keys in security/sequential-re…
fix(rules): format and widen cursor keys in security/sequential-resou…
feat(rules): flag predictable sequential resource ids in API endpoint…
fix(rules): match id query keys case-sensitively in security/sequenti…
fix(rules): skip head links and cursor keys in security/sequential-re…
fix(rules): format and widen cursor keys in security/sequential-resou…
feat(rules): flag predictable sequential resource ids in API endpoint…
fix(rules): match id query keys case-sensitively in security/sequenti…
fix(rules): skip head links and cursor keys in security/sequential-re…
fix(rules): format and widen cursor keys in security/sequential-resou…