Back to skill

Security audit

Tmp.NoCba5uMqw

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a coherent Chinese local-business marketing assistant, but it under-discloses external data-sharing and uses mutable hosted code and mandatory consultant lead-generation paths.

Review before installing. Use the diagnostic advice only if you are comfortable with external feedback/contact prompts, do not send screenshots or business data to WeChat/Notion unless you intend to share it, and avoid the hosted/CDN diagnostic links unless they are pinned or audited. Treat the marketing examples as advice to check against platform, privacy, and consumer-protection rules.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • 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 (2)

T01 · Skill Instruction Hijacking

Error
Location
templates/diagnosis-standalone.html:149
Finding

Mandatory Consultant Promotion Injected into Diagnostic Outputs

Content
View full analysis

📮 需要人工深度分析?

加微信 15610568699,发送诊断结果截图
免费帮你分析一次,看看怎么落地执行

'+ '
李鑫 · 门店诊断工具 v2.0
数据仅存于你的浏览器,不会上传
'; ``` ### Technical Analysis The Skill contains explicit ...[truncated 2222 chars]
Remediation
View remediation

T03 · Remote Payload Retrieval and Execution

Error
Location
templates/diagnosis-report-template.html:7
Finding

Execution of Mutable and Unpinned Remote JavaScript

Content
View full analysis
``` `SKILL.md:222-225`: ```markdown ### 🌐 远程获客 HTML 工具(无需安装 Hermes) 发给老板的独立诊断页面,双击或用手机打开链接即可使用: - GitHub Pages:https://1027399464-tech.github.io/local-business-live-skills/ - CDN 加速:https://cdn.jsdelivr.net/gh/1027399464-tech/local-business-live-skills@main/diagnosis-tool.html ``` ### Technical Analysis The generated report template loads Chart.js from jsDelivr without specifying an exact package version and without a Subresource Integrity hash. Consequently, the JavaScript executed by the report is determined at page-open time rather than being fixed to the code reviewed in this package. The Skill also directs users to a diagnostic HTML document obtained from the mutable `main` branch of a remote GitHub repository through jsDelivr. The effective HTML and JavaScript served at that URL can change after this Skill package has been audited. If the package distribution, upstream repository, maintainer account, CDN resolution, or remote content is compromised or changed, arbitrary JavaScript can execute when a user opens the report or remote diagnostic page. Such JavaScript executes within the page's browser context and can read the report DOM, modify diagnostic results, issue network requests, display deceptive content, or collect data entered into the page. No currently malicious remote payload was established during the static audit. The vulnerability is the uncontrolled remote execution channel and the inability of the audited package to guarantee what code will run later. ### Attack Path 1. The user generates and opens `diagnosis-report-template.html`, or follows the hosted diagnostic link from `SKILL.md`. 2. ...[truncated 1467 chars]
Remediation
View remediation
/chart.min.js" integrity="sha384-" crossorigin="anonymous"> ``` 4. Apply a restrictive Content Security Policy that permits scripts only from explicitly approved sources and blocks unexpected network destinations. 5. Replace the mutable `@main` diagnostic URL with an immutable commit-addressed or release-versioned artifact. 6. Publish and verify cryptographic checksums for hosted HTML and JavaScript assets. 7. Use a controlled deployment pipeline with repository branch protection, mandatory review, signed releases, and restricted publishing credentials. 8. Ensure the report remains functional without network access where possible. 9. Re-audit remote assets whenever their pinned version or checksum changes. ]]>
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (73)

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file declares a China-wide e-commerce operations expert, which materially exceeds the parent skill's stated local-business live-operations assistant scope. Scope drift is dangerous because it can cause the agent to perform unintended high-impact business guidance outside user expectations and outside any controls, review, or consent model implied by the manifest.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The file’s declared role and behavior are materially unrelated to the parent skill’s stated purpose of assisting local-business livestream operations. This kind of scope divergence is dangerous because it can cause the agent to activate the wrong expertise, produce unauthorized business guidance, and bypass user or operator expectations about what the skill is supposed to do.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file defines a broad livestream e-commerce coaching skill that materially exceeds the manifest’s stated local-business assistant scope. This scope drift is dangerous because users or downstream agents may invoke capabilities they did not expect, including platform-specific growth and sales tactics, weakening trust boundaries and governance over what the skill is allowed to do.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The file’s declared role is a broad short-video editing coach, which does not match the parent skill’s stated purpose of a local-business operations assistant focused on diagnosis, livestream prep, and business review workflows. This scope drift is dangerous because it can cause the agent to activate capabilities outside user expectations and governance boundaries, increasing the chance of unauthorized or poorly supervised advice paths.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The manifest describes an AI assistant for local-business owners focused on store diagnosis, short-video scripts, livestream preparation, pre-live talking points, data review, and Q&A. This file instead defines a Xiaohongshu content-operations specialist centered on seeding notes, KOL/KOC collaboration, ad planning, and brand reputation on a different platform, which is a substantial semantic mismatch rather than an implementation detail.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
90% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/skillhub-publishing-guide.md (reported line 38)May include surrounding context.

