no-leaky-secrets

Pass

Audited by Gen Agent Trust Hub on Nov 15, 2026

Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses subprocess.run in several scripts (install.py, filter.py, nl_run.py). These calls are used for functional requirements such as running self-tests, executing chained tool hooks, and running user-specified commands in a protected context. In filter.py, the use of shell=True is employed to run existing agent hooks through the redaction filter, which is a design-intent behavior.
  • [PERSISTENCE]: The install.py script modifies the agent's configuration (settings.json) to register its security hooks. This modification is the primary purpose of the skill and is documented in SKILL.md. It includes a --uninstall flag to revert changes.
  • [DYNAMIC_EXECUTION]: The scripts use __import__ (notably in data.py and install.py) primarily within test functions to load modules like tempfile. These are benign and used for environment setup during self-checks.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted tool outputs to perform redaction. While it handles data from external sources (e.g., file reads, shell command outputs), its logic is strictly focused on sanitization and redaction (detect.py, data.py). It specifically implements permissions.deny rules to prevent the agent from accidentally reading its own internal vault or keys.
  • [DATA_EXFILTRATION]: While a static detector flagged a curl pattern in guard.py, manual review confirms this is a defensive check. The code identifies if the agent attempts to use curl to read local sensitive files (via the file:// protocol) and blocks the action. Furthermore, nl_run.py includes a data_hosts whitelist check to prevent the exfiltration of resolved tokens via network tools.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 15, 2026, 10:33 AM