T05 · Unauthorized Access and Privilege Escalation
- Location
references/local-setup.md:48- Finding
Hardcoded Telegram Account Authorized to Approve Remote Command Execution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is for background Codex jobs, but the published package is incomplete and its setup examples can grant sensitive command-approval authority to a hardcoded Telegram account if copied as written.
Do not copy the Telegram approval config as written. Replace and verify any approver ID, avoid enabling approvals for a broad main agent, and treat TELEGRAM_BOT_TOKEN as a secret. Also verify the package includes the claimed dispatcher/worker/helper scripts before installing wrappers, and install only into a bin directory where overwriting command names is acceptable.
references/local-setup.md:48Hardcoded Telegram Account Authorized to Approve Remote Command Execution
scripts/install-local.sh:9Installer Replaces Trusted Command Entries with Wrappers Targeting a Missing Executable
A description-behavior mismatch is dangerous because users and upstream agents may trust the declared behavior while the actual implementation performs different actions, such as installing wrappers or modifying local command paths. That can lead to unauthorized persistence-like changes, incorrect risk decisions, and execution in environments where the skill would not have been approved if its real behavior were accurately disclosed.
The skill advertises direct shell-backed operational behavior but does not declare any explicit tool scope or permissions boundary. That makes it easier for an agent or operator to invoke the skill without clear authorization constraints, increasing the chance of unintended command execution or filesystem changes beyond user expectations.
Sending completion summaries to Telegram introduces an external data egress path, and the description does not clearly warn that job details may leave the local environment. Even optional notifications can leak repository names, task content, summaries, or other sensitive metadata if users are not explicitly informed before enabling the feature.
The skill encourages asynchronous file modification and local retention of logs and patch artifacts, but the user-facing description does not prominently warn about those side effects. This can cause sensitive code, prompts, or secrets to be written to disk unexpectedly and leave residual artifacts that are later exposed or mishandled.
The file consistently presents operational guidance and examples in both English and Chinese, but does not state how the skill chooses language for user-facing interactions or that language selection is user-controlled. Under the stated policy, forcing or implicitly assuming a locale without opt-in can be a natural-language policy violation.
The document instructs users to configure a Telegram bot token and chat ID via environment variables, which affects privacy and account security. While it names the values to set, it does not warn users not to commit, share, or expose the bot token.
No suspicious patterns detected.