teammode
Pass
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local
gitcommands to manage worktrees and merge branches usingnode:child_process.spawnSyncinscripts/team-worktree.mjs. This implementation uses an argument array which avoids shell injection vulnerabilities. - [COMMAND_EXECUTION]: The
SKILL.mdfile instructs the agent to execute a bundled Node.js script (scripts/team.mjs) to manage team state. This is a standard pattern for skills that require local logic execution. - [COMMAND_EXECUTION]: Robust input validation is implemented. Identifiers such as
sessionIdandmemberIdare validated against strict regular expressions (SESSION_ID_PATTERNandMEMBER_ID_SEGMENT) before being used in file paths or shell commands. - [DATA_EXPOSURE]: The skill maintains local state in a
.omo/teams/directory. It implements security checks inscripts/team-state.mjs(mkdirNoSymlinkandassertSafeTeamDir) to ensure file operations do not resolve through symbolic links that could lead to unauthorized directory access. - [PROMPT_INJECTION]: The skill generates instructions for team members based on user-provided strings (focus, deliverables). While this creates a surface for indirect prompt injection (Category 8), the risk is mitigated by the fact that the tool is intended for personal workflow orchestration, and the instructions are scoped to specific AI threads created by the user.
Audit Metadata