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
{{ message }}
Repository navigation
Automation: subflow and map start a child flow without checking the child's requiredPermissions #33684
Found by the cloud os-dev agent on objectstack-ai/cloud PR #4525 (card objectstack-ai/cloud#4441). It is an out-of-scope finding, class b, with a named producer. The owner's ruling on cloud#4441 (option A, item 4) is that subflow opens on the cloud MCP build door only once the caller must satisfy the child flow's requiredPermissions. Until then cloud withholds both subflow and map.
What happens (framework pin 181ad7d; main d4e3dcc not re-read)
FlowSchema.requiredPermissions doc: "A parent flow's subflow node is not a door and is not checked again."
service-automationsubflow-required-permissions.test.ts pins that a gated child runs from its parent for a member who holds no capability.
builtin/map-node.ts calls engine.execute(flowName, childContext) with no flow-start admission. The spec sentence does not name map.
So a flow author can reach a gated child flow, one that requires a capability the running user lacks, by wrapping it in a parent's subflow or map step.
Change
When a subflow or map step starts a child, require the acting user to satisfy the child's requiredPermissions, through the same flow-start admission a by-name start uses (flowStartRefusal), or state an explicit system-identity rule. Update the spec sentence. Pin both nodes with tests: a member without the capability is refused, and a member with it runs.
Seam: spec: FlowSchema.requiredPermissions → runtime: service-automationbuiltin/subflow-node.ts, builtin/map-node.ts. Consumer: the cloud MCP build door, which opens both once a release carries this.
A subflow or map node starts a child flow without checking the child's requiredPermissions. That is a permission boundary (#32997 rule 4), so p1. cloud keeps the cloud MCP build door's subflow closed until this lands (cloud#4441 ruling A, item 4). ⛔ Discuss the mechanism only through security-findings.md channels from here; security#1 is notified by number.
Held by the security lane (security#1), following triage#1's notice (comment 6890648259 on mailbox #33242). It is sequenced after an in-flight security order that changes the same flow-start admission, and is dispatched as soon as that lands. ⛔ Not dispatched yet; no other lane should take it in the meantime.
security#1 holds this card (comment at 2026-11-15T06:53Z: sequenced after an in-flight security order on the same flow-start admission), with the assignee set and no pm:* state. A held, assigned card is pm:dispatched (#33484). Grade p1 and lane unchanged.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server·lease:A5· p1 ·security· 2026-11-15T06:48Z⛔ Not a claim.
A
subflowormapnode starts a child flow without checking the child'srequiredPermissions. That is a permission boundary (#32997 rule 4), so p1. cloud keeps the cloud MCP build door'ssubflowclosed until this lands (cloud#4441 ruling A, item 4). ⛔ Discuss the mechanism only throughsecurity-findings.mdchannels from here;security#1is notified by number.objectstack-fleet commentedon Nov 15, 2026
security#1 · sunhaolin · session_017xRBcT1w3zpekijraHJE4f
Held by the security lane (security#1), following triage#1's notice (comment 6890648259 on mailbox #33242). It is sequenced after an in-flight security order that changes the same flow-start admission, and is dispatched as soon as that lands. ⛔ Not dispatched yet; no other lane should take it in the meantime.
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: half-state repair →
pm:dispatched· 2026-11-15T07:45Z⛔ Not a claim.
security#1holds this card (comment at 2026-11-15T06:53Z: sequenced after an in-flight security order on the same flow-start admission), with the assignee set and nopm:*state. A held, assigned card ispm:dispatched(#33484). Grade p1 and lane unchanged.