Skip to content

Security: IP allowlist checks review (ip-range-check usage audit) #152

Description

@greatest0fallt1me

Description

Audit any IP range usage for admin/gateway endpoints; add tests for boundary CIDRs and spoofing-resistant behavior behind proxies.

Requirements and context

  • Document trusted proxy headers configuration.
  • Avoid breaking IPv6 deployments.

Suggested execution

  • Fork the repo and create a branch: git checkout -b chore/ip-allowlist-audit
  • Work in Callora-Backend (TypeScript / Express).

Primary paths

src/types/ip-range-check.d.ts + call sites (search repo)

  • Run npm run lint, npm run typecheck, and npm test.

Deliverables

  • Tests + documentation in PR description.

Test and commit

  • Add or extend unit and/or integration tests (src/**/*.test.ts, tests/integration/**).
  • Paste summarized test output in the PR; call out security or data-integrity notes.

Example commit message

chore(security): audit ip allowlist usage

Guidelines

  • Tests should cover new behavior and important edge cases.
  • Keep changes focused; follow existing patterns in the codebase.
  • Timeframe: 96 hours from assignment unless agreed otherwise.

Activity

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

Metadata

Metadata

Labels

Stellar WaveStellar Wave Program issueauthbackendBackend service worksecuritySecurity hardening

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions