T08 · Insecure Dependencies
- Location
references/cli-installation-guide.md:32- Finding
Unverified and Unpinned Remote Executables and Dependencies
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill performs the advertised Aliyun security incident lookups, but its setup guidance includes unsafe credential handling and unverified tool installation steps that users should review before use.
Before installing, use a least-privilege RAM identity limited to the documented Cloud SIEM read APIs, avoid passing access keys or STS tokens in command lines, chat, CI logs, or scripts, and prefer interactive configuration, workload identity, or a secret manager. Pin and verify the Aliyun CLI, plugin, and Python dependencies where possible, and confirm before allowing the agent to retrieve detailed incident records.
references/cli-installation-guide.md:32Unverified and Unpinned Remote Executables and Dependencies
references/cli-installation-guide.md:109Cloud Credentials and Tokens Passed Through Command-Line Arguments
The trigger list contains broad terms such as '安全事件', '事件查询', and especially 'Agentic-soc', which can plausibly appear in ordinary security-assistance conversations. This increases the chance the skill is invoked unintentionally and then executes cloud-siem queries against real tenant data, creating unnecessary data exposure and unexpected API activity.
The multi-step workflow is triggered by ambiguous phrases like '排查', '先查...再查', and '把详情也查出来', which are common investigative terms and do not clearly signal consent for a two-step sequence. In this skill, that ambiguity is more dangerous because the second step automatically retrieves incident details from live security tooling, potentially expanding disclosure beyond what the user explicitly requested.
Multiple example commands hard-code --lang zh, which imposes a specific language/locale on users. The document does not offer an opt-in choice or explain why Chinese output is required for all usage contexts.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
tar -xzf aliyun-cli-macosx-latest-amd64.tgz
# Move to PATH
mkdir -p "$HOME/.local/bin" && mv aliyun "$HOME/.local/bin/"
# Verify
aliyun version
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# Secure config file permissions
chmod 600 ~/.aliyun/config.json
This markdown instructs users to include --lang zh by default and states that English is only an override. That enforces a specific language preference in the skill's natural-language instructions without indicating user choice or explicit opt-in, which is a locale-policy concern.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## References
- [Cloud SIEM API Documentation](https://api.aliyun.com/product/cloud-siem)
- [ListIncidents API](https://api.aliyun.com/api/cloud-siem/2024-12-12/ListIncidents?useCommon=true)
- [GetIncident API](https://api.aliyun.com/api/cloud-siem/2024-12-12/GetIncident?useCommon=true)
- [DescribeEventCountByThreatLevel API](https://api.aliyun.com/api/cloud-siem/2022-06-16/DescribeEventCountByThreatLevel?useCommon=true)
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## References
- [Cloud SIEM API Documentation](https://api.aliyun.com/product/cloud-siem)
- [ListIncidents API](https://api.aliyun.com/api/cloud-siem/2024-12-12/ListIncidents?useCommon=true)
- [GetIncident API](https://api.aliyun.com/api/cloud-siem/2024-12-12/GetIncident?useCommon=true)
- [DescribeEventCountByThreatLevel API](https://api.aliyun.com/api/cloud-siem/2022-06-16/DescribeEventCountByThreatLevel?useCommon=true)
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## References
- [Cloud SIEM API Documentation](https://api.aliyun.com/product/cloud-siem)
- [ListIncidents API](https://api.aliyun.com/api/cloud-siem/2024-12-12/ListIncidents?useCommon=true)
- [GetIncident API](https://api.aliyun.com/api/cloud-siem/2024-12-12/GetIncident?useCommon=true)
- [DescribeEventCountByThreatLevel API](https://api.aliyun.com/api/cloud-siem/2022-06-16/DescribeEventCountByThreatLevel?useCommon=true)
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## References
- [Cloud SIEM API Documentation](https://api.aliyun.com/product/cloud-siem)
- [ListIncidents API](https://api.aliyun.com/api/cloud-siem/2024-12-12/ListIncidents?useCommon=true)
- [GetIncident API](https://api.aliyun.com/api/cloud-siem/2024-12-12/GetIncident?useCommon=true)
- [DescribeEventCountByThreatLevel API](https://api.aliyun.com/api/cloud-siem/2022-06-16/DescribeEventCountByThreatLevel?useCommon=true)
The sample config.json hard-codes "language": "en", which presents a locale choice as fixed rather than optional. Under the policy, forcing a specific language without user opt-in is a natural-language policy concern, and the surrounding text does not explain that this value is optional or user-selectable.
The skill's stated purpose is querying security incidents, trends, and incident details from Alibaba Cloud Security Center. The related-commands document additionally instructs use of local shell date arithmetic to compute timestamps, which is a host-level command capability not inherent to incident management itself and could steer an agent toward unnecessary shell execution.