Feature Request: Allow curl/wget for .localhost domains
Feature Request: Allow curl/wget for .localhost domains
## Description
Currently, Claude Code blocks curl and wget commands for security reasons. While this restriction makes sense for external domains, it creates challenges when working with local development environments,
especially those using Traefik or similar tools that rely on .localhost domains.
## Use Case
I'm working with a containerized application setup using docker-compose with Traefik routing traffic to various services on .localhost domains (n8n.localhost, qdrant.localhost, etc.). When testing if my
services are properly running and accessible, I need to verify HTTP responses but can't use curl or wget to check these local domains.
## Proposed Solution
Allow curl and wget commands specifically for .localhost domains while maintaining restrictions for external domains. This would:
- Maintain security by preventing external network requests
- Support local development workflows
- Allow proper verification of container-based applications
## Impact
This would significantly improve Claude's usefulness for container-based development workflows, especially when working with reverse proxies and local domain routing, without compromising security.
## Additional Context
This is particularly relevant for self-hosted infrastructure projects where verifying local HTTP endpoints is essential to confirming proper configuration.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