Skip to content

fix: restrict /metrics auth, harden exception filter, add issue templ… - #565

Merged
james2177 merged 2 commits into
stellar-vortex-protocol:mainfrom
Iceeyyou2:fix/298-304-309-318-security-and-infra
Sep 30, 2026
Merged

james2177 merged 2 commits into
stellar-vortex-protocol:mainfrom
Iceeyyou2:fix/298-304-309-318-security-and-infra

Conversation

@Iceeyyou2

@Iceeyyou2 Iceeyyou2 commented Sep 30, 2026 •

Copy link
Copy Markdown

…ates and OpenAPI drift check

Closes #298,
Closes #304,
Closes #309,
Closes #318

Summary

Related issue

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • CI / tooling

Component

  • Contract (vortex-contract)
  • Backend (vortex-backend)
  • Frontend (vortex-frontend)

Checklist

  • My code follows the project's style and conventions
  • I ran lint / type-check / build locally and they pass
  • I added or updated tests where appropriate
  • I updated documentation where appropriate
  • My commits follow Conventional Commits

Screenshots / notes

Iceeyyou2 and others added 2 commits September 30, 2026 10:37
…ates and OpenAPI drift check

- fix(stellar-vortex-protocol#298): add Bearer-token auth guard to GET /metrics (METRICS_TOKEN env var,
  required + min-16-char in production; env disabled by default in dev/test)
- fix(stellar-vortex-protocol#304): replace verbatim custom-body passthrough in HttpExceptionFilter with
  an explicit allowlist (error, intentId, minDstAmount, fillAmount); strips any
  future accidental fields before they reach the client
- feat(stellar-vortex-protocol#309): add .github/ISSUE_TEMPLATE/ with bug_report.md, feature_request.md,
  and contributor_claim.md so contributors no longer open blank issues
- feat(stellar-vortex-protocol#318): add openapi-drift CI job that regenerates src/generated/ and fails
  the build if the checked-in files are stale

Closes stellar-vortex-protocol#298, stellar-vortex-protocol#304, stellar-vortex-protocol#309, stellar-vortex-protocol#318
…-security-and-infra

# Conflicts:
#	.env.example
#	.env.mainnet.example
#	.env.testnet.example
#	.github/workflows/ci.yml
#	src/common/http-exception.filter.spec.ts
#	src/common/http-exception.filter.ts
#	src/config/configuration.ts
#	src/config/env.validation.ts
#	src/metrics/metrics.controller.ts
@james2177
james2177 merged commit a938cf5 into stellar-vortex-protocol:main Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants