Skip to content

Gracefully handle network failure during MITM + more logging#305

Open
reiniercriel wants to merge 4 commits into
mainfrom
feature/handle-handrequest-unhandled-promise
Open

Gracefully handle network failure during MITM + more logging#305
reiniercriel wants to merge 4 commits into
mainfrom
feature/handle-handrequest-unhandled-promise

Conversation

@reiniercriel
Copy link
Copy Markdown
Collaborator

@reiniercriel reiniercriel commented Jan 27, 2026

Summary by Aikido

Security Issues: 0 Quality Issues: 0 Resolved Issues: 0

⚡ Enhancements

  • Added connection timeout handling and IMDS endpoint blacklist for tunnels
  • Improved error handling and logging for proxy CONNECT tunneling via proxy
  • Added verbose client socket error logging during MITM tunnel setup

🔧 Refactors

  • Wrapped tunnelRequest in try/catch and logged failures during execution
  • Wrapped MITM request handler in try/catch and returned 502 on error

More info

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant