Back to skill

Security audit

Karpathy LLM Wiki

Security checks for vulnerabilities and agentic risk

Overview

This skill transparently creates and maintains a local workspace wiki, with file writes and web fetching that fit its stated purpose.

Install this if you want an agent-maintained markdown knowledge base in your workspace. Expect it to create and update files under wiki-kb/ during ingest, archive, and lint actions, and be explicit when you only want a normal answer rather than a wiki operation.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The trigger text is broad enough to activate on ordinary knowledge-management requests such as 'add to wiki' or 'what do I know about', which can cause the skill to take over unexpectedly. Because the skill can fetch external content and create or modify files, accidental activation raises the risk of unintended side effects and user confusion about what actions will occur.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill instructs the agent to fetch external content and write multiple files as part of ingest, but it does not require an explicit user-facing warning or confirmation about these side effects. This is dangerous because users may phrase a request as a simple question and unexpectedly trigger network access, directory creation, and persistent storage of content in the workspace.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

The description embeds a second set of activation phrases in Chinese, which changes activation behavior based on language without stating whether multilingual triggering is optional or user-configurable. This can create an implicit language policy or behavior that is not explicitly opted into by the user.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The Query examples are phrased as common conversational requests and do not clearly limit when the skill should engage versus when the assistant should answer normally. In this skill, that matters because query flows may later lead to archival writes, so broad matching increases the chance of unintended workflow invocation.

Content

No source excerpt is available for this finding.