build(deps): Bump the python-runtime group across 1 directory with 2 updates - #7
Open
dependabot[bot] wants to merge 1 commit into
Open
build(deps): Bump the python-runtime group across 1 directory with 2 updates#7dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
SOSOVSKI
added a commit
that referenced
this pull request
Sep 10, 2026
CodeQL alert #7, py/tarslip, high severity, on the unfiltered fallback at vault_commands.py:161. It was right, and this is not a suppression. The previous shape validated every member and then called `extractall`, falling back to an unfiltered call on interpreters whose tarfile predates the `data` filter. That fallback was a genuine weak point rather than a false positive: tarfile re-derives each destination path from the same member names, so the validation above it was advisory, not load-bearing. Nothing connected the check to the write. Extraction is now explicit, member by member, so the path check is the only route to disk. That also turns a blacklist into a whitelist: a vault is directories and regular files, so symlinks, hardlinks, devices and FIFOs are skipped rather than reasoned about, and archive permissions are not carried over — nothing can arrive with an executable or setuid bit. It removes the version-dependent behaviour too. There is no longer a filter argument that may or may not exist, so every interpreter takes the same path. No `extractall` and no security suppression remains in the package. Verified: a hostile archive carrying a symlink to /etc/passwd and a 0o4777 mode installs two nodes and neither the link nor the mode lands; the traversal refusal still fires; and a bare `akms vault install` against the published v1.0.0 tarball still yields 264 nodes, 14 payloads and a 909-edge graph. 1757 tests pass, ruff clean, pyright 0 errors, public-tree audit passes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TcdE6eeSDBh8xrgKCoGrkw
SOSOVSKI
added a commit
that referenced
this pull request
Sep 10, 2026
CodeQL alert #7, py/tarslip, high severity, on the unfiltered fallback at vault_commands.py:161. It was right, and this is not a suppression. The previous shape validated every member and then called `extractall`, falling back to an unfiltered call on interpreters whose tarfile predates the `data` filter. That fallback was a genuine weak point rather than a false positive: tarfile re-derives each destination path from the same member names, so the validation above it was advisory, not load-bearing. Nothing connected the check to the write. Extraction is now explicit, member by member, so the path check is the only route to disk. That also turns a blacklist into a whitelist: a vault is directories and regular files, so symlinks, hardlinks, devices and FIFOs are skipped rather than reasoned about, and archive permissions are not carried over — nothing can arrive with an executable or setuid bit. It removes the version-dependent behaviour too. There is no longer a filter argument that may or may not exist, so every interpreter takes the same path. No `extractall` and no security suppression remains in the package. Verified: a hostile archive carrying a symlink to /etc/passwd and a 0o4777 mode installs two nodes and neither the link nor the mode lands; the traversal refusal still fires; and a bare `akms vault install` against the published v1.0.0 tarball still yields 264 nodes, 14 payloads and a 909-edge graph. 1757 tests pass, ruff clean, pyright 0 errors, public-tree audit passes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TcdE6eeSDBh8xrgKCoGrkw
dependabot
Bot
force-pushed
the
dependabot/uv/python-runtime-9367bcaa3a
branch
from
September 10, 2026 16:53
5f7bb40 to
7936fc8
Compare
…updates Bumps the python-runtime group with 2 updates in the / directory: [pydantic](https://github.com/pydantic/pydantic) and [python-frontmatter](https://github.com/eyeseast/python-frontmatter). Updates `pydantic` from 2.13.4 to 2.13.5 - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/v2.13.5/HISTORY.md) - [Commits](pydantic/pydantic@v2.13.4...v2.13.5) Updates `python-frontmatter` from 1.1.0 to 1.3.0 - [Release notes](https://github.com/eyeseast/python-frontmatter/releases) - [Commits](eyeseast/python-frontmatter@v1.1.0...v1.3.0) --- updated-dependencies: - dependency-name: pydantic dependency-version: 2.13.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-runtime - dependency-name: python-frontmatter dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-runtime ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/uv/python-runtime-9367bcaa3a
branch
from
September 10, 2026 18:23
7936fc8 to
5fd64f4
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.
Bumps the python-runtime group with 2 updates in the / directory: pydantic and python-frontmatter.
Updates
pydanticfrom 2.13.4 to 2.13.5Release notes
Sourced from pydantic's releases.
Changelog
Sourced from pydantic's changelog.
Commits
001dea0Bumppypa/gh-action-pypi-publishaction to v1.14.2558379fBump twine to v7.0.02cfd5d3Do not check for docs builda735beeFix more Clippy lints7eed4a1Fix Clippy 0.1.95 warningsb353bbbPrepare release v2.13.563d2cccCount validated model fields once in smart unionsa53ec2eSpeed up PyPy CI testsd65e0f9Workaround circular import error in Mypy47a6dbfFix missing GC traversal inpydantic-coreforGeneralFieldsSerializerUpdates
python-frontmatterfrom 1.1.0 to 1.3.0Release notes
Sourced from python-frontmatter's releases.
Commits
dc7c0afMerge pull request #131 from eyeseast/123-uv1e787d8Migrate to uv and pyproject.toml3622432Merge pull request #129 from eyeseast/126-remove-codecsc4fdd50Encoding is a kwarg6fa3a9aRemove codecs from tests3a8c600Merge pull request #128 from eyeseast/upgrade-actions8243f83Test on Python 3.14 and upgrade actions55bcc67v1.2.0949826fMerge pull request #125 from giuse-boccia/fix/include-py-typed-markerb12a13bInclude py.typed marker in package distribution