Revise workflows based on correct security standards - #511
Merged
Conversation
added 3 commits
July 28, 2026 13:32
pull_request_target runs are not gated by the fork approval policy and carry a write token, so installing requirements from the pull request head let any fork execute arbitrary code in a privileged context. Check out the base branch for pip install first; the head is only checked out afterwards and processed as data by mdformat.
hypernode-deploy's prepare:ssh task hard-fails when the ssh-agent has no identities (it lists loaded keys unconditionally), so builds without SSH_PRIVATE_KEY cannot pass even though building needs no server access. Generate a key that grants access to nothing instead of reintroducing the real deploy key into jobs that run untrusted pull request code.
Contributor
|
Acceptance server is available at https://docs-ephx9045w.hypernode.io. |
dominik-matic
approved these changes
Jul 28, 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.
No description provided.