Skip to content

Plugin network request restrictions (allowlist) #193

Description

@Hey-Yetunde

Problem

Plugins may one day make HTTP calls; today there is no policy limiting where they can connect, inviting SSRF.

Context

The Stellar service already restricts its own outbound URLs. Plugins have no outbound capability yet.

Technical requirements

  • Define an allowlist policy for plugin outbound requests (e.g. deny private IP ranges by default, https-only, configurable allowlist).
  • Provide a reusable guard function and use it wherever plugin code can trigger network calls.
  • Document the policy in docs/security.md.

Acceptance criteria

  • The guard rejects non-allowlisted targets and private ranges by default.

Testing requirements

  • Unit tests for the guard (loopback, private ranges, non-https, allowlisted hosts).

Dependencies

  • None (standalone guard).

Difficulty

Hard

Priority

High

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/hardphase-8Work scoped for Phase 8: Plugins & ExtensionspluginPlugin system: manifests, registry, capabilities, eventspriority/highsecurity

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions