teamcity-cli
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
babysit-buildagent in_agents/babysit-build.mdis designed to autonomously diagnose and fix build failures by analyzing build logs and test results, which are untrusted data sources. - Ingestion points: The agent ingests build logs via
teamcity run log <id> --rawand test results viateamcity run tests <id> --failedto identify failure causes. - Boundary markers: The instructions do not define delimiters or specific warnings to ignore instructions that might be embedded within build output or logs.
- Capability inventory: The agent is granted capabilities to execute
Bashcommands, perform fileWriteoperations for source code modification, and useteamcity agent execfor remote diagnostics. - Sanitization: There is no mention of sanitization or validation logic for the content of build logs before they are interpreted by the agent to determine fix strategies.
- [COMMAND_EXECUTION]: The autonomous agent
babysit-buildoperates with high authority, configured withbackground: trueandpermissionMode: auto. It is instructed to apply "Code and DSL fixes (repo changes)" immediately without human confirmation, allowing it to modify repository content based on potentially manipulated build output. - [REMOTE_CODE_EXECUTION]: The skill exposes several administrative commands that allow for remote code execution across the CI/CD environment:
teamcity agent execandteamcity agent termenable running arbitrary shell commands and interactive terminals on remote build agents.teamcity server plugin uploadfacilitates the installation of executable plugin archives to the TeamCity server, with support for hot-reloading.- [CREDENTIALS_UNSAFE]: The
teamcity auth logincommand provides an--insecure-storageflag. When enabled, the tool stores the TeamCity access token in a plain-text configuration file instead of the system's secure keyring. - [EXTERNAL_DOWNLOADS]: The
teamcity updatecommand retrieves and installs updates for the CLI tool from a remote release feed, potentially executing new code when the--yesflag is used.
Audit Metadata