ce-work
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill exhibits an inherent attack surface by ingesting implementation plans and specification documents (untrusted repository data) that may contain instructions for verification commands.
- Ingestion points: Plan documents and work descriptions are parsed in
references/input-triage.mdandreferences/work-intake.md. - Boundary markers: The skill uses 'bounded unit packets' and distilled implementation briefs (defined in
references/cross-model-execution.md) to limit the context shared with external workers. - Capability inventory: The skill possesses significant capabilities, including arbitrary command execution via
subprocess.runinscripts/unit_workspace_transaction.pyand detached process management inscripts/peer-job-runner.py. - Sanitization: A dedicated redaction mechanism (
redact_stream) is implemented inscripts/cross-model-work.shto mask secrets in logs based on a configurable redaction file. - [COMMAND_EXECUTION]: The skill facilitates the execution of developer-defined commands for testing and verification.
- Evidence:
scripts/unit_workspace_transaction.pyusessubprocess.runto execute commands supplied by implementation plans. - Mitigation: The job runner (
scripts/peer-job-runner.py) uses an 'assume-untrusted' posture, verifying that every state file and directory is owned by the current effective user and implementing restrictive umasks and file modes. - [DYNAMIC_EXECUTION]: The skill orchestrates workflows across different AI models and harnesses by dynamically invoking local CLI tools like
codex,claude, andcursor-agent. - Evidence:
scripts/cross-model-work.shconstructs and executes argument arrays for various external model providers. - Mitigation: Command arguments are validated against strict contracts (e.g.,
ROUTE_CONTRACTSinscripts/unit_workspace_state.py) to prevent shell injection or unauthorized parameter overrides.
Audit Metadata