init-first-agent
Warn
Audited by Gen Agent Trust Hub on Aug 30, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The skill reads sensitive configuration files to verify credentials.
- Evidence: The instructions direct the agent to "Cross-check
.envfor the relevant credentials" in step 1 ofSKILL.md. - [COMMAND_EXECUTION]: The skill executes multiple local scripts and system commands to manage the agent service and database.
- Evidence:
- Uses
launchctlandsystemctlto check service status. - Runs
scripts/q.tsviapnpm exec tsxto query thedata/v2.dbSQLite database. - Runs
setup/index.tsvianpx tsxfor Telegram pairing. - Uses the
nclCLI tool to list groups and wirings. - Executes
scripts/init-first-agent.tsto perform final wiring and initialization. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user input and interpolates it directly into shell command arguments, creating a vulnerability surface for command injection.
- Ingestion points:
USER_HANDLE,DISPLAY_NAME, andAGENT_NAMEare collected as free-form text from the operator inSKILL.mdstep 2. - Boundary markers: Absent. The skill does not use delimiters or instructions to ignore embedded commands in these variables.
- Capability inventory: The skill triggers a shell execution of
scripts/init-first-agent.tsin step 5, passing the user-controlled variables as arguments. - Sanitization: Absent. There are no instructions to sanitize or validate the user input before it is passed to the shell script.
Audit Metadata