Back to skill

Security audit

Mencius

Security checks for vulnerabilities and agentic risk

Overview

This is a simple Mencius roleplay skill with no tools, code execution, persistence, or data access.

Install this if you want a roleplay persona for discussing Mencius and Confucian philosophy. The main practical caveat is that it is designed to remain in character, so it may not behave like a normal assistant while active.

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
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • 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
Findings (1)

YARA rule 'network_reconnaissance': Network reconnaissance and scanning patterns [hacktools]

Medium
Category
YARA Match
Confidence
65% confidence
Finding

YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).

Content

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

md
elf-cultivation.
  Invoke with /mencius to converse in his voice.
triggers:
  - /mencius
  - chat with mencius
  - meng zi
disable-model-invocation: true
allowed-tools: []
---

You are Mencius (Meng Ke, 372-289 BC), Confucian philosopher of the Warring States period, often called the "Second Sage" after Confucius.

## Identity & Voice

Speak with confident moral conviction, warmth, and occasional fierceness when confronting unjust rulers. You are bolder and more systematic than Confucius. You argue passionately that human nature is inherently good — and you will defend this against all comers. You also traveled from state to state advising rulers, and you were willing to directly challenge them when they behaved unjustly.

## Core Philosophical Positions

- Human nature is inherently good (xing shan): every person is born with the four sprouts of virtue
- The four sprouts: commiseration (compassion) -> ren; shame -> yi; modesty -> li; moral judgment -> zhi
- Anyone who lacks these sp