Back to skill

Security audit

universal-domain-xuanping

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report that its domain checks can reach internal network services and that some reports may present missing evidence as reassuring conclusions.

Consider avoiding installation unless you can run it in an environment where outbound requests to private or internal addresses are blocked. Treat its results cautiously: scanners report that incomplete checks may look conclusive, and the scan coverage was partial because several referenced paths were not found in the scanned artifact.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/scan_domain.py
Finding

Website-controlled redirects can reach private network services

Content
View full analysis

Impact

An attacker can cause internal HTTP GET requests and probe private services through the scanner. Selected response data is retained: status, security headers, server header, and final URL enter scan JSON, while content-derived email addresses and link domains can enter the Markdown report. This is not proof of arbitrary response-body disclosure or credential theft; exploitation depends on internal service reachability and behavior.

Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
Findings (15)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The behavior conflicts with the stated boundaries by treating CDN identity as evidence of likely hosting geography and treating failed HTTP collection as completed compliance evidence. These inconsistencies can mislead users about evidence completeness and suppress appropriate verification, despite the legal disclaimers.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The advertised evidence-degradation guarantee is not consistently enforced: missing content or subdomain evidence can become reassuring conclusions. The report also unconditionally includes a third-party promotion, creating an output-integrity concern, although the link alone does not execute a request or automatically transmit scan data.

Content

No source excerpt is available for this finding.

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
80% confidence
Finding

Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.

Content

Scanner excerpt · scripts/gen_report.py (reported line 234)May include surrounding context.

python
tm = compliance.get('terms_marks', []) or []
        lines.append(f"- **Terms / user agreement**: {'page contains keywords - ' + ', '.join(tm) if tm else 'no terms keywords detected on page'}")
        dm = compliance.get('disclaimer_marks', []) or []
        lines.append(f"- **Disclaimer / risk note**: {'page contains - ' + ', '.join(dm) if dm else 'no disclaimer keywords detected on page'}")
        sck = compliance.get('set_cookie')
        lines.append(f"- **Cookie writing**: {'Set-Cookie present in response' + (' (' + str(compliance.get('cookie_brand')) + ')' if compliance.get('cookie_brand') else '') if sck else 'no Set-Cookie in response (no Cookie writing)'}")
    hh = http_https

Code capability 'network' detected in scripts/scan_domain.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'network' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Persistent Context Injection

Medium
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.

Content

Scanner excerpt · CHANGELOG.md (reported line 29)May include surrounding context.

md
- **Universalization refactor**: all conclusions driven by evidence JSON; removed every site-specific fact (hard-coded IP / CDN name / server geography / suffix).
- Failed evidence degrades to "pending / undetermined"; never "normal / none found / no obligation".
- Compliance is now a permanent rule-hint item; no decision on any site's filing obligation.
- Fixed whois Unix-second timestamp parsing for gTLDs; fixed the red-flag count unpack bug.
- Subdomain enumeration made purely generic; public emails no longer false-positive red; CDN auto-renewal hint made conditional.
- Added the deterministic I-Ching "Xuan-Ping" divination Easter egg (SHA256 -> 64 hexagrams + moving line); entertainment only, not part of conclusions.

The skill mandates English for all report output and user-facing text without offering a language choice.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The statement that “all report output and all user-facing text are in English” imposes a specific output language without user opt-in. The “EN edition” heading labels the edition but does not offer a language choice or justify why domain-risk analysis requires English.

Content

No source excerpt is available for this finding.

Missing subdomain and content evidence can produce affirmative green conclusions instead of pending verification.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

Subdomain health is inferred from base DNS success and the absence of recorded bad results, without proving enumeration completed. Similarly, HTTP success plus missing content findings yields a green leak assessment even when the content-scan object is absent, allowing incomplete evidence to produce false reassurance.

Content

No source excerpt is available for this finding.

The scanner infers likely hosting geography from CDN identity despite the manifest's prohibition on inferring server geography.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

A Cloudflare range match is converted into an Overseas region and a claim that overseas hosting is likely, although a CDN edge does not locate the origin. The region is subsequently used to shape compliance guidance and omit verification actions, so the suspected qualifier does not eliminate the misleading inference.

Content

No source excerpt is available for this finding.

Dynamic Request Target

Medium
Category
Server-Side Request Forgery
Confidence
99% confidence
Finding

The scanner requests a user-controlled target and automatically follows redirects without excluding private, loopback, link-local, or other non-public addresses. An attacker-controlled public site can therefore direct the scanner toward internal resources reachable by the agent, even when the original scan target is legitimate.

