Agent skill · Audited from source
Phy Security Headers
skill · LeoYeAI/openclaw-master-skillsMIT licenceAudited 8 Oct 2026 · source 4f3b4a2a472e
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 4f3b4a2a472e and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 1 critical or high. What it does: HTTP security header auditor that fetches response headers from any URL and grades them against OWASP, Mozilla Observatory, and Google standards. Checks Content-Security-Policy (detects unsafe-inline, wildcard sources,…
Cite
Cite this page
ModelsAtlas. “Phy Security Headers (LeoYeAI/openclaw-master-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/leoyeai/phy-security-headers
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- 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 | 1 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 1 |
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 (2)
HIGHPrompt injectionprompt.credential_read · SKILL.md:23
Your site passes all the security scanners until someone iframes it, injects a script through an open CDN source in your CSP, or steals credentials from a page with no HSTS preload.
- Why
- asks the agent to read credentials
- Fix
- —
MEDIUMObfuscation / stealthobf.base64_blob · skills/compdf-conversion-cli/scripts/license.xml:9
<key>k5Ey9KFlkqpj+SDkUw+5ED9lTA3En/qUi0zdrydUCH3kMWTE3Eh65NXnFCaxlY2omY2JHnlEoK7Li7oOEvM7eG5VPdcO/sFlMfoCRdnLYdepJ+uLzYwOWR8W4yQVve/clxVFTVRL4DFleKInGdpAxIbHZT2yi4ADAMENls1N1XSLojRuqXePXDeAT/4Mv4TTx0s
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 4f3b4a2a472e · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherLeoYeAI GitHub userOwner of the repository this skill is read from
- Source folderLeoYeAI/openclaw-master-skills/skills/phy-security-headersThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f3b4a2a472eA new audit runs when the source changes
- Repository statusNot archivedLast push 80 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: HTTP security header auditor that fetches response headers from any URL and grades them against OWASP, Mozilla Observatory, and Google standards. Checks Content-Security-Policy (detects unsafe-inline, wildcard sources,…
---
name: phy-security-headers
description: HTTP security header auditor that fetches response headers from any URL and grades them against OWASP, Mozilla Observatory, and Google standards. Checks Content-Security-Policy (detects unsafe-inline, wildcard sources, missing directives), HSTS (max-age, includeSubDomains, preload), X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, CORP/COEP/COOP isolation headers. Assigns A/B/C/F grade per header, generates a one-command nginx/Apache/Next.js fix for every gap. Works against any live URL or local dev server via curl. Zero external cloud account. Triggers on "security headers", "CSP audit", "HSTS missing", "clickjacking", "content security policy", "mozilla observatory", "/sec-headers".
license: Apache-2.0
metadata:
author: PHY041
version: "1.0.0"
tags:
- security
- http-headers
- csp
- hsts
- owasp
- web-security
- developer-tools
- frontend
- devops
- compliance
---
# Security Headers Auditor
Your site passes all the security scanners until someone iframes it, injects a script through an open CDN source in your CSP, or steals credentials from a page with no HSTS preload.
This skill fetches your response headers, grades each security header against OWASP and Mozilla Observatory standards, and gives you the exact config line to add to nginx, Apache, Next.js, or Cloudflare Workers.
**Works against any URL via curl. Zero external API.**
---
## Trigger Phrases
- "security headers", "check my headers", "http headers audit"
- "CSP audit", "content security policy"
- "HSTS missing", "HSTS preload"
- "clickjacking protection", "X-Frame-Options"
- "mozilla observatory", "OWASP headers"
- "Permissions-Policy", "CORP COEP COOP"
- "/sec-headers"
---
## How to Provide Input
```bash
# Option 1: Audit a live URL
/sec-headers https://myapp.com
# Option 2: Audit local dev server
/sec-headers http://localhost:3000
# Option 3: Audit specific path
/sec-headers https://myapp.com/dashboard
# Option 4: Audit with custom port
/sec-headers https://staging.myapp.com:8443
# Option 5: Grade only (no fix suggestions)
/sec-headers https://myapp.com --grade-only
# Option 6: Generate nginx config snippet
/sec-headers https://myapp.com --output nginx
# Option 7: Generate Next.js headers config
/sec-headers https://myapp.com --output nextjs
```
---
## Step 1: Fetch Headers
```bash
# Fetch all response headers
URL="https://myapp.com"
curl -sI "$URL" \
--max-time 10 \
--user-agent "SecurityHeaderAuditor/1.0" \
-L # follow redirects
# Also check www redirect behavior
curl -sI "http://$URL" 2>/dev/null | head -5
# Save raw headers for parsing
HEADERS=$(curl -sI "$URL" --max-time 10 -L 2>/dev/null)
echo "$HEADERS"
```
---
## Step 2: Grade Each Header
```python
import re
import subprocess
import sys
from dataclasses import dataclass, field
from typing import Optional
@dataclass
class HeaderCheck:
name: str
present: bool
value: Optional[str]
grade: str # A / B / C / F / MISSING
issues: list[str]
fixes: list[str]
severity: str # CRITICAL / HIGH / MEDIUM / LOW / INFO
def fetch_headers(url: str) -> dict[str, str]:
"""Fetch HTTP response headers from URL."""
result = subprocess.run(
['curl', '-sI', url, '--max-time', '10', '-L',
'--user-agent', 'SecurityHeaderAuditor/1.0'],
capture_output=True, text=True
)
headers = {}
for line in result.stdout.splitlines():
if ':' in line and not line.startswith('HTTP/'):
key, _, value = line.partition(':')
headers[key.strip().lower()] = value.strip()
return headers
# ── Content-Security-Policy ──────────────────────────────────────────────────
def check_csp(value: Optional[str]) -> HeaderCheck:
issues = []
fixes = []
grade = 'A'
if not value:
return HeaderCheck(
name='Content-Security-Policy',
present=False, value=None, grade='F',
issues=['CSP header is missing — XSS attacks have no browser-level mitigation'],
fixes=[
"Add to nginx: add_header Content-Security-Policy "
"\"default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self';\" always;",
"Next.js (next.config.js headers): { key: 'Content-Security-Policy', value: \"default-src 'self'...\" }",
],
severity='CRITICAL',
)
directives = {d.split()[0].lower(): d for d in value.split(';') if d.strip()}
# unsafe-inline in script-src — CRITICAL
script_src = directives.get('script-src', directives.get('default-src', ''))
if "'unsafe-inline'" in script_src:
grade = 'F'
issues.append("'unsafe-inline' in script-src — negates XSS protection entirely")
fixes.append("Replace 'unsafe-inline' with a nonce: script-src 'nonce-{random}' 'strict-dynamic'")
# unsafe-eval
if "'unsafe-eval'" in script_src:
grade = 'C' if grade == 'A' else grade
issues.append("'unsafe-eval' allows eval() — enables second-order XSS")
fixes.append("Remove 'unsafe-eval'; refactor code using eval() to use Function() alternatives")
# Wildcard source
for directive_name, directive_val in directives.items():
if re.search(r'\bhttps?://\*\b|^\*$', directive_val):
grade = 'C' if grade == 'A' else grade
issues.append(f"Wildcard source (*) in {directive_name} — allows loading from any domain")
fixes.append(f"Replace * in {directive_name} with explicit trusted domains")
# Missing object-src
if 'object-src' not in directives and 'default-src' not in directives:
grade = 'B' if grade == 'A' else grade
issues.append("Missing object-src — allows Flash/plugin injection if default-src not set")
fixes.append("Add: object-src 'none'")
# Missing base-uri
if 'base-uri' not in directives:
issues.appendExcerpt, 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 4f3b4a2
git clone https://github.com/LeoYeAI/openclaw-master-skills git -C openclaw-master-skills checkout 4f3b4a2a472e
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f3b4a2a472e only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
4f3b4a2a472e
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/leoyeai/phy-security-headers/)
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 security skills →LeoYeAI/openclaw-master-skills
Run tests on BrowserStack. Use when user mentions "browserstack", "cross-browser", "cloud testing", "browser matrix", "test on safari", "test on firefox", or "browser compatibility".
LeoYeAI/openclaw-master-skills
Analyze test coverage gaps. Use when user says "test coverage", "what's not tested", "coverage gaps", "missing tests", "coverage report", or "what needs testing".
LeoYeAI/openclaw-master-skills
Generate Playwright tests. Use when user says "write tests", "generate tests", "add tests for", "test this component", "e2e test", "create test for", "test this page", or "test this feature".
LeoYeAI/openclaw-master-skills
Set up Playwright in a project. Use when user says "set up playwright", "add e2e tests", "configure playwright", "testing setup", "init playwright", or "add test infrastructure".
LeoYeAI/openclaw-master-skills
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding…
LeoYeAI/openclaw-master-skills
PDF conversion toolkit featuring AI layout analysis and OCR. Converts PDFs to Word, Markdown, JSON, PPT, CSV, HTML, and XML for seamless LLM data processing.
Add this badge to your README
[](https://modelsatlas.com/skills/leoyeai/phy-security-headers/)
<a href="https://modelsatlas.com/skills/leoyeai/phy-security-headers/"><img src="https://modelsatlas.com/skills/leoyeai/phy-security-headers/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Phy Security Headers
What does the Phy Security Headers skill do?
Is Phy Security Headers safe to install?
What can Phy Security Headers access on my machine?
Which assistants does Phy Security Headers work with?
How current is this page?
Sources
- github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-s — the audited source at commit 4f3b4a2a472e and every finding aboveObserved · 8 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 Phy Security Headers skill do?
- Is Phy Security Headers safe to install?
- What can Phy Security Headers access on my machine?