Skip to content

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 ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
idreadonlystringLogical identifier of the guard instance.BasePolicyGuardASTNode.idast/base/base-policy-guard-ast-node.ts:13
patterns?readonlyreadonly string[]Optional custom regex pattern strings for secret detection.-ast/domain/fs-secret-literals-guard-node.ts:11
typereadonly"fs:secret-literals"Unique string-literal discriminant of the policy guard node.BasePolicyGuardASTNode.typeast/base/base-policy-guard-ast-node.ts:11

Released under the MIT License.