You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: The codebase maintains excellent overall coverage with 9,971 of 10,755 statements covered. Coverage metrics far exceed industry standards (>85% generally considered production-ready).
🛡️ Security-Critical Path Status
Component
Statements
Branches
Status
Risk Level
bounded-execution/finite-disclosure.ts
9.26%
0.26%
⛔ CRITICAL
CRITICAL
enclave/runtime-preflight.ts
66.66%
41.02%
⚠️ MEDIUM
MEDIUM
commands/validators/config-assembly.ts
69.69%
20%
⚠️ MEDIUM
MEDIUM
microvm/rootfs.ts
71.69%
54.54%
⚠️ MEDIUM
MEDIUM
cloud-hypervisor/virtiofsd.ts
72.51%
55.35%
⚠️ MEDIUM
MEDIUM
host-iptables.ts
100%
100%
✅ EXCELLENT
NONE
squid-config.ts
100%
100%
✅ EXCELLENT
NONE
domain-patterns.ts
100%
89.47%
✅ EXCELLENT
NONE
Key Finding: The host-level network firewall (host-iptables.ts), domain ACL system (squid-config.ts), and domain pattern matching (domain-patterns.ts) have 100% statement coverage, indicating strong testing of core isolation mechanisms.
Stable Components: No git history available in this report, but coverage remains consistent across all core security modules. The host-iptables.ts and squid-config.ts modules show 100% coverage, indicating recent changes (if any) have been well-tested.
🔎 Notable Findings
Critical Gap in Bounded Execution (9.26%): The finite-disclosure.ts module protecting against credential exfiltration has extremely low coverage. This is a single-point-of-failure for secure agent credential isolation. This requires immediate attention.
Excellent Network Isolation Coverage: Host-level firewall (host-iptables.ts), Squid ACL generation (squid-config.ts), and domain validation all have 100% statement coverage. The core L7 filtering and L3/L4 network isolation mechanisms are well-tested.
Enclave & MicroVM Coverage Gaps: Cloud Hypervisor and enclave pre-flight validation modules (66-72% coverage) have tested main paths but untested error/edge cases. These components are newer features and need additional test coverage.
Branch Coverage Disparity: Several files have high statement coverage (>70%) but low branch coverage (<55%), indicating basic paths are tested but conditional logic (error handling, validation) is not fully exercised.
Action: Increase branch coverage in src/commands/validators/config-assembly.ts
Tests Needed: Invalid input combinations, missing required fields, type mismatches
Timeline: Complete within 2 weeks
Impact: Prevents invalid configurations from reaching runtime
Summary
Overall coverage is excellent at 92.71% statements. However, a critical gap exists in the bounded-execution/finite-disclosure.ts module (9.26% coverage), which is responsible for preventing credential exfiltration during agent execution—a core security guarantee of the firewall.
Core network isolation components (host-iptables.ts, squid-config.ts, domain-patterns.ts) are fully covered and well-tested, providing confidence in the firewall's primary mission.
Immediate action: Add test coverage for the bounded execution disclosure module before the next release.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
📊 Test Coverage Report — 2026-08-15
Overall Coverage
Summary: The codebase maintains excellent overall coverage with 9,971 of 10,755 statements covered. Coverage metrics far exceed industry standards (>85% generally considered production-ready).
🛡️ Security-Critical Path Status
bounded-execution/finite-disclosure.tsenclave/runtime-preflight.tscommands/validators/config-assembly.tsmicrovm/rootfs.tscloud-hypervisor/virtiofsd.tshost-iptables.tssquid-config.tsdomain-patterns.tsKey Finding: The host-level network firewall (
host-iptables.ts), domain ACL system (squid-config.ts), and domain pattern matching (domain-patterns.ts) have 100% statement coverage, indicating strong testing of core isolation mechanisms.📋 Coverage Table
Well-Covered Security Components (>90%):
host-iptables-rules.ts- 100% (iptables rule generation)host-iptables-shared.ts- 100% (shared iptables utilities)host-iptables-validation.ts- 100% (rule validation)domain-validation.ts- 100% (domain ACL validation)domain-utils.ts- 100% (domain utility functions)config-writer.ts- 95.23% (configuration persistence)dns-resolver.ts- 97.61% (DNS configuration)Moderate Coverage (70-90%):
cloud-hypervisor-runtime-backend.ts- 94.57% (microVM lifecycle)container-lifecycle.ts- 96.23% (container management)artifact-preservation.ts- 94.21% (artifact handling)🔧 Function Audit
High-Risk Gaps Requiring Tests:
bounded-execution/finite-disclosure.ts(9.26% stmts, 0.26% branches)enclave/runtime-preflight.ts(66.66% stmts, 41.02% branches)commands/validators/config-assembly.ts(69.69% stmts, 20% branches)microvm/rootfs.ts(71.69% stmts, 54.54% branches)cloud-hypervisor/virtiofsd.ts(72.51% stmts, 55.35% branches)📅 Recent Source Changes (last 7 days)
Stable Components: No git history available in this report, but coverage remains consistent across all core security modules. The
host-iptables.tsandsquid-config.tsmodules show 100% coverage, indicating recent changes (if any) have been well-tested.🔎 Notable Findings
Critical Gap in Bounded Execution (9.26%): The
finite-disclosure.tsmodule protecting against credential exfiltration has extremely low coverage. This is a single-point-of-failure for secure agent credential isolation. This requires immediate attention.Excellent Network Isolation Coverage: Host-level firewall (
host-iptables.ts), Squid ACL generation (squid-config.ts), and domain validation all have 100% statement coverage. The core L7 filtering and L3/L4 network isolation mechanisms are well-tested.Enclave & MicroVM Coverage Gaps: Cloud Hypervisor and enclave pre-flight validation modules (66-72% coverage) have tested main paths but untested error/edge cases. These components are newer features and need additional test coverage.
Branch Coverage Disparity: Several files have high statement coverage (>70%) but low branch coverage (<55%), indicating basic paths are tested but conditional logic (error handling, validation) is not fully exercised.
🎯 Recommendations
Priority 1 — HIGH: Bounded Execution Disclosure (9.26% coverage)
src/bounded-execution/finite-disclosure.tsPriority 2 — MEDIUM: Enclave & MicroVM Branch Coverage (41-55% branches)
src/enclave/runtime-preflight.ts- validation failure scenariossrc/cloud-hypervisor/virtiofsd.ts- daemon failure/restartsrc/microvm/rootfs.ts- filesystem mount errorsPriority 3 — MEDIUM: Config Validation Branch Coverage (20% branches)
src/commands/validators/config-assembly.tsSummary
Overall coverage is excellent at 92.71% statements. However, a critical gap exists in the
bounded-execution/finite-disclosure.tsmodule (9.26% coverage), which is responsible for preventing credential exfiltration during agent execution—a core security guarantee of the firewall.Core network isolation components (
host-iptables.ts,squid-config.ts,domain-patterns.ts) are fully covered and well-tested, providing confidence in the firewall's primary mission.Immediate action: Add test coverage for the bounded execution disclosure module before the next release.
All reactions