Skip to content

bug: lambda VPC attachment can break outbound connectivity for public threat feeds #77

Description

@Panacota96

Summary

The Flask Lambda is attached to default VPC subnets but the Terraform stack does not provision NAT or equivalent outbound access for public HTTP dependencies such as OpenPhish.

Evidence

  • File: phishing-platform-infra/terraform/lambda.tf:51-54
  • File: phishing-platform-infra/terraform/elasticache.tf attaches Lambda/Redis to VPC resources.
  • App code fetches OpenPhish from �pp/dashboard/routes.py using
    equests.get("https://openphish.com/feed.txt").

Impact

  • Threat-feed and any other public egress integrations may fail in AWS even if they work locally.
  • The runtime networking model is ambiguous and likely environment-dependent.

Expected outcome

Make outbound connectivity explicit: either remove unnecessary VPC attachment or provision the required NAT/VPC endpoints and document the tradeoff.

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

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions