Repository navigation
[Security Review] Daily Security Review (limited): escape-test data unavailable #10164
Replies: 1 comment
|
🔮 The ancient spirits stir, and the smoke-test oracle has passed this way. The run touched the flame, read the signs, and left this omen behind.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
📊 Executive Summary
Limited review.
/tmp/gh-aw/escape-test-summary.txtwas empty (0 bytes), so no escape-test context was available.npm auditfailed (self-signed certificatefetching advisories), so no dependency results.🔍 Findings from Firewall Escape Test
None. The pre-fetched file was empty (
ls -la→ 0 bytes).🛡️ Architecture observations (evidence from code/tests)
SYS_CHROOT+SYS_ADMIN, neverNET_ADMIN; dropsNET_RAW, SYS_PTRACE, SYS_MODULE, SYS_RAWIO, MKNOD. Source:src/services/agent-security-config.test.ts:26-40.iptables-initgetsNET_ADMIN, NET_RAWwithcap_drop: ALL(agent-service-build.test.ts:130-138).no-new-privileges:true, custom seccomp profile, butapparmor:unconfined(agent-security-config.test.ts:48-56). Combined withSYS_ADMIN(kept for procfs mount), this is a wider surface than CIS Docker defaults; relies oncapshdrop inentrypoint.shbefore user code.nosuid,nodev,noexec,hidepid=2(containers/agent/entrypoint.sh:648) – good credential isolation.src/domain-patterns.ts:33-56strips protocol/trailing slash only viatrim/single/removal; downstream validation lives in other modules (not reviewed in depth here).SYS_ADMIN+apparmor:unconfinedif capsh drop fails✅ Recommendations
SYS_ADMINis dropped from the effective/bounding sets in the user process, and evaluate droppingapparmor:unconfined.npm auditwork behind the runner's TLS proxy.📈 Security Metrics
Files inspected: ~5; no new vulnerabilities confirmed. Coverage: partial; a full review requires the escape-test data and fuller reads of
squid-config,setup-iptables.sh(540 lines) andentrypoint.sh(1850 lines).All reactions