Skip to content

activitypub: inbound HTTP-Signature verification (Phase 2) #1

Description

@melvincarvalho

The AP inbox (POST {apRoot}/:user/inbox) is unauthenticated by design in Phase 1. The recent hardening (SECURITY.md) added an SSRF gate on all outbound delivery + state-growth caps, which mitigates the abuse surface, but the inbox still accepts activities without verifying the sender's HTTP Signature.

What's needed: verify the Signature header against the actor's published public key before trusting/storing an activity, per the AP + HTTP-Signatures convention. This is a real feature (fetch actor key over the gated fetch, canonicalize, verify), not a one-liner.

Tracked as accepted-risk in SECURITY.md. Until then the inbox mitigations are the SSRF gate + maxInbox/follower-dedupe caps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    securitySecurity finding or hardening

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions