Observed since 20 Oct, 22:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Secrets detection and redaction guard plugin for AgenticStack
Secrets detection and redaction guard plugin for AgenticStack.
Scans agent input and output for credentials and replaces each with a
[REDACTED:<kind>] placeholder (or blocks the content entirely).
Detected secret kinds:
| Kind | Pattern |
|---|---|
openai-key | sk-... API keys |
github-token | ghp_ / gho_ / ghu_ / ghs_ / ghr_ tokens |
aws-access-key-id | AKIA... access key ids |
slack-token | xoxb- / xoxa- / xoxp- / xoxr- / xoxs- tokens |
bearer-token | Bearer <token> authorization headers |
hex-secret | 32+ hex chars preceded by key/token/secret context words |
pip install agenticstack-guard-secrets
from agenticstack import Agent
from agenticstack_guard_secrets import SecretsGuard
# Redact mode (default): secrets are replaced before they reach the
# model or the conversation history.
agent = Agent(name="Helper", guards=[SecretsGuard()])
# Block mode: refuse content containing secrets outright.
agent = Agent(name="Strict", guards=[SecretsGuard(block_instead_of_redact=True)])
Or resolve it by name once the plugin is activated:
from agenticstack import get_runtime
# Auto-discovered via the `agenticstack.plugins` entry point:
await get_runtime().activate("agenticstack.guard-secrets")
agent = Agent(name="Helper", guards=["secrets"])
SecretsGuard subclasses the plain Guard ABC, so it runs on both agent
input and output.
None — pure-Python regex scanning with no network, filesystem, shell, or environment access.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 2 Aug 2026 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:bb583f33c48e47e711b75e1511d702afcf62710675380c6e63330b67f870145c