Skip to content

mcp: manifest fetcher reads full body before _MAX_MANIFEST_BYTES check #381

@thinmintdev

Description

@thinmintdev

Surfaced by PR #368 reviewer. src/hal0/mcp/manifest.py _default_fetcher should stream + abort on size threshold. Risk: server without Content-Length can exhaust memory before guard fires. Low severity (256KB cap is small) but worth fixing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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