cloudsword

作者 wgpsec已验证

一款帮助云租户发现和测试云上风险、增强云上防护能力的综合性开源工具

619
Stars
53
Forks
Go
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/wgpsec/cloudsword

快速入门

使用 cloudsword 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

header

云鉴,让您的公有云环境更安全


云鉴 CloudSword 是一款帮助公有云租户快速发现云上风险、测试云上风险、增强云上防护能力的综合性开源工具。

作为一款面向安全人员的工具,云鉴可以帮助租户快速了解当前公有云环境中的资源信息、快速发现当前环境中可能存在的弱点从而方便安全人员进行修补,云鉴还预设了一些防御方法,方便安全人员快速部署从而增强云上的防御能力。

  • 全局中文输出,没有使用压力。
  • 命令补全提示,方便易于使用。
  • MSF 使用逻辑,极低学习成本。
  • 凭证不用落地,避免二次泄露。

开始使用

HomeBrew 安装

安装

brew tap wgpsec/tap
brew install wgpsec/tap/cloudsword

更新

brew update
brew upgrade cloudsword

下载二进制包

云鉴下载地址:github.com/wgpsec/cloudsword/releases

下载系统对应的压缩文件,解压后在命令行中运行即可。

使用手册

完整用法与介绍可以查看 云鉴使用手册

MCP协议支持

cloudsword 从v0.0.2 版本开始支持MCP协议,支持SSE以及STDIO方式

使用命令 ./cloudsword sse http://localhost:8080 即可在本地监听8080端口

SSE模式

以Chrerry stdio为例 填入 http://localhost:8080/sse 即可获得到工具信息

image-20250401193340509

STDIO

image-20250401193444375

使用示例

image-20250401194214015

集成模块

以下是云鉴目前所支持使用的模块:

阿里云

综合

序号ID云提供商推荐评级模块名称描述
11101阿里云★★★★list_cloud_assets列出 OSS、ECS、RAM、Domain 服务资产

存储桶

序号ID云提供商推荐评级模块名称描述
11201阿里云★★oss_list_buckets列出阿里云 OSS 对象存储桶
21202阿里云★★★★oss_search_objects搜索阿里云 OSS 对象
31203阿里云★★★oss_bucket_only_upload_images使用云函数限制存储桶只允许上传图片

弹性计算

序号ID云提供商推荐评级模块名称描述
11301阿里云★★ecs_list_instances列出阿里云 ECS 弹性计算实例

统一身份认证

序号ID云提供商推荐评级模块名称描述
11401阿里云★★ram_list_users列出阿里云 RAM 用户
21402阿里云ram_list_roles列出阿里云 RAM 角色
31403阿里云ram_create_user创建阿里云 RAM 用户
41404阿里云ram_attach_policy_to_user为阿里云 RAM 用户添加策略
51405阿里云★★★ram_create_login_profile创建阿里云 RAM 用户 Web 登录配置
61406阿里云ram_create_access_key创建阿里云 RAM 用户访问凭证

域名

序号ID云提供商推荐评级模块名称描述
11501阿里云domain_list_domains列出阿里云 Domains 域名资产

腾讯云

综合

序号ID云提供商推荐评级模块名称描述
12101腾讯云★★★★list_cloud_assets列出 COS、EVM、LH、RAM 服务资产
22102腾讯云★★★★★create_honey_token创建腾讯云访问凭证蜜标

存储桶

序号ID云提供商推荐评级模块名称描述
12201腾讯云★★cos_list_buckets列出腾讯云 COS 对象存储桶

弹性计算

序号ID云提供商推荐评级模块名称描述
12301腾讯云★★cvm_list_instances列出腾讯云 CVM 弹性计算实例
22302腾讯云lh_list_instances列出腾讯云 LH 轻量应用服务器

统一身份认证

序号ID云提供商推荐评级模块名称描述
12401腾讯云★★cam_list_users列出腾讯云 CAM 用户
22402腾讯云cam_list_roles列出腾讯云 CAM 角色
32403腾讯云cam_create_user创建腾讯云 CAM 用户
42404腾讯云cam_attach_policy_to_user为腾讯云 CAM 用户添加策略
52405腾讯云★★★cam_create_login_profile创建腾讯云 CAM 用户 Web 登录配置
62406腾讯云cam_create_access_key创建腾讯云 CAM 用户访问凭证

华为云

序号ID云提供商推荐评级模块名称描述
13201华为云★★obs_list_buckets列出华为云 OBS 对象存储桶

