Cain Agent
Real-world AI penetration testing engineer for authorized assessments — built-in cloud module covering AWS/Azure/GCP + Aliyun/Tencent/Huawei clouds. Built on Claude Agent SDK
Cain Agent is an open-source ai agent by cdxiaodong, written mainly in Python, with 945 GitHub stars and the Apache-2.0 license. Its code was last updated Oct 14, 2026.
Scan summary: scanned Nov 5, 2026 at commit 2e3f4f1. Seen able to read environment and secrets, connect to the internet. Scan policy
What Cain Agent can touch
- Our checks did not find this. The tool may still do it.Run shell commandsNot seen in this scan
- Our checks did not find this. The tool may still do it.Run dynamic codeNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or write filesNot seen in this scan
- Seen in this scan, either in the code or while it ran.Read environment and secretsFound in the code by our scan
- Our checks did not find this. The tool may still do it.Control a web browserNot seen in this scan
- Our checks did not find this. The tool may still do it.Connect to databasesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- Our checks did not find this. The tool may still do it.Touch money or tradingNot seen in this scan
- Seen in this scan, either in the code or while it ran.Connect to the internetFound in the code by our scan
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit 2e3f4f1, Nov 5, 2026. See the scan policy.
Before you install Cain Agent
AgenticMart scanned Cain Agent on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An AI agent decides its own next steps and calls whatever tools you give it, so its risk depends on the access you grant.
- Based on its description and topics, it likely needs to act on cloud infrastructure.
Before you install
- Use a role with only the permissions it needs, never an admin key.
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by cdxiaodong on GitHub, 945 stars and 209 forks. Popularity is not proof of safety.
- Last code change: Oct 14, 2026.
- Open-source license: Apache-2.0.
Cain Agent is an open-source ai agent by cdxiaodong, written mainly in Python. Real-world AI penetration testing engineer for authorized assessments — built-in cloud module covering AWS/Azure/GCP + Aliyun/Tencent/Huawei clouds. Built on Claude Agent SDK
At a glance
- Stars
- 945
- Forks
- 209
- Language
- Python
- License
- Apache-2.0
- Created
- Mar 2026
- Last update
- Oct 14, 2026
- Type
- AI Agent
- Price
- Free
Topics
Questions about Cain Agent
What is Cain Agent?
Real-world AI penetration testing engineer for authorized assessments — built-in cloud module covering AWS/Azure/GCP + Aliyun/Tencent/Huawei clouds. Built on Claude Agent SDK
Who maintains Cain Agent?
Cain Agent is maintained by cdxiaodong on GitHub (cdxiaodong/cain-agent). AgenticMart lists it from public repository data.
Is Cain Agent safe to use?
AgenticMart scanned Cain Agent on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does Cain Agent use?
It is published under the Apache-2.0 license.
Cain Agent alternatives
View more →Similar ai agents in Cloud Infrastructure, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Cain Agent (this page) cdxiaodong | 945 | Apache-2.0 | Oct 14, 2026 | Scanned, no flagged issues |
| OmniRoute cheaper-inference | 83k | MIT | Nov 1, 2026 | Scanned, see report |
| Generative AI GoogleCloudPlatform | 18k | Apache-2.0 | Oct 30, 2026 | Scanned, no flagged issues |
| Dsh Routing Suite yjh051108 | 7k | MIT | Sep 18, 2026 | Scanned, no flagged issues |
| Intentkit crestalnetwork | 6.5k | MIT | Sep 16, 2026 | Scanned, no flagged issues |
| Open Agents vercel-labs | 5.9k | MIT | Aug 29, 2026 | Scanned, no flagged issues |