Skip to content

Add path validation to functions proxy convention #28

Description

@todo-mdx

SECURITY: The functions proxy in src/conventions/functions/proxies.ts does not use validateProxyPath() like the main proxy convention, allowing potential SSRF attacks.

Location: src/conventions/functions/proxies.ts lines 70-73, 124

TDD Steps:

  • RED: Write test attempting path traversal through functions proxy
  • GREEN: Apply validateProxyPath() from src/helpers/path.ts to functions proxy
  • REFACTOR: Ensure consistent path validation across all proxy patterns

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions