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 SSL- Use
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.

- Use
-
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:
{
"http.proxySupport": "override",
"http.proxy": "http://proxy.company.local:8080",
"http.proxyStrictSSL": true
}If your Company uses an Authenticated Proxy
Http: Proxy Authorization

Preferred:
{
"http.proxyAuthorization": "Basic <base64(username:password)>"
}Alternative:
{
"http.proxy": "http://username:password@proxy.company.local:8080"
}If your company uses TLS inspection
Aikido: Extra Ca Certs

If your proxy re-signs certificates, add your corporate CA bundle:
{
"aikido.extraCaCerts": "/absolute/path/to/corporate-ca.pem"
}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 Required- Re-check
http.proxyAuthorizationformat (Basic ...). - If needed, validate credentials using the proxy-URL credential format.
- Re-check
- 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.
- Set a valid
- Proxy not used
- Ensure
http.proxySupportis notoff. - Ensure one of
http.proxy,HTTPS_PROXY, orhttps_proxyis configured. - Reload VS Code after updates.
- Ensure