Skip to content

Fix unsafe checksum path traversal and add agent guidelines#104

Merged
tomdesair merged 1 commit into
masterfrom
bugfix/fix-unsafe-checksum-resolution
Jul 2, 2026
Merged

Fix unsafe checksum path traversal and add agent guidelines#104
tomdesair merged 1 commit into
masterfrom
bugfix/fix-unsafe-checksum-resolution

Conversation

@tomdesair

Copy link
Copy Markdown
Owner

Fixes the path traversal vulnerability in getChecksumPath where a checksum value is transformed to a file system path, by validating that all components are safe using a new helper isSafePathComponent. Also adds tests for unsafe checksum handling, and updates developer guidelines in AGENTS.md.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 94.933% (-0.1%) from 95.07% — bugfix/fix-unsafe-checksum-resolution into master

@tomdesair tomdesair merged commit 2744082 into master Jul 2, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants