Back to skill

Security audit

装修预算计算器

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local Xi'an home-renovation budget calculator with no evidence of hidden access, persistence, network use, or destructive behavior.

Before installing, treat the estimates as regional Chinese-language guidance for Xi'an and not as a binding quote. Be aware that floorplan details are not actually used by the calculator, and 半包/全包 input mainly affects labeling rather than changing the computed ranges.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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 (4)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This JavaScript file contains multiple user-facing strings exclusively in Chinese, including error messages and the main response text. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly documented and justified, which is not present in this file.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest says the calculator takes 户型 and 半包/全包 as budgeting inputs, but parseQuery only extracts area, old/new, package type, and level, with no户型 parsing at all. Although packageType is parsed and echoed in results, the calculation path in calculateDecorationBudget always computes both half-package and full-package ranges from the same tier and never branches on packageType, so that stated input does not affect estimation behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown file presents all instructions, labels, and guidance exclusively in Chinese. Under the policy rule, forcing a specific language without user opt-in can be a natural-language policy violation when no language choice or explicit region-specific justification is provided.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The text instructs downstream use to generate responses for homeowners using a specific Chinese phrasing style, and the file as a whole is written only in Chinese. Under the policy, forcing a specific language or locale without offering user choice can be a natural-language policy violation unless it is explicitly justified as region-specific output behavior.

Content

No source excerpt is available for this finding.