← Back to Skills Marketplace
tsa-risk
by
Tencent Cloud Smart Advisor Team
· GitHub ↗
· v1.5.0
· MIT-0
270
Downloads
0
Stars
1
Active Installs
9
Versions
Install in OpenClaw
/install tsa-risk
Description
腾讯云智能顾问(Tencent Cloud Smart Advisor)架构风险巡检工具。用于获取云架构详情、架构列表、目录查询、风险评估项查询及架构评估结果。
Usage Guidance
This skill appears to do what it says (call Tencent Cloud Advisor APIs and optionally create a CAM role) but has several issues you should consider before installing or running it with real credentials:
- Review the included scripts before use. The package contains multiple Python scripts (check_env.py, create_role.py, login_url.py, tcloud_api.py, etc.) that will run locally.
- Do NOT paste long-lived SecretId/SecretKey into shell rc files unless you understand the exposure. Consider using temporary STS credentials when possible and avoid storing AK/SK in ~/.bashrc/.zshrc.
- The version check uses an external CLI ('clawhub') that is not declared as a required binary; if you rely on that behavior, ensure you trust and understand clawhub. Missing binary simply makes the version check fail, but the dependency is undeclared.
- The login URL generator will call STS AssumeRole and embed tokens/temporary keys in a URL. URLs can be logged/shared; treat generated URLs as sensitive and follow the SKILL.md guidance to only show a Markdown link and avoid pasting raw URLs in public channels.
- The login_url.py fallback disables SSL verification if certifi is absent, which can permit man-in-the-middle attacks. If you use this skill, install 'certifi' in the Python environment or review/modify the code to avoid disabling TLS verification.
- Role creation and policy attachment are interactive and require your consent; double-check the exact policies being attached (QcloudAdvisorFullAccess, QcloudTAGFullAccess) and whether those scopes are acceptable for your account.
If you cannot audit the code or do not trust the source, avoid running the role-creation or assume-role scripts with production credentials. Consider creating a dedicated low-privilege test account to evaluate the skill first.
Capability Analysis
Type: OpenClaw Skill
Name: tsa
Version: 1.5.0
The skill bundle provides tools for Tencent Cloud Smart Advisor (TSA) but includes high-risk capabilities that handle sensitive credentials and IAM permissions. Key indicators include scripts that perform IAM write operations (create_role.py: cam:CreateRole, cam:AttachRolePolicy), generate console login URLs using STS temporary tokens (login_url.py), and instructions in SKILL.md to permanently write API secrets (AK/SK) into shell configuration files (~/.bashrc). While these actions are aligned with the stated purpose of providing console access and managing cloud resources, the combination of IAM manipulation, secret persistence, and session token generation represents a significant attack surface if the agent is misdirected.
Capability Assessment
Purpose & Capability
The skill's name/description (TSA risk inspection) aligns with the code and requested environment variables (Tencent Cloud AK/SK). However check_env.py calls an external CLI ('clawhub') to check remote versions but 'clawhub' is not declared in the skill's required binaries. That is an undeclared dependency/inconsistency. Otherwise the listed scripts (API calls, role creation, login URL generation, cleanup) are coherent with the stated purpose.
Instruction Scope
SKILL.md and scripts instruct the user to permanently write SecretId/SecretKey into shell RC files and to save role ARNs under ~/.tsa-risk. The role-creation flow is interactive and requires user consent, which is appropriate, but the instructions strongly push storing long-lived AK/SK in shell startup files (security risk). The version check executes an external command ('clawhub inspect') and the login_url code constructs and returns full login URLs (which may contain tokens) even though SKILL.md asks to show only Markdown links — this mismatch requires care.
Install Mechanism
There is no install spec (instruction-only), but the package includes multiple executable Python scripts and modules that will be run locally. That means code will be written to disk when the skill is installed; no package provenance or signed releases are enforced. This is not necessarily malicious, but users should inspect the included scripts (they are present) before running.
Credentials
The skill only requires the expected Tencent Cloud credentials (TENCENTCLOUD_SECRET_ID, TENCENTCLOUD_SECRET_KEY), which is proportionate to calling the APIs. However it instructs users to permanently write these secrets into shell RC files (which increases exposure) and caches account UINs and role ARNs in ~/.tsa-risk. Additionally, login_url.py attempts to fall back to disabling SSL verification if certifi is not installed (ctx.verify_mode = ssl.CERT_NONE), which weakens transport security — a notable risk.
Persistence & Privilege
The skill does not request global/always-on privileges (always:false). It stores its own configuration under ~/.tsa-risk and temporary caches in the system temp directory, and offers an explicit cleanup script. It does perform IAM write actions (role creation) only after interactive consent. No evidence it modifies other skills or system-wide agent settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tsa-risk - After installation, invoke the skill by name or use
/tsa-risk - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.5.0
移除所有 CloudQ 相关内容,改名为 tsa-risk
v1.4.3
Update skill name
v1.4.2
Rename skill to CloudQ
v1.4.1
更新描述:CloudQ全球首款ITOM领域虾介绍
v1.4.0
更新CloudQ自我介绍和描述:全球首款ITOM领域虾,全渠道ChatOps、全天候AIOps、全方位CloudOps
v1.3.4
更新名称,移除 CloudQ 后缀
v1.3.3
更新名称添加 TSA 前缀
v1.3.2
修复版本检查:改用 clawhub inspect 命令查询远端版本,移除不可用的 api.codebuddy.ai API
v1.3.1
腾讯云智能顾问助手 - 支持架构图管理、风险评估查询、免密登录控制台
Metadata
Frequently Asked Questions
What is tsa-risk?
腾讯云智能顾问(Tencent Cloud Smart Advisor)架构风险巡检工具。用于获取云架构详情、架构列表、目录查询、风险评估项查询及架构评估结果。 It is an AI Agent Skill for Claude Code / OpenClaw, with 270 downloads so far.
How do I install tsa-risk?
Run "/install tsa-risk" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is tsa-risk free?
Yes, tsa-risk is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does tsa-risk support?
tsa-risk is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created tsa-risk?
It is built and maintained by Tencent Cloud Smart Advisor Team (@1ncludesteven); the current version is v1.5.0.
More Skills