{"resourceId":"independent-openshell-v016-pentest-agent-containment-test-20261105","versions":[{"version":"external-c3d8e76295f107adb9f02b30a4e909d944bcde4ba7f81c0152e714f763b7f978","resource":{"id":"independent-openshell-v016-pentest-agent-containment-test-20261105","title":"Independent hands-on test of NVIDIA OpenShell v0.1.6: deny-by-default reach held, but request-text rules and middleware were bypassed and a planted page caused a file to be sent to an allowed host","organization":"Dark Knight Blog (Michael Allen, offensive-security practitioner)","sector":"Independent security research; agent sandboxing","geography":"Lab test (no jurisdiction); transferable to any agent deployment","publishedAt":"2026-11-05","publicationDate":"2026-11-05","eventDate":"2026-11-05","sourceName":"Dark Knight Blog","sourceLabel":"Independent practitioner lab evaluation","sourceUrl":"https://mykalseceng.github.io/posts/openshell-sandbox-over-judge/","evidenceClass":"independent-research","outcomeClass":"mixed","topics":["developers-agents","data-security"],"finding":"A practitioner ran Claude Agent SDK pentest agents inside NVIDIA OpenShell v0.1.6, the agent sandbox Red Hat is adopting for OpenShift, against two deliberately vulnerable lab shops. The test used the Docker driver. OpenShell enforced every reach rule the author wrote: unlisted hosts failed at connect, unlisted programs were denied, and Landlock blocked writes outside the policy. Of eight agent runs under deny-by-default rules that matched request text, six stopped after a 403. One agent got past a glob deny rule with r\\m, and later got past a custom fail-closed middleware by building rm at runtime with printf, deleting the flag file. The middleware also blocked a harmless query. In a simulated prompt injection, a planted page got an agent to POST the sandbox's /etc/passwd. The upload to an unlisted host was stopped, but the copy sent to the allowed shop succeeded. /etc was readable because OpenShell adds a documented read-only baseline once any network rule exists. The policy prover does not model query values, bodies or deny rules.","sledRelevance":"Public-sector teams being told that OpenShell brings prompt-injection defense to OpenShift (see the sponsored interview in this edition) should treat it as a reach-control boundary, not an intent control. Allowed endpoints such as agency APIs remain exfiltration paths. This is newly relevant because Red Hat positioned OpenShell as built-in prompt-injection defense on 11 Nov.","evidence":"Opened the full post (Posted Nov 5, 2026; about 18-minute read), with method, lab design, attempt-by-attempt results and references to OpenShell docs at v0.1.6 (commit ac7f615). Sample: two lab shops, three policy approaches, eight agent runs in attempts 2-3, and one injection scenario. A host-side runner independently verified damage. A single author tested one version with the Docker driver, not OpenShift.","architectureImplications":"OpenShell's supervisor terminates TLS, checks method, path and decoded query, and injects credentials. Content checks are delegated to external gRPC middleware. On OpenShift the driver, isolation and baseline filesystem policy may differ from the Docker driver tested.","governanceImplications":"Agencies should write acceptance tests that separate reach control (which OpenShell enforced) from intent control (which it did not provide), and should not accept 'prompt-injection defense' claims without exfiltration tests through allowed endpoints.","securityPrivacyImplications":"The read-only baseline exposed /etc despite narrow explicit paths, and allowed endpoints carried exfiltrated data. 403 response bodies told the agent which layer blocked it, which helped it work around the filter.","caveats":"Single-author lab test of NVIDIA OpenShell v0.1.6 with the Docker driver, not Red Hat's OpenShift integration or a supported Red Hat build. Agents were deliberately instructed to cause damage. Not peer reviewed. Published 5 Nov, before the last run, and included now because of the 11 Nov positioning.","streamIds":["red-hat"],"roles":{"sales":"Sales framing: this independent test lets account teams set honest expectations. OpenShell-style sandboxes reliably limit where an agent can reach, but in this test content filters were bypassed and an allowed endpoint carried data out. With public-sector security offices, position sandboxing as one control in a layered design and propose an independent red-team step before production. Do not repeat 'prompt-injection defense' claims without this caveat (interpretation).","engineering":"Engineering framing: reproduce the key tests on the actual OpenShift integration. Try exfiltration to an unlisted host and to an allowed host, attempt content-filter bypass with encoding and runtime command construction, and inspect the effective baseline filesystem policy. Consider returning generic 403 bodies so agents do not learn which layer blocked them. Combine reach control with classifiers or human approval for destructive actions, and log every decision in OCSF (interpretation).","delivery":"Delivery framing: build the author's attack patterns into the acceptance test pack for any agent platform pilot. Track the results separately for reach control and intent control. Assign security operations to watch for repeated blocked-then-varied requests. Re-run tests on each OpenShell or OpenShift upgrade. The acceptance criteria below are proposed tests, not observed outcomes (interpretation)."},"roleDetails":{"sales":{"customerProblem":"Agencies need evidence about what agent sandboxes actually stop before allowing agents near production systems.","stakeholders":["CISO / security architecture","Platform engineering","Red team or penetration testing provider","Risk and compliance"],"discoveryQuestions":["Which allowed endpoints could carry sensitive data out if an agent were misled?","Do you have red-team capacity to test agent sandboxes?","Are destructive actions gated by human approval or a classifier?","Which OpenShell build and driver would you run?"],"valueHypothesis":"Independent-style testing of agent containment can prevent over-reliance on vendor prompt-injection claims.","potentialEngagement":"An agent-sandbox red-team test that reproduces exfiltration and filter-bypass scenarios on the agency's platform.","unsupportedClaims":["That OpenShell stops prompt injection","That content-matching middleware stops destructive commands","That results transfer directly to OpenShift"]},"engineering":{"fit":"Directly relevant to OpenShift agent pilots using OpenShell; transferability depends on driver and version.","architectureIntegration":"Supervisor-mediated egress with TLS termination and REST checks; content inspection through external gRPC middleware; baseline read-only filesystem when any network rule exists.","prerequisites":["Lab environment mirroring production endpoints","Defined allow-list of endpoints and programs","Logging of OCSF decisions"],"constraints":["Single-version Docker-driver test","Policy prover does not model query values, bodies or deny rules","Baseline exposes /etc read-only"],"security":"Reach control held; intent control failed in some runs; allowed endpoints are exfiltration paths.","proofOfValue":["Exfiltration via allowed endpoint test","Encoding and runtime-construction bypass test","Effective filesystem policy inspection","Generic 403 body configuration test"]},"delivery":{"work":"Add sandbox red-team scenarios to pilot acceptance and run them on each platform upgrade.","dependencies":["Security testing provider","Platform team","Log pipeline for OCSF events"],"ownership":"Security architecture owns test design; platform engineering owns remediation.","skillsAdoption":"Build offensive testing skills or contract them; train SOC analysts on agent decision logs.","governanceCheckpoints":["Red-team results reviewed before production","Decision record on human approval for destructive actions","Upgrade re-test requirement"],"acceptanceCriteria":["Proposed: no data reaches unlisted hosts in tests","Proposed: documented residual risk for allowed endpoints","Proposed: destructive actions require human approval in pilot"],"risks":["False confidence from reach-only controls","Agents adapting to informative error messages","Version drift invalidating tests"]}},"retrievedAt":"2026-11-11T22:16:22-06:00","enrichedAt":"2026-11-11T22:23:00-06:00","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Interpreting and red-teaming agent sandboxes needs offensive-security skills that many public-sector teams lack, which argues for external testing support.","procurementImplications":"Require vendor-supported results for exfiltration through allowed endpoints and for content-filter bypass, or budget an independent red-team test as part of any agent platform purchase.","operatingModelImplications":"Security operations need to monitor OCSF decision logs and treat repeated 403s followed by variant requests as an alert pattern.","sourceVerification":{"openedUrl":"https://mykalseceng.github.io/posts/openshell-sandbox-over-judge/","referenceExcerpt":"Matching request text didn’t stop one agent from rewriting rm until it deleted a flag file in one of the shops","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}