Back to skill

Security audit

file-integrity

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward file integrity helper that hashes, copies, downloads, and checks user-selected files without hidden persistence or unrelated behavior.

Install only if you are comfortable with a skill that can read files you ask it to hash, write copied files or manifests to paths you provide, and download URLs you specify. Prefer supplying an expected SHA-256 or other trusted checksum for downloads.

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 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Lp3

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding
The skill invokes a Python script that can read and write local files and download from arbitrary URLs, but the manifest declares no explicit tool scope or permissions boundaries. Without declared constraints, an agent or platform may grant broader-than-necessary capabilities, increasing the risk of unintended file modification, data exposure, or network misuse if the skill is triggered inappropriately.

Natural-Language Policy Violations

Low
Confidence
94% confidence
Finding
This code file contains natural-language documentation and CLI output entirely in Chinese, including the top-level description and usage text. Under the policy, forcing a specific language without user opt-in is a locale-policy issue unless the constraint is explicitly justified, which is not present here.

Static analysis

No suspicious patterns detected.