Skip to content

Releases

pathward 0.2.0

Choose a tag to compare

@m2hcz m2hcz released this 22 Jul 17:05
044dac6

Pathward 0.2.0 adds preflighted archive inspection, secure resource limits, safer root-bounded filesystem operations, portable collision checks, and inline typing support.

Highlights:

  • New ExtractionPolicy, ArchiveManifest, inspect_archive, and safe_mkdir APIs.
  • Archive extraction now preflights all members and writes through unique temporary files.
  • Existing files are not overwritten unless ExtractionPolicy(overwrite=True) is set.
  • ZIP symlink and special-file metadata is rejected consistently across creator platforms.
  • Expanded migration, threat-model, contribution, and security documentation.

See CHANGELOG.md and docs/MIGRATING_TO_0.2.md for complete details and compatibility notes.

pathward 0.1.0

Choose a tag to compare

@m2hcz m2hcz released this 12 Jun 01:49

Initial release. Defensive path handling for Python: path traversal, symlink escape, Zip Slip, and TOCTOU protection. Install: pip install pathward