Conversation
|
Warning The Security Review Summary — 2026-08-17ScopeReviewed recent changes (MCP array tool args refactor, PR #101), plus rotated coverage of: RestrictedPython sandbox, SafeTransport SSRF controls, MCP stdio allowlist, and OAuth callback routing. ✅ Confirmed Finding — HIGHRestrictedPython sandbox escape via When result = pdb.os.environ.get("SECRET_KEY") # bypasses RestrictedPythonConfirmed working — Fix: Remove the PR: A fix PR has been created from branch No Other Actionable Findings
Unconfirmed candidate: Dual-stack SSRF (host with public A + private AAAA). Theoretically possible if attacker controls DNS, but no exploitable path found in the deployment model.
|
Summary
Adds a GitHub Agentic Workflow that performs a weekly or manually dispatched security review tailored to Hyperforge. The agent reviews recent changes plus rotating critical paths, verifies candidate vulnerabilities with focused local tests, maintains persistent security context, and can create constrained fix pull requests for confirmed findings.
Architecture
.github/workflows/security-review.mdis the source workflow and prompt. It installs theuvworkspace without application secrets, captures repository and dependency context, runs security-focused test suites in isolated pytest processes, and uploads the review artifact..github/workflows/security-review.lock.ymlis the generated GitHub Actions workflow produced bygh aw compile.security-review/provides persistent system characteristics, exclusions, and a confirmed-findings log so scheduled runs retain codebase-specific context and avoid repeated false positives.Security Focus
The review prompt prioritizes Hyperforge-specific trust boundaries: API authorization and tenant/session scoping, OAuth and JWT handling, outbound HTTP and MCP SSRF controls, RestrictedPython sandbox isolation, MCP stdio subprocess and environment handling, secret exposure, dependency reachability, and CI/CD supply-chain risks. It distinguishes production authorizer assumptions from intentionally open standalone mode to reduce speculative findings.