Back to skill

Security audit

code-simplifier

Security checks for vulnerabilities and agentic risk

Overview

This is a code-refactoring guidance skill with visible scope and no evidence of hidden execution, exfiltration, persistence, or credential access.

Install only if you want a Chinese-oriented code simplification workflow that can edit local project files and run validation steps. Review diffs before accepting changes, and avoid letting it refactor broad areas of a repository unless you explicitly want that scope.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

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: code-simplifier
description: "Reduce code complexity while preserving behavior using Chesterton''s Fence, Rule of 500, and veri..."
tags: [coding, frontend, file-based, template-based, api-integration]

Natural-Language Policy Violations

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill content is written to require Chinese output and response structure across essentially the entire file, without any user opt-in or negotiation. Forcing output language can override user preference, system expectations, or downstream workflow requirements, and in agent settings this can become instruction-channel interference that degrades reliability and may conceal unsafe transformations from users who do not read Chinese.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The Chinese triggers are also broad task phrases that naturally occur in routine coding conversations, with no boundary indicating deliberate skill invocation. This ambiguity raises the likelihood of accidental activation and unintended instruction takeover, especially in multilingual environments.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The English triggers such as 'simplify this code', 'refactor this', and 'make this cleaner' are broad, common phrases that overlap with ordinary user requests. This can cause the skill to activate unexpectedly and inject its long prescriptive behavior into unrelated coding interactions, creating prompt-scope confusion and reducing user control.

Content

No source excerpt is available for this finding.