百度云

序号ID云提供商推荐评级模块名称描述
14201百度云★★bos_list_buckets列出百度云 BOS 对象存储桶

七牛云

序号ID云提供商推荐评级模块名称描述
15201七牛云★★kodo_list_buckets列出七牛云 KODO 对象存储桶

推荐评级最高 5 颗星,推荐评级根据模块的复杂程度、受欢迎程度、价值程度等因素综合判定。

快速上手

查看帮助信息

CloudSword > help

全局命令
========

	全局命令		描述
	--------	----
	help		查看帮助信息
	list		列出模块
	quit		退出程序
	search		搜索模块
	use		使用模块


二级命令
========

	二级命令		描述
	--------	----
	info		查看模块使用方法
	run		运行模块
	set		设置运行参数
	unset		取消设置运行参数


环境变量
========

	环境变量					描述
	--------				----
	CLOUD_SWORD_ACCESS_KEY_ID		访问凭证 ID
	CLOUD_SWORD_ACCESS_KEY_SECRET		访问凭证 Secret
	CLOUD_SWORD_SECURITY_TOKEN		可选,访问凭证的临时令牌部分
	CLOUD_SWORD_DETAIL			详细内容输出(设置 no 或者 yes)

列出阿里云 OSS 对象存储桶

CloudSword > use 1201_aliyun_oss_list_buckets

CloudSword 阿里云 (1201_oss_list_buckets) > set ak_id XXXXXXXXXXXX
ak_id ==> XXXXXXXXXXXX

CloudSword 阿里云 (1201_oss_list_buckets) > set ak_secret XXXXXXXXXXXX
ak_secret ==> XXXXXXXXXXXX

CloudSword 阿里云 (1201_oss_list_buckets) > run
[INFO] 2024-12-20 23:23:23 正在运行 1201_aliyun_oss_list_buckets 模块。
[INFO] 2024-12-20 23:23:23 找到以下存储桶:
XXXXXXXX
XXXXXXXX

1201_aliyun_oss_list_buckets

加入云鉴问题讨论群

在「WgpSec 狼组安全团队」公众号菜单栏点击「加群」,添加「WgpSecBot」微信。


添加「WgpSecBot」微信后,给机器人发送「云鉴」关键词,机器人就会自动给您发送进群链接了。


贡献者

十分感谢各位师傅对云鉴的贡献~,如果你也想对云鉴贡献代码或想法,请参见贡献说明:CONTRIBUTING

使用答疑

我在云鉴使用手册里介绍了为什么写云鉴、云鉴未来的计划以及大家可能关心的问题,感兴趣的师傅可以移步云鉴使用答疑查看。

协议

云鉴在 Apache-2.0 协议下授权使用。

更多

下面这个是我们狼组安全团队的公众号,欢迎师傅关注,有想法一起加入狼组的师傅也可以投递简历至 admin#wgpsec.org 加入我们。

发送邮件时,注意将 # 改为 @


如果你对云安全比较感兴趣,可以看我的另外一个项目 Awesome Cloud Security,这里收录了很多国内外的云安全资源,另外在我的云安全文库里有大量的云安全方向的笔记和文章,这应该是国内还不错的云安全学习资料。

下面这个是我的个人微信公众号,在 TeamsSix 公众号里可以与我进行联系,后续关于云鉴的动态我也会发布到我的公众号里。


如果您感觉这个项目还不错,也欢迎扫描下面打赏码进行赞赏。


赞赏行为纯属自愿,旨在表达对开源软件作者或贡献者的支持和感谢,并非购买商品或服务的交易行为。赞赏者应当清楚理解,赞赏款项不享有任何商品或服务的保证,也不构成任何形式的合同关系。

感谢您使用我的工具

常见问题

What is cloudsword?

cloudsword is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by wgpsec. 一款帮助云租户发现和测试云上风险、增强云上防护能力的综合性开源工具. It has 619 GitHub stars.

Is cloudsword safe to use?

Yes. cloudsword passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install cloudsword?

Clone the repository with "git clone https://github.com/wgpsec/cloudsword" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is cloudsword written in?

cloudsword is primarily written in Go. It is open-source under wgpsec on GitHub, so you can review or fork the full source.

Are there alternatives to cloudsword?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cloudsword against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP 服务器
查看详情

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP 服务器
查看详情

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP 服务器
查看详情

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP 服务器
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情