Repository navigation
pull: refuse a repository file under the engine's reserved names - #3032
Merged
Merged
Conversation
ashhart
marked this pull request as ready for review
November 12, 2026 17:30
A repository could ship a .tensorfold-original snapshot that a later rollback would act on. pull now refuses hub paths under the names the engine keeps for itself.
ashhart
force-pushed
the
security/pull-reserved-names
branch
from
November 13, 2026 00:03
1af421d to
8cebbad
Compare
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.
What this changes
Before: a hub repository could ship files under the names the engine keeps for itself, such as a
.tensorfold-originalsnapshot that a laterslide rollbackwould act on. After:pullrefuses those paths.SECURITY.mdasks for private reports, so there is no public issue.atc overlap --json: not run.Checks on this head
1af421d8786f8e76bdd5bd42d5fad1cf74b5a8cfpython3 tools/zig/lean_check.py, on the base and on this head: 345 on the base, 345 on this head, 0 new.zig fmt --checkon 1 files: passesgit diff --check: passeszig build test-pull-host test-cli: 69/69 steps succeeded; 69/84 tests passed (15 skipped)zig build test-golden test-server-security test-pull-security: 76/76 steps succeeded; 8/8 tests passedsecurity: a hub repository cannot plant TensorFold's own snapshot, marker or put-back fileszig build testand every step that runs on a GPU were not run: this Mac's GPU was serving a model, and no CUDA, ROCm or Intel hardware was available.Receipt
n/a. This change cannot reach inference: it is
tensorfold pull's path check.Checklist
b38a4dd02. On this base only the passing side was rerun.Notes for the reviewer
Suggested changelog line
tensorfold pullrefuses repository files under the engine's own reserved names.