Back to skill

Security audit

pretext-layout

Security checks for vulnerabilities and agentic risk

Overview

This skill provides coherent guidance and a small optional scaffold script for browser-based Pretext layout work, with no evidence of hidden collection, persistence, privilege escalation, or destructive behavior.

Before running the scaffold script, choose a disposable or empty output directory, since it will write index.html and demo.mjs there. Otherwise, the skill appears appropriate for browser Pretext layout integration work.

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

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
86% confidence
Finding

The skill advertises executable tooling and explicitly instructs running a local script that can write files, but it does not declare any explicit tool scope such as permissions or allowed-tools. That creates an authorization gap: an agent may invoke file-writing capabilities without a clear least-privilege contract, increasing the risk of unintended filesystem modification in a user workspace.

Content

No source excerpt is available for this finding.