Repository navigation
Pin the Hermes remote installer and harden consent - #7179
Conversation
There was a problem hiding this comment.
Code Review
This pull request enhances the security warning displayed to users when installing an agent from an external source, explicitly warning them about executing unverified third-party scripts. The corresponding unit tests have been updated to assert the new warning messages. There are no review comments to address, and the changes look solid.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
danielhanchen
left a comment
There was a problem hiding this comment.
Reviewed: pins the Hermes installer script and its checkout to an immutable commit and hardens the consent warning. Verified the commit exists and both installers consume --commit/-Commit.
Pin the fetched Hermes install.sh/install.ps1 and the checkout they perform to an immutable upstream commit, and distinguish pinned from unpinned sources in the consent warning.
Summary
f1af945f6c576eccb126fa955edc9be258b33020--commit/-Commit, pinning the repository checkout performed by the installer tooWhy the original mitigation was incomplete
The issue is real:
curl | bash/irmexecutes remote content with the user's privileges. A warning improves consent but does not prevent the upstream branch or vanity-domain response from changing between review and execution. Before the follow-up, the Hermes install remained mutable. After it, both the downloaded script and its checkout target are bound to one full Git commit.Validation
unsloth_cli/tests/test_start.py: 214 passedinstall.shandinstall.ps1without executing themgit checkoutgit diff --check: passCompatibility
Both Hermes-supported installer forms keep their existing skip-setup behavior. No browser, model, GPU, or hardware path changes. The security tradeoff is intentional: installation remains reproducible but will not automatically pick up future Hermes installer changes until Unsloth reviews and updates the pinned commit.