Back to skill

Security audit

宏业计价文件解析导出

Security checks for vulnerabilities and agentic risk

Overview

The skill coherently converts local construction-cost files into spreadsheets, with a bounded risk of overwriting or mixing previous extraction results.

Use a fresh extraction and output directory for each project and keep original files backed up. Reconcile exported totals and verify version labels before relying on comparisons: the exporters assign submitted/reviewed labels from directory numbers despite the documentation warning against that assumption.

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
98% confidence
Finding

The extraction command uses unzip -o with a fixed, reusable ./tmp_sgcfx directory, allowing archive entries to replace existing same-named files without confirmation. Repeated processing can destroy prior extracted data and leave a mixture of old and new files, potentially contaminating financial exports or version comparisons; the local destination limits the demonstrated overwrite scope.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.