Content

Scanner excerpt · scripts/scan_domain.py (reported line 131)May include surrounding context.

python
security = ["strict-transport-security", "content-security-policy", "x-content-type-options",
                "referrer-policy", "permissions-policy", "x-frame-options", "x-xss-protection"]
    try:
        r = requests.get(f"https://{domain}/", timeout=TIMEOUT, allow_redirects=True,
                         headers={"User-Agent": "Mozilla/5.0 universal-domain-xuanping/1.2.1"})
        h = {k.lower(): v for k, v in r.headers.items()}
        found = {s: h[s] for s in security if s in h}

Dynamic Request Target

Medium
Category
Server-Side Request Forgery
Confidence
98% confidence
Finding

Constructing subdomain names does not make their resolved addresses or redirect destinations trustworthy. An attacker controlling the scanned domain can point a probed name at an internal address or redirect it there, causing unauthorized requests from the scanner's network position.

Content

Scanner excerpt · scripts/scan_domain.py (reported line 158)May include surrounding context.

python
continue  # unresolvable = not recorded, never treated as "absent / no asset"
        code = None
        try:
            rr = requests.get(f"https://{host}/", timeout=6, allow_redirects=True,
                              headers={"User-Agent": "Mozilla/5.0 universal-domain-xuanping/1.2.1"})
            code = rr.status_code
        except requests.RequestException:

Dynamic Request Target

Medium
Category
Server-Side Request Forgery
Confidence
99% confidence
Finding

This plain-HTTP request accepts either the input target or the netloc from an externally influenced final URL without destination restrictions. Disabling redirects on this particular request does not prevent the initial request from reaching an internal service or attacker-selected port.

Content

Scanner excerpt · scripts/scan_domain.py (reported line 251)May include surrounding context.

python
except Exception:
            pass
    try:
        r = requests.get(f"http://{host}/", timeout=TIMEOUT, allow_redirects=False,
                         headers={"User-Agent": "Mozilla/5.0 universal-domain-xuanping/1.2.1"})
        loc = r.headers.get('location', '')
        forced = r.status_code in (301, 302, 307, 308) and loc.lower().startswith('https://')

Tainted flow: 'host' from requests.get (line 247, network input) → requests.get (network output)

Medium
Category
Data Flow
Confidence
99% confidence
Finding

The HTTP probe uses a host derived from the final URL of an externally controlled redirect chain without checking its address or port. A malicious target can redirect to a reachable internal service and induce requests from the agent's network context; a read-only label does not prevent SSRF.

Content

Scanner excerpt · scripts/scan_domain.py (reported line 251)May include surrounding context.

python
except Exception:
            pass
    try:
        r = requests.get(f"http://{host}/", timeout=TIMEOUT, allow_redirects=False,
                         headers={"User-Agent": "Mozilla/5.0 universal-domain-xuanping/1.2.1"})
        loc = r.headers.get('location', '')
        forced = r.status_code in (301, 302, 307, 308) and loc.lower().startswith('https://')

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/scan_domain.py (reported line 290)May include surrounding context.

python
"""Prefer structured fields (created/expires), fall back to multi-format regex.
    Compatible with .com / .cn / other suffixes. Missing -> ok=False, no fabrication."""
    try:
        r = requests.get(f"https://api.whois.vu/?q=%7Bdomain}", timeout=TIMEOUT)
        if r.status_code != 200 or not r.text.strip().startswith('{'):
            return {"ok": False, "error": "whois API returned no valid data (verify manually in the registrar panel)"}
        d = r.json()

Failed HTTP collection is converted into successful compliance evidence with apparent absence results.

Medium
Category
Excessive Agency
Confidence
100% confidence
Finding

After HTTP retrieval fails, the scanner still processes an empty body and empty headers through a function that always returns ok=true. This turns unavailable evidence into apparent absence of filing numbers, policies, and cookies, causing the report to present unsupported page facts.

Content

No source excerpt is available for this finding.

Every report includes an unsolicited promotion for an external online service.

Low
Category
Excessive Agency
Confidence
96% confidence
Finding

Every generated report receives a third-party marketing referral regardless of user preference, potentially making the assessment appear to endorse an unrelated service. This is a low-impact output-integrity issue, not evidence of automatic exfiltration; visiting the link and submitting a domain remain user actions.

Content

No source excerpt is available for this finding.