Interface: FsSecretLiteralsGuardNode
Defined in: ast/domain/fs-secret-literals-guard-node.ts:9
Passive AST node scanning proposed file writes for hardcoded secret literals (fs.secretLiterals).
Inspects pre-flight and post-flight file write contents against built-in and optional custom secret regex patterns before allowing mutations.
Extends
BasePolicyGuardASTNode<"fs:secret-literals">
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
id | readonly | string | Logical identifier of the guard instance. | BasePolicyGuardASTNode.id | ast/base/base-policy-guard-ast-node.ts:13 |
patterns? | readonly | readonly string[] | Optional custom regex pattern strings for secret detection. | - | ast/domain/fs-secret-literals-guard-node.ts:11 |
type | readonly | "fs:secret-literals" | Unique string-literal discriminant of the policy guard node. | BasePolicyGuardASTNode.type | ast/base/base-policy-guard-ast-node.ts:11 |