Back to skill

Security audit

Tailwind V4

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only Tailwind CSS v4 helper skill with no hidden execution, persistence, or credential handling found.

Install is reasonable for Tailwind CSS v4 work. Review generated setup changes before applying them, avoid using @next package versions unless you want prerelease packages, and adapt the dark-mode SSR snippet to your app's locale and security policy.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Instruction Override

High
Category
Prompt Injection
Confidence
90% confidence
Finding

This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.

Content

Scanner excerpt · references/dark-mode.md (reported line 55)May include surrounding context.

md
- No FOUC (flash of unstyled content)

**Cons**:
- Users can't override system preference
- No manual toggle control
- Changes when system setting changes

Instruction Override

High
Category
Prompt Injection
Confidence
90% confidence
Finding

This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.

Content

Scanner excerpt · references/dark-mode.md (reported line 122)May include surrounding context.

md
- No FOUC (flash of unstyled content)

**Cons**:
- Users can't override system preference
- No manual toggle control
- Changes when system setting changes

Unvalidated Output Injection

High
Category
Output Handling
Confidence
65% confidence
Finding

Model output is used without validation or sanitization. Unvalidated output injected into downstream contexts (SQL, shell, HTML) enables injection attacks and arbitrary code execution.

Content

Scanner excerpt · references/dark-mode.md (reported line 351)May include surrounding context.

md
<html lang="en" suppressHydrationWarning>
      <head>
        <script
          dangerouslySetInnerHTML={{
            __html: `
              (function() {
                const theme = localStorage.getItem('theme') || 'system';

Vague Triggers

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill description includes broad trigger terms such as 'CSS variables', 'oklch', '--color-', and 'tailwind v4', which are common across many frontend contexts and may cause the skill to activate when a user is not specifically asking for this Tailwind v4 guidance. Unintended invocation can inject irrelevant or misleading setup advice into unrelated workflows, especially in mixed Tailwind v3/v4 or general CSS discussions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The SSR example sets <html lang="en">, which enforces English as the page language in the example. This is a natural-language locale choice presented as the default implementation, and the document does not indicate user opt-in or explain a region-specific justification.

Content

No source excerpt is available for this finding.