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

jhheider / scriptbox / 29617774444
79%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2026 10:24PM UTC
Jobs 1
Files 10
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 Jul 2026 10:24PM UTC coverage: 87.828% (+9.0%) from 78.848%
29617774444

push

github

jhheider
subscripts: add wrap mode (freeze shell children recursively)

`--subscripts=wrap` / `subscripts = "wrap"` rewrites resolvable shell child
invocations in the served copy to route through scriptbox itself
(`bash child.sh` -> `<scriptbox> --subscripts=wrap bash child.sh`), so each
child is frozen too, recursively. source/. (in-process), dynamic paths, and
already-immune interpreters (python/ruby/node) are reported but left alone.
Proven by a differential e2e test: a self-mutating shell child is vulnerable
under `report` and frozen under `wrap`.

Also documents a pre-existing quirk found here: SCRIPTBOX_SOURCE is an env var,
so an un-wrapped child inherits the parent's value; wrap fixes it for the tree.
In-process `source` freezing (fd substitution) is the remaining piece.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014psyX18vgHn4UkMwCtZqff

70 of 118 new or added lines in 3 files covered. (59.32%)

837 of 953 relevant lines covered (87.83%)

7.31 hits per line

Uncovered Changes

Lines Coverage ∆ File
47
58.49
58.49% src/subscripts.rs
1
96.57
0.0% src/run.rs
Jobs
ID Job ID Ran Files Coverage
1 29617774444.1 17 Jul 2026 10:24PM UTC 10
87.83
GitHub Action Run
Source Files on build 29617774444
  • Tree
  • List 10
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29617774444
  • 47d2d24c on github
  • Prev Build on main (#29616674148)
  • Next Build on main (#29619708570)
  • Delete
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