解决方法: 发布前从目录中删除这些文件,或从临时目录发布:

bash
rm -rf /tmp/publish-temp && mkdir -p /tmp/publish-temp
cp -r source-dir/* /tmp/publish-temp/
rm -rf /tmp/publish-temp/.git /tmp/publish-temp/*.zip /tmp/publish-temp/*.bat
skillhub publish /tmp/publish-temp

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
90% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/skillhub-publishing-guide.md (reported line 40)May include surrounding context.

解决方法: 发布前从目录中删除这些文件,或从临时目录发布:

bash
rm -rf /tmp/publish-temp && mkdir -p /tmp/publish-temp
cp -r source-dir/* /tmp/publish-temp/
rm -rf /tmp/publish-temp/.git /tmp/publish-temp/*.zip /tmp/publish-temp/*.bat
skillhub publish /tmp/publish-temp

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
90% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/skillhub-publishing-guide.md (reported line 38)May include surrounding context.

解决方法: 发布前从目录中删除这些文件,或从临时目录发布:

bash
rm -rf /tmp/publish-temp && mkdir -p /tmp/publish-temp
cp -r source-dir/* /tmp/publish-temp/
rm -rf /tmp/publish-temp/.git /tmp/publish-temp/*.zip /tmp/publish-temp/*.bat
skillhub publish /tmp/publish-temp

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/skillhub-publishing-guide.md (reported line 40)May include surrounding context.

bash
rm -rf /tmp/publish-temp && mkdir -p /tmp/publish-temp
cp -r source-dir/* /tmp/publish-temp/
rm -rf /tmp/publish-temp/.git /tmp/publish-temp/*.zip /tmp/publish-temp/*.bat
skillhub publish /tmp/publish-temp

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
90% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/skillhub-publishing-guide.md (reported line 40)May include surrounding context.

bash
rm -rf /tmp/publish-temp && mkdir -p /tmp/publish-temp
cp -r source-dir/* /tmp/publish-temp/
rm -rf /tmp/publish-temp/.git /tmp/publish-temp/*.zip /tmp/publish-temp/*.bat
skillhub publish /tmp/publish-temp

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The document frames the promotion around a celebratory story while specifically advising staff not to disclose that the yogurt is near expiry, which withholds a material product fact from customers. In a local retail/food-sales skill, this is especially dangerous because it encourages deceptive marketing around perishable goods and can mislead consumers about why the item is discounted.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The display name, description, trigger phrases, and all user instructions are written exclusively in Chinese, and the trigger routing depends on Chinese phrases. There is no statement that the skill is China-specific or that users may choose another language, which can violate language/locale policy expectations.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The description promises that the AI can act from 'one sentence' and lists vague trigger phrases, encouraging loose intent matching without clear boundaries. In practice this makes accidental invocation and cross-mode prompt capture more likely, though the direct security impact is limited.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The routing table uses broad natural-language triggers such as '看看我的店', '我的店有问题', '复盘', and '数据', which can match ordinary conversation and unintentionally invoke skill behavior. This increases the chance of prompt squatting or unintended mode switching, especially in shared assistant contexts where casual phrases may be misinterpreted as commands.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
91% confidence
Finding

The skill instructs users to send a literal file path to the assistant ('请读取 ~/.codebuddy/skills/local-business-live-cycle/SKILL.md'), revealing local skill installation structure and encouraging direct path-based resource access. This can aid environment enumeration and normalize behavior where prompts request local file reads, which may be abused in broader prompt-injection scenarios.

Content

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

WorkBuddy 新开会话时,skill 不会自动加载。复制下面这句话发送即可激活:

text
请读取 ~/.codebuddy/skills/local-business-live-cycle/SKILL.md
然后按里面的流程帮我诊断门店。
我说「写视频」转口播模式,说「复盘」转复盘模式。

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
93% confidence
Finding

The installation-path section discloses precise local locations for WorkBuddy and Hermes skill files and references installation commands. This leaks environment structure that could help an attacker tailor prompt-injection or social-engineering payloads around expected directories and skill-loading conventions.

Content

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

md
> 激活后,直接说「帮我诊断门店」就能用。

**安装路径确认:**
- WorkBuddy: `~/.codebuddy/skills/local-business-live-cycle/SKILL.md`
- Hermes: `~/.hermes/profiles/deepseek-v4/skills/consulting/local-business-live-cycle/SKILL.md`
- SkillHub 安装: `skillhub install local-business-live-cycle`

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file explicitly claims 'diagnostic data only exists locally' while elsewhere directing users to external Notion, GitHub Pages, and jsDelivr endpoints for feedback and tool usage. That creates a misleading privacy representation and can cause users to disclose business or operational data off-platform under false assumptions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly instructs users to enable location tagging when publishing but does not warn about privacy, stalking, doxxing, or business-security risks. For small business owners and staff appearing on camera, encouraging precise location disclosure can expose real-world whereabouts and routines to unintended audiences.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrases include broad everyday-language Chinese activations such as “实体获客” and “帮我写个获客脚本”, which can cause the skill to activate unexpectedly in normal conversations. This increases the chance of unintentional invocation and unsolicited guidance, especially in multi-skill environments where routing is based on fuzzy matching.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · external/entity-copywriter.md (reported line 8)May include surrounding context.

md
⚠️ 发布时务必打开位置定位,这样周边人群才能刷到。
  触发方式:/entity-copywriter、「实体获客」「帮我写个获客脚本」「实体店怎么做短视频」
  Entity short-video script generator for local business customer acquisition.
  Trigger: /entity-copywriter, "write a customer acquisition script"
---

# entity-copywriter:实体获客文案助手

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · external/entity-copywriter.md (reported line 8)May include surrounding context.

md
⚠️ 发布时务必打开位置定位,这样周边人群才能刷到。
  触发方式:/entity-copywriter、「实体获客」「帮我写个获客脚本」「实体店怎么做短视频」
  Entity short-video script generator for local business customer acquisition.
  Trigger: /entity-copywriter, "write a customer acquisition script"
---

# entity-copywriter:实体获客文案助手

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The later instruction to publish with a specific address repeats and operationalizes precise location disclosure without any consent or safety caveat. Repetition makes the risky behavior more likely, and the instruction shifts from general tagging to exact-address publication, which heightens physical privacy exposure.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill name and description define the assistant as a China e-commerce operator expert focused on Chinese platforms and implicitly Chinese-language operation. Under the policy, forcing a specific language or locale without user opt-in can be a natural-language policy violation unless the constraint is clearly documented and justified as region-specific; here the locale focus is present, but no user choice or opt-in is offered.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill instructs sending CRM messages to existing customers without mentioning consent, lawful basis, opt-out handling, or privacy obligations. In this context, the omission is risky because it normalizes direct customer outreach using potentially personal data and could lead users to misuse stored contact information.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill expands into ad operations, CRM outreach, customer databases, supply-chain planning, logistics, and financial management, well beyond the advertised six-mode assistant. This creates a governance and safety issue because the agent may advise on sensitive operational domains without corresponding disclosures, safeguards, or user approval.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.