cve
Skill này làm gì
Skill này giúp agent tìm phần mềm mà mục tiêu đang chạy, tra cứu các lỗ hổng đã biết của phiên bản đó, và điều chỉnh mã kiểm thử công khai. Dành cho người kiểm thử bảo mật trên mục tiêu được ủy quyền.
Khi nào nên dùng
- ✓Khi một quét cho thấy một phiên bản CMS hoặc framework cụ thể và bạn muốn biết các lỗ hổng đã biết của nó.
- ✓Khi một thử thách gợi ý phần mềm nổi tiếng như WordPress hoặc Log4j.
- ✓Khi bạn cần danh sách các lỗ hổng đã công bố khớp với một số phiên bản.
Liên kết skill
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/web/cve/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trang web của tôi chạy WordPress 5.7.1. Bạn có thể kiểm tra xem nó có lỗ hổng bảo mật công khai nào đã biết không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent trước hết xác định phần mềm và phiên bản qua header và dấu vết trên trang, rồi tra cứu các bản ghi khớp trong cơ sở dữ liệu lỗ hổng và kiểm tra ví dụ công khai trên mục tiêu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
CVE / Known-Exploit Methodology
Exploits known, version-specific vulnerabilities by fingerprinting the target's software stack, looking up the matching CVE record, retrieving a public PoC, and adapting it to the live target. The exploit agent has two dedicated tools registered for this skill — cve_lookup and cve_poc_lookup — and this skill is the only place that calls them. If you load this skill, you MUST invoke both tools.
When to load
Load this skill (in addition to or instead of an attack-class skill) when ANY of the following hold:
- The challenge
Tags:line containscve. - Recon
SUMMARY.mdfingerprinted a CMS, framework, or service with a concrete version (e.g.WordPress 5.7.1,Apache Struts 2.5.16,Drupal 7.58,Spring Framework 5.3.17,Log4j 2.14.0). - The challenge name or description hints at specific software (
WordPress,Joomla,phpMyAdmin,Spring4Shell,Log4Shell,Shellshock,ProxyShell,GhostCat, etc.). - Recon returned a
RECON_HANDOFF:line that names a software product with a version string.
If none of the above hold, do NOT load this skill — fall back to the attack-class skill matching the symptom (sqli/ssti/lfi/command-injection/etc.).
Step 1 — Fingerprinting procedure
Concrete probes. Save every output to a file; do NOT inline curl bodies.
# Generic banner / header / generator-meta fingerprinting
curl -sI "http://$TARGET/" -o /tmp/cve_headers.txt
grep -iE 'server|x-powered-by|x-aspnet-version|x-version|x-generator' /tmp/cve_headers.txt
curl -s "http://$TARGET/" -o /tmp/cve_home.html
grep -iE 'generator|powered by|x-version|wp-includes/js/wp-emoji|joomla|drupal|wp-content' /tmp/cve_home.html | head -20
# nmap service/version detection (when a non-HTTP port is exposed)
nmap -sV -On -p- --version-intensity 7 "$TARGET_HOST" -oN /tmp/cve_nmap.txt
# whatweb — broad CMS/framework signature scan
whatweb -a 3 "http://$TARGET/" --no-errors > /tmp/cve_whatweb.txt 2>&1
# WordPress-specific
curl -sI "http://$TARGET/wp-login.php" -o /tmp/cve_wp_login.txt
curl -s "http://$TARGET/readme.html" -o /tmp/cve_wp_readme.html
grep -iE 'version' /tmp/cve_wp_readme.html | head -5
# WordPress plugin enumeration (preferred: wpscan)
wpscan --url "http://$TARGET/" --enumerate p,t,u --no-banner --random-user-agent \
-o /tmp/cve_wpscan.txt 2>&1
# Manual plugin readme sweep (fallback when wpscan is unavailable)
for plugin in contact-form-7 woocommerce elementor yoast-seo akismet jetpack \
wp-super-cache w3-total-cache wordfence all-in-one-seo-pack \
wpforms-lite duplicator updraftplus classic-editor really-simple-ssl \
wp-mail-smtp redirection wp-statistics polylang loginizer \
simple-membership easy-wp-smtp mainwp-child seo-by-rank-math \
wp-fastest-cache litespeed-cache autoptimize wp-optimize \
advanced-custom-fields better-wp-security; do
code=$(curl -s -o /dev/null -w '%{http_code}' \
"http://$TARGET/wp-content/plugins/${plugin}/readme.txt")
if [ "$code" = "200" ]; then
ver=$(curl -s "http://$TARGET/wp-content/plugins/${plugin}/readme.txt" \
| grep -iE 'stable tag|^version' | head -1)
echo "plugin=$plugin version=$ver"
fi
done | tee /tmp/cve_wp_plugins.txt
# Joomla / Drupal
curl -s "http://$TARGET/administrator/manifests/files/joomla.xml" -o /tmp/cve_joomla.xml
curl -s "http://$TARGET/CHANGELOG.txt" -o /tmp/cve_drupal_changelog.txt
Output discipline: at the end of Step 1 you MUST have at least one <software>@<version> pair (e.g. wordpress@5.7.1, contact-form-7@5.1.6, apache-struts@2.5.16). If you don't, fingerprinting failed — see the Decision Tree below.
Step 2 — CVE identification: MANDATORY tool sequence
The exploit agent has two registered tools you MUST call in this order. Do NOT skip to manual web searches; the tools are pre-wired to fast CVE databases.
# Pattern 1: single product fingerprint
cve_lookup("wordpress 5.7.1")
# → returns: list of CVE IDs ranked by relevance/severity
# Pattern 2: plugin / library fingerprint
cve_lookup("contact-form-7 5.1.6")
# → returns: plugin-specific CVE IDs
# Pattern 3: framework + version
cve_lookup("apache struts 2.5.16")
# → returns: e.g. CVE-2018-11776, CVE-2017-5638
For EACH candidate CVE returned, immediately call cve_poc_lookup to retrieve PoC URLs (github.com/trickest/cve, exploit-db, packetstorm, etc.):
cve_poc_lookup("CVE-
Câu hỏi thường gặp
Thông tin lỗ hổng lấy từ đâu?
Skill dùng hai công cụ tra cứu, một cho bản ghi lỗ hổng và một cho mã proof-of-concept công khai.
Skill có cần số phiên bản chính xác không?
Nó dành cho phần mềm có số phiên bản rõ ràng, nên không dùng khi không biết phiên bản.
Agent có chạy mã công khai ngay không?
Không. Skill yêu cầu nhận diện mục tiêu và lưu lại mỗi kết quả trước khi điều chỉnh bất kỳ mã công khai nào.
Chi tiết
Mô tả gốc của tác giả
Known CVE exploitation — fingerprint CMS/framework/plugin version, look up CVE candidates via cve_lookup, retrieve PoCs via cve_poc_lookup, adapt the public exploit to the target, and confirm RCE. Use whenever the challenge tag is `cve`, recon fingerprinted a versioned service, or the challenge name hints at known vulnerable software (WordPress, Joomla, Apache Struts, Spring4Shell, Log4j, etc.).
Độ phổ biến
- Sao GitHub
- 6.5k
- Vị trí xếp hạng
- #14058
- Giấy phép
- Apache-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
detector-overview
6.5kGiúp agent của bạn đọc code mà một công cụ quét đã đánh dấu, rồi quyết định điểm nào là lỗ hổng bảo mật thật và điểm nào là báo động giả.
exploiter-overview
6.5kGiúp agent của bạn ghép nhiều lỗ hổng bảo mật đã xác nhận thành một chuỗi kiểm thử và kiểm tra chuỗi đó có thể gây hậu quả đến đâu.
llm-redteam-overview
6.5kGiúp agent của bạn tìm đúng hướng dẫn red-team AI cho một bài kiểm thử, bao quát 15 nhóm chiến thuật từ prompt injection đến lạm dụng mô hình.
aatmf-t01-prompt-injection
6.5kGiải thích prompt injection, khi các chỉ dẫn ẩn cố ghi đè một hệ thống AI, để chuyên gia bảo mật có thể kiểm tra lỗi này.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.