bstack
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEPERSISTENCEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PERSISTENCE]: The skill installs several hooks to maintain its governance model. Specifically, it modifies
.claude/settings.jsonto wire 'SessionStart', 'Stop', and 'PreToolUse' hooks. It also sets up a git pre-commit hook in.githooks/pre-commitand configures the local git repository to use it viacore.hooksPath. - [DYNAMIC_EXECUTION]: The benchmarking module uses dynamic imports to load LLM provider implementations. Specifically,
scripts/bench/providers/registry.pyutilizesimportlib.import_module()to load provider classes at runtime based on configuration. - [INDIRECT_PROMPT_INJECTION]: The skill processes raw session transcripts and conversation logs using scripts like
leverage-sensor.py,crystallize.py, andl1-reflex-audit-hook.sh. These files contain untrusted user and model text. While the skill uses this data for metrics and pattern detection rather than direct re-execution, the ingestion of untrusted data constitutes an attack surface. - Ingestion points:
scripts/leverage-sensor.py(transcripts),scripts/crystallize.py(conversation logs),scripts/l1-reflex-audit-hook.sh(transcripts). - Boundary markers: No explicit markers are used to distinguish instructions from data within the ingested files.
- Capability inventory: The skill possesses extensive capabilities, including executing shell commands via
subprocess.runandsubprocess.Popeninscripts/wave.py,scripts/cross-review.py, andscripts/leverage-sensor.py. - Sanitization:
scripts/crystallize.pyincludes logic to scrub common secret patterns (API keys, tokens) from citation excerpts, but no specific logic to sanitize or ignore embedded instructions was identified. - [COMMAND_EXECUTION]: The skill utilizes
subprocess.Popeninscripts/wave.pyto launch background agent sessions using theclaude --bgcommand. It also makes extensive use ofsubprocess.runthroughout its scripts to interact with thegitandghCLIs.
Audit Metadata