Back to skill

Security audit

宏业计价文件解析导出

Security checks for vulnerabilities and agentic risk

Overview

The skill converts engineering cost files locally as advertised, with a limited risk of overwriting previous working files and exports.

Use a fresh working directory and separate output folder for each project, retain original archives, and verify version labels and totals before relying on the exports.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The extraction command silently overwrites existing files without warning the user.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The command combines a reusable extraction directory with unzip -o, which overwrites matching existing files without confirmation. A supplied archive can therefore replace files already present in that workspace, causing data loss or contaminating subsequent parsing; the dedicated temporary-directory naming limits the expected scope but does not ensure the directory is new or disposable.

Content

No source excerpt is available for this finding.