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

IJHack / QtPass / 45583302534
95%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 09:23AM UTC
Jobs 1
Files 87
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

25 Nov 2026 09:13AM UTC coverage: 94.833% (-0.04%) from 94.876%
45583302534

push

github

web-flow
Content search: read each entry without following a link (#2331)

Content search read each entry by path after a link check, so a pull
that swapped a folder for a link mid-search made it read, decrypt and
match a file outside the store.

Util::readRegularFileUnder(root, path, maxBytes) now reads an entry
without following a link below the store root. On POSIX it opens the
root by name, walks each folder with openat(O_DIRECTORY | O_NOFOLLOW)
and opens the file with O_NOFOLLOW | O_NONBLOCK, then accepts only a
regular file by fstat(). It refuses "..", "." and empty parts and any
path outside the root. On Windows it holds a handle on every folder
from the root down, opened without FILE_SHARE_DELETE so none can be
renamed or replaced while the file is read, and refuses a folder that
is a symbolic link or junction, as the store walk does.

NativeGrep::matchFile() reads the ciphertext this way, hands it to gpg
on stdin and decodes the output with Executor::decodeText(), the same
decoding executeBlocking() applies. ImitatePass::decryptEntry() reads
under the store (or its canonical path) the same way and refuses
anything else.

Scan: ANT-2026-5W0UHRED

Signed-off-by: Anne Jan Brouwer <brouwer@annejan.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

57 of 61 new or added lines in 4 files covered. (93.44%)

3 existing lines in 1 file now uncovered.

10002 of 10547 relevant lines covered (94.83%)

21879.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.94
-0.35% src/util.cpp

Coverage Regressions

Lines Coverage ∆ File
3
94.24
-2.08% src/nativegrep.cpp
Jobs
ID Job ID Ran Files Coverage
1 45583302534.1 25 Nov 2026 09:23AM UTC 87
94.83
GitHub Action Run
Source Files on build 45583302534
  • Tree
  • List 87
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45583302534
  • d1e3b584 on github
  • Prev Build on main (#45519765640)
  • Next Build on main (#45586182407)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc