← 返回 Skills 市场
1ncludesteven

tsa-risk

作者 Tencent Cloud Smart Advisor Team · GitHub ↗ · v1.5.0 · MIT-0
cross-platform ⚠ suspicious
270
总下载
0
收藏
1
当前安装
9
版本数
在 OpenClaw 中安装
/install tsa-risk
功能描述
腾讯云智能顾问(Tencent Cloud Smart Advisor)架构风险巡检工具。用于获取云架构详情、架构列表、目录查询、风险评估项查询及架构评估结果。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tsa-risk
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tsa-risk 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
腾讯云智能顾问助手 - 支持架构图管理、风险评估查询、免密登录控制台
元数据
Slug tsa-risk
版本 1.5.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 9
常见问题

tsa-risk 是什么?

腾讯云智能顾问(Tencent Cloud Smart Advisor)架构风险巡检工具。用于获取云架构详情、架构列表、目录查询、风险评估项查询及架构评估结果。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 270 次。

如何安装 tsa-risk?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install tsa-risk」即可一键安装,无需额外配置。

tsa-risk 是免费的吗?

是的,tsa-risk 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

tsa-risk 支持哪些平台?

tsa-risk 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 tsa-risk?

由 Tencent Cloud Smart Advisor Team(@1ncludesteven)开发并维护,当前版本 v1.5.0。

💬 留言讨论