Back to skill

Security audit

cors-misconfig-check-lite

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because its example instructions conflict with its offline-only scope and its advertised exposed-header check is incomplete; the scan covered only 75% of components.

Consider avoiding installation unless you are comfortable with the mismatch and incomplete coverage. If you use it, do not follow the live-request example unless you intend to contact that service, and treat exposed-header breadth as unchecked. The scan was partial: one component was only partly inspected because its contents could not be fully interpreted, so the evidence is incomplete.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (8)

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · README.md (reported line 3)May include surrounding context.

md
Analyze pasted CORS headers for dangerous combos — reflected origin + credentials, wildcard misuse, null origin. Offline, zero deps.

`curl -sI -H "Origin: https://x" <url> | node scripts/cors.js -`

Free lite version of `cors-misconfig-check` — the full skill ($15) adds live origin probing + preflight tests. Also in the `security-audit-bundle-8-skills` bundle ($29). See SKILL.md for agent workflow.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The run instructions include a live HTTP request carrying an Origin header despite the explicit offline, no-probing contract. An agent following that example could contact a remote service without expected authorization; this is an instruction-level scope mismatch, not evidence that the analyzer itself performs networking.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description promises broad exposed-header analysis, but that coverage is deferred to the paid skill rather than implemented. In a security-checking skill, overstated coverage can cause users or agents to mistake an incomplete assessment for a completed check, although the upgrade notice partially discloses the limitation.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · SKILL.md (reported line 8)May include surrounding context.

md
# CORS Misconfig Check (Lite)

Analyze `Access-Control-*` response headers **the user pastes** (from `curl -H "Origin: ..." -I` or DevTools) for dangerous combinations. Offline.

## Scope and rules

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · SKILL.md (reported line 8)May include surrounding context.

md
# CORS Misconfig Check (Lite)

Analyze `Access-Control-*` response headers **the user pastes** (from `curl -H "Origin: …" -I` or DevTools) for dangerous combinations. Offline.

## Scope and rules

The run instructions include a live HTTP request despite describing the skill as offline and non-probing.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

The run block mixes legitimate offline processing with a command that contacts a remote API. This undermines the user's expectation of no network activity and could lead an agent to make an unsolicited request; it does not demonstrate automatic probing by the local script.

Content

No source excerpt is available for this finding.

The run instructions include a live origin probe despite the manifest's offline-only scope.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

This run example sends a live HEAD request with an attacker-style Origin value, contradicting the stated restriction to pasted headers. If followed by an agent, it crosses the promised offline boundary and creates observable network activity, though the example contains no credentials or sensitive payload.

Content

No source excerpt is available for this finding.

The manifest promises broad exposed-header analysis, but the code explicitly defers that check to another skill.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The implementation detects the presence of exposed-header configuration only to recommend an upgrade, without evaluating its breadth. Because the advertised check is absent and the report can still return ok: true, consumers may treat an incomplete security assessment as a pass; the upgrade explanation reduces but does not eliminate this risk.

Content

No source excerpt is available for this finding.