omp-skill-hardener
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runandbashcommands within its regression testing framework (scripts/run_regression.py) to execute OMP replays and verify agent behavior. These are legitimate uses within the context of a development and testing tool. - [INDIRECT_PROMPT_INJECTION]: The skill has a high-exposure attack surface for indirect prompt injection because it is designed to ingest and analyze untrusted external data (OMP session logs) which may contain attacker-controlled content.
- Ingestion points:
scripts/mine_friction.pyreads JSONL session files from~/.omp/agent/sessionsor user-specified directories. - Boundary markers: The instructions in
SKILL.md(Section 1 and 2) and the miner script itself implement several mitigations, such as using private state directories with0600permissions and redacting sensitive text (emails, secrets, and home directories) before processing. - Capability inventory: The skill has the capability to write to the local file system (ledger, reports, and events) and execute shell commands via
subprocess.runduring regression testing. - Sanitization: The
mine_friction.pyscript includes aredactfunction and regex-based filtering (AUTO_TEXT_RE) to exclude system-injected messages and sensitive patterns. Instructions inSKILL.mdexplicitly warn against blind pasting and require human review and approval for all proposed instruction changes.
Audit Metadata