Repository navigation
fix: verify TLS server certificates on monday API calls - #175
Merged
rami-monday merged 1 commit intoDec 2, 2026
Merged
rami-monday merged 1 commit into
rami-monday merged 1 commit into
Conversation
The HTTPS agent in api-service and pbb-schema-manager set rejectUnauthorized: false (plus SSL_OP_LEGACY_SERVER_CONNECT). This was a workaround for an Okteto dev certificate (d38c9a9, 2023). With it, every authenticated CLI request sent the developer's access token without checking the server certificate, so anyone in the network path could intercept it. Drop the custom agent so axios uses Node's default, which verifies certificates. Production endpoints serve valid certificates over TLS 1.3, so the legacy renegotiation option was a no-op. Users behind TLS-inspecting proxies can trust their CA via NODE_EXTRA_CA_CERTS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lukaszfiszer-monday
approved these changes
Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item link: https://monday.monday.com/boards/8441268359/views/180502999/pulses/13644100068
Summary
api-service.tsandpbb-schema-manager.tsbuilt an HTTPS agent withrejectUnauthorized: false(plusSSL_OP_LEGACY_SERVER_CONNECT). So every authenticatedmappsrequest sent the developer's access token without checking the server certificate, and anyone in the network path could intercept it. A customer reported this.execute()passes no custom agent, and bump the version to 4.11.3.Behaviour change: users behind TLS-inspecting corporate proxies may now get certificate errors. They should add their proxy CA via
NODE_EXTRA_CA_CERTS, the standard Node mechanism. Worth a line in the release notes.Test plan
yarn build,yarn lint(0 errors),yarn prettier:checkpass on Node 18.12.1jest: 52 passed, 1 skipped. The new test fails on the old code.https://monday-apps-ms.monday.comsucceeds with certificate verification onmapps initandmapps code:pushagainst prod after release🤖 Generated with Claude Code