-
Notifications
You must be signed in to change notification settings - Fork 16
fix(picklescan): safely parse bounded PyTorch tensor batches #1783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mldangelo-oai
wants to merge
32
commits into
main
Choose a base branch
from
fix/hf-pytorch-batched-setitems
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c49fdac
fix: avoid false positives for batched PyTorch state dictionaries
mldangelo-oai 6ab180a
fix: require patched picklescan and preserve Ruff policy
mldangelo-oai 117dc52
fix: stream bounded canonical tensor dictionary batches
mldangelo-oai 662ee8b
fix(picklescan): preserve release order and mixed tensor batches
mldangelo-oai 165da93
fix(picklescan): retain bounded mixed checkpoint state
mldangelo-oai b6e5500
fix(picklescan): retain malicious storage detection for wide dictiona…
mldangelo-oai 8c1de87
fix(picklescan): validate post-tensor metadata without trusting storage
mldangelo-oai 5accbc4
fix(picklescan): reject transformed untrusted storage in tensor batches
mldangelo-oai 6acec3c
fix(picklescan): distrust discarded persistent storage references
mldangelo-oai a2f6598
fix(picklescan): bound provenance and preserve discarded storage cove…
mldangelo-oai fc0cb23
fix(picklescan): distrust duplicate provenance in ordered state dicti…
mldangelo-oai d394b41
fix(picklescan): distrust storage consumed by build and conversion re…
mldangelo-oai a9b5322
fix(picklescan): retain coverage when malformed stacks discard storage
mldangelo-oai 1ae8668
fix(picklescan): preserve discarded compacted tensor provenance
mldangelo-oai 5f68a46
fix(picklescan): retain storage operands discarded by mutation opcodes
mldangelo-oai 37ac497
fix(picklescan): reject raw storage injected into canonical tensor state
mldangelo-oai 48d2778
fix(picklescan): track storage nested before canonical tensor batches
mldangelo-oai 119697c
fix: retain untrusted storage provenance in plain dictionaries
mldangelo-oai 96ed814
fix: buffer safe metadata before canonical tensor batches
mldangelo-oai e9cb6a8
fix: bound dictionary storage provenance without retaining containers
mldangelo-oai d6f6771
fix: preserve safe repeated tensor memo references
mldangelo-oai fd602ee
fix: preserve canonical state across realistic metadata layouts
mldangelo-oai 2bdd951
fix: preserve storage provenance across enclosing containers
mldangelo-oai fcd0e42
fix: inspect every nested storage provenance entry
mldangelo-oai 7081570
Merge remote-tracking branch 'origin/main' into fix/hf-pytorch-batche…
mldangelo-oai 9c2735c
fix: validate final storage and bounded nested tensor state
mldangelo-oai 3e5b248
fix: preserve direct size-proven storage payload coverage
mldangelo-oai 46a8fb7
fix: preserve bounded storage discovery across compacted tensor batches
mldangelo-oai d9f9103
fix: retain storage containers and probe every expanded tensor batch
mldangelo-oai 9226edd
fix: bound expanded tensor-storage prefix probes
mldangelo-oai 5c56a10
chore(picklescan): drop unrelated ruff select override
mldangelo 21bc219
fix(picklescan): keep the expanded storage probe additive for coverage
mldangelo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.