Skip to content

feat: add developer portal fuzzing and rate limits#427

Open
Calebux wants to merge 1 commit into
Smartdevs17:mainfrom
Calebux:dev-portal-fuzz-rate-limits
Open

feat: add developer portal fuzzing and rate limits#427
Calebux wants to merge 1 commit into
Smartdevs17:mainfrom
Calebux:dev-portal-fuzz-rate-limits

Conversation

@Calebux
Copy link
Copy Markdown

@Calebux Calebux commented May 30, 2026

This PR closes #393.
Closes #392.
Closes #385.

Summary

  • Adds a developer portal at /api/developer with Swagger links, GraphQL playground, API key management, usage/rate-limit status, SDK quickstarts, and webhook testing.
  • Adds per-user sensitive-operation rate limiting for borrow, withdraw, and liquidate with sliding windows, headers, graduated penalties, trusted-user bypass, and analytics.
  • Extends cargo-fuzz lending coverage to liquidation and adds a scheduled/manual 30-minute fuzz workflow with crash triage and coverage artifact upload.

Verification

  • npx jest src/middleware/tests/rate-limit.test.ts --runInBand --no-coverage
  • ./node_modules/.bin/prettier --check api/src/app.ts api/src/middleware/rate-limit.ts api/src/routes/developer.routes.ts api/src/middleware/tests/rate-limit.test.ts
  • rustfmt --check stellar-lend/fuzz/src/lending.rs
  • git diff --check

Notes

  • npm run typecheck --workspace api is currently blocked by pre-existing unrelated TypeScript errors in controllers, DTOs, and priceWebSocket.
  • cargo fmt --all -- --check is currently blocked by unrelated workspace formatting plus a missing hello-world prop_arithmetic_test module.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

Someone is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@Calebux Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant