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

bodgit / sevenzip / 26260177354 / 1
75%
main: 75%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 11:59PM UTC
Files 25
Run time 1s
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

21 May 2026 11:58PM UTC coverage: 74.889% (+0.2%) from 74.727%
26260177354.1

push

github

web-flow
fix: protect against specially crafted archives setting high AES cycles (#448)

* Protect against specially crafted archives setting high AES cycles

add maxCyclesPower to cap the number of cycles.
add tests to validate behavior

Cycles setting comes directly from the archive's AES properties byte
which could be set to something like cycles=62 which would mean 2^62 ≈
4.6×10^18 SHA-256 iterations, which would effectively hang the process.
Standard 7-zip archives use cycles=19 so setting the cap to 24 gives
headroom to the standard while still protecting from a malicious file

* fix: extract repeated string literals to constants to satisfy goconst

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Revert "fix: extract repeated string literals to constants to satisfy goconst"

This reverts commit 723779e69.

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Matt Dainty <matt@bodgit-n-scarper.com>

1852 of 2473 relevant lines covered (74.89%)

0.84 hits per line

Source Files on job 26260177354.1
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26260177354
  • ec43e2b9 on github
  • Prev Job for on main (#26259532752.1)
  • Next Job for on main (#26260292750.1)
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