Skip to content

Harden SDK logging, HTTP defaults, and CI supply chain - #31

Merged
franciscbalint merged 1 commit into
mainfrom
security/hardening
Aug 19, 2026
Merged

franciscbalint merged 1 commit into
mainfrom
security/hardening

Conversation

@franciscbalint

Copy link
Copy Markdown
Collaborator

Summary

  • Require https:// for custom apiBaseURL
  • Abort fetch after 120s when AbortSignal.timeout exists
  • README Security notes (do not ship API keys in the browser)

This is not a version bump or registry publish. Cut a separate release-sdk pass after merge if the hardening should ship to package registries.

Test plan

  • SDK unit tests (Docker matrix / host for iOS)
  • Confirm no live API key is logged or committed
  • Confirm custom http:// / file: base URLs are rejected (except documented loopback test exceptions)

Made with Cursor

Reject non-https custom apiBaseURL values and abort fetch after 120s when AbortSignal.timeout is available.
@franciscbalint
franciscbalint merged commit cc615c4 into main Aug 19, 2026
4 checks passed
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