Back to skill

Security audit

winget-package-manager

Security checks for vulnerabilities and agentic risk

Overview

This is a prompt-only Windows winget workflow that clearly limits package management actions and does not ship executable code.

Install this only if you want the agent to help manage Windows applications through winget. Review install, upgrade, download, and uninstall requests carefully because they can modify your system, but the skill itself is narrowly scoped and includes reasonable disambiguation and safety rules.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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)

Scope Creep

Low
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · SKILL.md (reported line 77)May include surrounding context.

md
- `uninstall`
- `list-upgrades`

Do not expand the scope beyond these operations unless the skill is explicitly redesigned.

## Safety rules

Static analysis

No suspicious patterns detected.