• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

barseghyanartur / safezip / 23220856994
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: main
Ran 17 Mar 2026 11:14PM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Mar 2026 11:14PM UTC coverage: 89.715% (-2.0%) from 91.717%
23220856994

Pull #47

github

web-flow
Feature/improvements (#46)

- **Comprehensive zip bomb detection**: Replaced `ZipInspector` with full
  Fifield 2019 detection (overlap, extra-field quoting, per-file/aggregate
  ratio, Zip64, bzip2). Configurable thresholds.
- **Content-based nested archive detection**: Uses `zipfile.is_zipfile()`
  instead of extension-only checks; prevents extension-spoofing attacks.
- **Permission sanitisation**: New `strip_special_bits` option strips
  setuid/setgid/sticky bits from extracted files (default: True).
- **Module-level env-var caching**: Default limits cached at import time for
  performance, with runtime env-var overrides still supported.
- **Event improvements**: Added `nesting_depth_exceeded` event type.
- **Type safety**: Added explicit `TypeError` for `None` path in `extract()`.
- **Documentation**: Updated ARCHITECTURE.rst with new features.
Pull Request #47: Feature/improvements (#46)

337 of 400 new or added lines in 6 files covered. (84.25%)

26 existing lines in 1 file now uncovered.

1954 of 2178 relevant lines covered (89.72%)

4.48 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
86.03
-0.02% src/safezip/_core.py
47
72.18
-1.47% src/safezip/_guard.py

Uncovered Existing Lines

Lines Coverage ∆ File
26
72.18
-1.47% src/safezip/_guard.py
Jobs
ID Job ID Ran Files Coverage
1 Run Tests - 23220856994.1 17 Mar 2026 11:15PM UTC 16
89.72
Source Files on build 23220856994
  • Tree
  • List 16
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #47
  • PR Base - main (#23172753957)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc