Back to skill

Security audit

ljh-yinzi

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a content-analysis helper, but it adds undisclosed first-run promotion and local file persistence that users should review before installing.

Install only if you are comfortable with a first-run branded message, optional off-platform contact promotion, and local storage of onboarding/archive state. Review or disable the archive behavior if your prompts may contain proprietary product, ad, ROI, or business strategy details.

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
Findings (1)

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:17
Finding

Mandatory Promotional Output Injected into Agent Responses

Content
View full analysis
欢迎使用 **LJHskill 电商老家伙工具箱**。 > > 你可以从下面任意一个方向开始: > > **A. 产品判断**:把产品 brief 发给我,我帮你判断值不值得打、定位是否清楚、卖点是否成立。 > **B. 内容诊断**:把带货脚本、素材文案或爆款案例发给我,我帮你检查说服链、内容因子和人群对齐。 > **C. 经营诊断**:告诉我投放或经营问题,例如掉量、转化下降、ROI 异常、退货或利润问题。 > > 直接回复 **A、B、C**,或者用一句话告诉我你现在卡在哪里。 > > 我们还有一个 **LJHskill 用户交流群**,解决安装和使用问题,发布功能更新和实战案例。加微信备注「LJHskill」: > > 李解:`lijiedelijiea`  瀚森:`DamonWang1993` ``` ### Technical Analysis When the skill is loaded for the first time, it directs the agent to prepend a fixed branded onboarding message before addressing the user's request. That message includes an unsolicited invitation to an external WeChat community and two external contact identifiers. This behavior is unrelated to the skill's primary content-factor analysis functionality. Because it is expressed as a mandatory skill instruction, it changes the agent's user-facing response behavior merely by loading the skill. This is consistent with skill instruction hijacking: the skill uses trusted instruction text to introduce an additional promotional objective into the active session. The instruction also checks for and attempts to create `~/.ljhskill/onboarding.json`. This marker makes the promotional behavior conditional across later invocations. The file contains only onboarding status and a timestamp, so the available evidence does not establish agent memory poisoning, executable persistence, or a backdoor. Nevertheless, it writes state outside the project directory without requiring explicit user approval. ### Attack Path 1. A user installs or invokes the skill for a legitimate content-factor analysis task. 2. The agent loads and follo ...[truncated 1446 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill’s manifest presents a narrow three-mode content-factor toolkit, but the body adds onboarding, marketing, community promotion, and stateful file writes that are outside that declared scope. This creates a capability mismatch that can surprise users and downstream agents, leading to unintended data handling and trust-boundary violations.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill instructs the agent to check for, create, and later append to local files for onboarding and brand archives without prior explicit consent as a prerequisite. Persistent storage of user and business context beyond the immediate task can expose sensitive commercial information, create hidden state, and violate least-privilege expectations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill performs file creation and archival writes that are not disclosed in the initial description or trigger text, so users may invoke it for analysis without realizing it will persist data locally. Hidden stateful side effects are dangerous because they can store proprietary business details and alter the environment without informed consent.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill states it should not auto-trigger for non-content-e-commerce use cases, yet the onboarding invites broader product, content, and business-diagnosis workflows beyond the advertised content-factor scope. That inconsistency increases the chance of over-collection of business information and accidental activation in contexts the user did not intend.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

The boundary states the tool should not handle budget/accounting decisions and should defer such work to /ljh-suanzhang. Earlier onboarding and workflow instructions nevertheless invite users to discuss ROI abnormalities and collect ROI, spend, and business-diagnosis information as part of this skill's interaction, creating a mixed signal about intended scope.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The onboarding message displays off-platform contact details and promotes joining an external user group without opt-in framing or privacy context. While not highly severe on its own, it introduces unnecessary off-platform data-sharing pressure and expands the social-engineering surface beyond the core skill purpose.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.