dcg

Infisical CLI

secrets.infisical

Protects against deleting Infisical secrets, folders, and dynamic-secret leases, plus resetting local Infisical configuration.

  • 4blocking rules
  • 0safe patterns
  • 1Critical
  • 3High
~/.config/dcg/config.toml
[packs]
enabled = ["secrets.infisical"]

Evaluated when a command contains infisical.

Blocking rules

Each rule ID is secrets.infisical:<name>. Use it in allowlists and [policy.rules].

  1. infisical-folders-delete

    Critical

    infisical secrets folders delete removes a secrets folder.

    Explanation
    Deleting a secrets folder can remove or orphan a whole subtree used by multiple applications. List the folder and its consumers before approving deletion.
  2. infisical-dynamic-lease-delete

    High

    infisical dynamic-secrets lease delete revokes a live dynamic-secret lease.

    Explanation
    Deleting a dynamic-secret lease revokes credentials that a running service may still be using. Identify the lease owner and rotate the consumer first.
  3. infisical-reset

    High

    infisical reset clears local Infisical-generated configuration data.

    Explanation
    Resetting the CLI removes its generated local configuration and authentication state. Inspect the current configuration and preserve any needed connection details before resetting it.
  4. infisical-secrets-delete

    High

    infisical secrets delete removes one or more stored secrets.

    Explanation
    Deleting a secret can immediately break applications and automation that depend on its value. Export an inventory of secret names and confirm every consumer before deletion.