Skip to content

Interface: NodeAllowBinariesNode ​

Defined in: core/dist/ast/domain/node-allow-binaries-node.d.ts:8

Passive AST node restricting subprocess execution to an explicit allowlist of binary names (local.allowBinaries).

Inspects ProcessToolEffect binary names pre-flight and blocks any subprocess command whose executable is not listed in binaries.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
binariesreadonlyreadonly string[]Allowed executable binary names.-core/dist/ast/domain/node-allow-binaries-node.d.ts:10
idreadonlystringLogical identifier of the guard instance.BasePolicyGuardASTNode.idcore/dist/ast/base/base-policy-guard-ast-node.d.ts:13
typereadonly"node:allow-binaries"Unique string-literal discriminant of the policy guard node.BasePolicyGuardASTNode.typecore/dist/ast/base/base-policy-guard-ast-node.d.ts:11

Released under the MIT License.