Skip to content

Potential fix for code scanning alert no. 1: Dependency download using unencrypted communication channel - #128

Merged
nov merged 1 commit into
mainfrom
alert-autofix-1
Jun 17, 2026
Merged

Potential fix for code scanning alert no. 1: Dependency download using unencrypted communication channel#128
nov merged 1 commit into
mainfrom
alert-autofix-1

Conversation

@nov

@nov nov commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Potential fix for https://github.com/nov/json-jwt/security/code-scanning/1

To fix this, update the dependency source URL in Gemfile from http:// to https:// so dependency metadata and package downloads are encrypted in transit.

Best single fix without changing functionality:

  • In Gemfile, line 1, replace:
    • source "http://rubygems.org"
      with:
    • source "https://rubygems.org"

No additional methods, definitions, or imports are needed. This preserves behavior (same source host) while removing the insecure transport.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…g unencrypted communication channel

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@nov
nov marked this pull request as ready for review June 17, 2026 02:46
@nov
nov merged commit ac194c0 into main Jun 17, 2026
6 checks passed
@nov
nov deleted the alert-autofix-1 branch June 17, 2026 02:47
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