Back to skill

Security audit

Hfmirror Trending En

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it says: it fetches public HF-Mirror trending data and writes a Markdown report, with a report-content safety caveat.

Install only if you are comfortable with the agent making a public request to hf-mirror.com and creating or overwriting a Markdown report file. Treat generated report text as untrusted external data, especially resource names or titles, and avoid letting any text inside the report change the agent's instructions.

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
Findings (1)

other

Warning
Location
scripts/summarize.py:44
Finding

Untrusted API Metadata Is Embedded in Agent-Consumed Markdown Without Neutralization

Content
View full analysis
Remediation
View remediation
", ">") return text ``` Apply this function to all remotely sourced textual fields before adding them to `output`. ]]>
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)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The skill advertises and instructs use of network access plus file read/write behavior, but it does not declare any explicit tool scope such as permissions or allowed-tools. This creates a capability/transparency gap: an agent or platform may execute broader actions than a reviewer or user expects, increasing the risk of unintended outbound requests or local file modification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description explicitly states that the skill generates structured Markdown reports in English. This is a natural-language locale constraint presented as default behavior, and the file does not mention any user opt-in or option to choose another language.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.