用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oyi77/1ai-auto-bounty --skill cors-misconfiguration命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | cors-misconfiguration |
| description | Detect Cross-Origin Resource Sharing misconfigurations that allow credential theft |
| domain | web-security |
| subdomain | cors |
| tags | ["web","cors","headers","cross-origin"] |
| version | 1.0.0 |
| author | BerkahKarya |
| license | MIT |
Apply this skill when testing web applications and APIs for CORS policy errors that could enable cross-origin data theft.
/api/.Origin: https://evil.com and inspect the Access-Control-Allow-Origin (ACAO) and Access-Control-Allow-Credentials (ACAC) response headers.* with credentials), the CORS policy is misconfigured.Origin: null — some applications allow null origins (exploitable via sandboxed iframes).*.example.com, test a subdomain like evil.example.com.OPTIONS preflight with custom headers and verify the allowed methods/headers.Access-Control-Allow-Origin: * + Access-Control-Allow-Credentials: true (invalid but some servers send it)Access-Control-Allow-Origin: <reflected origin> + Access-Control-Allow-Credentials: trueAccess-Control-Allow-Origin: null + Access-Control-Allow-Credentials: true# Test arbitrary origin reflection
curl -sI "https://target.com/api/user" -H "Origin: https://evil.com" | grep -i access-control
# Test null origin
curl -sI "https://target.com/api/user" -H "Origin: null" | grep -i access-control
* but ACAC is not true — browsers block credentialed cross-origin requestsInclude the HTTP response headers showing the reflected origin and credentials flag, plus a JavaScript PoC that reads the response from a malicious origin.