teamcity-cli
Warn
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides commands such as
teamcity agent execandteamcity agent termthat allow for arbitrary command execution and interactive shell access on remote TeamCity build agents. Theteamcity apicommand also enables raw REST API access to the server. - [CREDENTIALS_UNSAFE]: The
teamcity auth logincommand supports an--insecure-storageflag that stores sensitive access tokens in plain text on the filesystem. Additionally,teamcity project token getallows the agent to retrieve secrets from the TeamCity server. - [PROMPT_INJECTION]: The
babysit-buildagent presents an indirect prompt injection surface as it is designed to autonomously diagnose and fix build failures by reading build logs and test results. It is instructed to apply repository fixes immediately without confirmation, potentially allowing malicious log content to influence code modifications. - Ingestion points: Build logs (
teamcity run log) and test results (teamcity run tests). - Boundary markers: None present to distinguish untrusted log data from agent instructions.
- Capability inventory: Autonomous file system modifications and pipeline configuration updates.
- Sanitization: No evidence of validation or filtering for data ingested from build outputs.
Audit Metadata