Skip to content

OWASP hardening for Trace and claim registry - #2

Merged
WejdanBa-CS merged 1 commit into
mainfrom
cursor/owasp-hardening
Aug 20, 2026
Merged

OWASP hardening for Trace and claim registry#2
WejdanBa-CS merged 1 commit into
mainfrom
cursor/owasp-hardening

Conversation

@WejdanBa-CS

Copy link
Copy Markdown
Owner

Summary

  • Add \lib/core/safe_url.dart\ to block SSRF targets (localhost, RFC1918, link-local, metadata) and credential-bearing URLs
  • Apply validation to Trace scans, watchlist, social media resolver, and optional claim registry
  • Cap Trace scans at 40/hour per device session
  • Expand SECURITY.md with OWASP control matrix

Test plan

  • \ lutter test\ (77 passed)
  • Manual: try tracing \http://127.0.0.1\ — should show validation error
  • Manual: optional registry with private URL should be ignored

Made with Cursor

Add safe URL validation, trace rate limiting, and OWASP control docs aligned with Givy.

Co-authored-by: Cursor <cursoragent@cursor.com>
@WejdanBa-CS
WejdanBa-CS merged commit 70b6ea5 into main Aug 20, 2026
3 checks passed
WejdanBa-CS added a commit that referenced this pull request Aug 20, 2026
OWASP hardening for Trace and claim registry
WejdanBa-CS added a commit that referenced this pull request Aug 20, 2026
OWASP hardening for Trace and claim registry
WejdanBa-CS added a commit that referenced this pull request Aug 20, 2026
OWASP hardening for Trace and claim registry
@WejdanBa-CS
WejdanBa-CS deleted the cursor/owasp-hardening branch August 20, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant