VS Code Proxy Setup
Use this guide when your network requires a proxy for outbound traffic to Aikido in VS Code.
Configuration
Open VS Code
Settings(Cmd+,on macOS,Ctrl+,on Windows/Linux).Search for
proxy.Set
Http: Proxy Supporttooverride(oronif your environment already handles proxying correctly). Http: Proxy Support
Set
Http: Proxyto your proxy URL (for example:http://proxy.company.local:8080). Http: Proxy
Keep
Http: Proxy Strict SSLenabled (true) whenever possible. Http: Proxy Strict SSLUse
truewhen your proxy/server certificate chain is trusted (public CA or correctly installed corporate CA).If your company uses TLS inspection or custom/self-signed certs,
truecan fail with trust errors until that CA is installed.Preferred fix: add the corporate CA cert (PEM) via
aikido.extraCaCerts(orNODE_EXTRA_CA_CERTS) so validation still stays enabled.Only set
Http: Proxy Strict SSLtofalseas a temporary troubleshooting step in controlled environments; revert totrueafter certificate trust is configured.

Reload VS Code (
Developer: Reload Window).Open or save a file to trigger an Aikido scan.
Alternative set-up with `settings.json`
Example settings.json:
If your Company uses an Authenticated Proxy
Http: Proxy Authorization

Preferred:
Alternative:
If your company uses TLS inspection
Aikido: Extra Ca Certs

If your proxy re-signs certificates, add your corporate CA bundle:
Verify Connection
Reload VS Code after proxy changes.
Trigger an Aikido scan by opening/saving a file.
Confirm there are no proxy authentication or TLS trust errors in logs.
Run an SCA scan and confirm dependency downloads succeed.
Common Fixes
407 Proxy Authentication RequiredRe-check
http.proxyAuthorizationformat (Basic ...).If needed, validate credentials using the proxy-URL credential format.
TLS errors (
self-signed,unable to verify,certificate unknown)Set a valid
aikido.extraCaCertspath (orNODE_EXTRA_CA_CERTS).Keep
http.proxyStrictSSL: truewhenever possible.Reload VS Code after certificate changes.
Proxy not used
Ensure
http.proxySupportis notoff.Ensure one of
http.proxy,HTTPS_PROXY, orhttps_proxyis configured.Reload VS Code after updates.
Last updated
Was this helpful?