Skip to content

Autonomous LLM agent that plans, runs, and interprets multi-step penetration tests and CTF-style challenges.

CCM score
46 of 100
skills.sh installs
265
GitHub stars
99
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers ReAct-style loops that reason about a target, select tools, execute commands, and interpret results until the goal is met
  • Includes wrappers for nmap, curl, sqlmap, and ffuf, plus a shell tool restricted to an allowlist and a custom tool registration API
  • Enforces a TARGET_SCOPE setting (for example 192.168.1.0/24) as a safety guard and caps runs with MAX_ITERATIONS
  • Designed for security teams and CTF players who need automated vulnerability discovery, with a --dry-run planning mode

Install

$ npx -y skills add reason-machines/trending-skills --skill cairn-ai-pentest -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Cairn AI Automated Penetration Testing System

Skill by ara.so — Daily 2026 Skills collection.

Cairn is an AI-driven automated penetration testing and general problem-solving framework developed by the Bytex@起零衍迹实验室 team. It achieved the unique "AK" (All Killed / full score) result in the 2nd TCH Tencent Cloud Hackathon Intelligent Penetration Challenge, placing 4th online. The system uses LLM-based agents to autonomously reason about, plan, and execute multi-step security testing tasks.


What Cairn Does

  • Autonomous AI Agent Loop: Iteratively reasons about a target, selects tools, executes commands, and interprets results
  • Penetration Testing Automation: Web vulnerability discovery, exploitation, CTF-style challenge solving
  • General Problem Solving: Extensible to non-security tasks via tool/plugin architecture
  • Multi-step Planning: Breaks complex objectives into subtasks with memory and context management
  • Tool Integration: Wraps common pentest tools (nmap, sqlmap, curl, custom scripts) as callable agent actions

Project Status

Details

Repository
github.com/reason-machines/trending-skills
Categories
Security, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What is the cairn-ai-pentest skill used for?

The cairn-ai-pentest skill sets up Cairn, an AI-driven penetration testing and general problem-solving framework that plans and runs multi-step security tests against a target. Cairn is described as having achieved the full-score AK result in the 2nd TCH Tencent Cloud Hackathon intelligent penetration challenge, placing 4th online.

How do I install the cairn-ai-pentest skill?

Run npx -y skills add reason-machines/trending-skills --skill cairn-ai-pentest -y inside your project. After that, cairn-ai-pentest lets the agent set up Cairn for automated penetration testing and run it against a target.

Where does cairn-ai-pentest stand in the Security category?

cairn-ai-pentest is listed in the Security category on Claude Marketplaces, alongside azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. Its own facts set it apart through an autonomous reason, act and observe agent loop that wraps tools such as nmap, sqlmap and curl.

Does cairn-ai-pentest need an API key or an LLM provider?

Yes, cairn-ai-pentest expects an OpenAI-compatible LLM endpoint, configured in a .env file with OPENAI_API_KEY, OPENAI_BASE_URL and MODEL_NAME. It also reads a TARGET_SCOPE setting that limits which addresses the Cairn agent may test.

More from reason-machines/trending-skills

All 251

Similar to Cairn Ai Pentest

More Security