Back to skill

Security audit

karpathy-guidelines

Security checks for vulnerabilities and agentic risk

Overview

This is a markdown-only coding-guidelines skill with disclosed, purpose-aligned behavior and no executable or privileged actions.

Installers should be aware this skill changes coding-agent behavior toward a cautious, minimal-change workflow. Review the Chinese text for readability before using it broadly, and only copy it into CLAUDE.md or AGENTS.md if you want that guidance to persist in a project.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

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

md
---
name: karpathy-guidelines
description: "Apply Andrej Karpathy''s 5 LLM coding behavior principles to prevent common coding defects"
version: 1.0.0

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown skill is written primarily in Chinese with some English headings and examples, but it does not state that the skill is Chinese-language only or offer an alternative language option. Under the language/locale policy rule, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.