Back to skill

Security audit

Powershell Sandbox

Security checks for vulnerabilities and agentic risk

Overview

The package appears to be an incomplete PowerShell sandbox with unsupported safety claims, so it should be reviewed before use with untrusted scripts.

Do not rely on this package as a safe sandbox for untrusted PowerShell scripts until the actual src/sandbox.ps1 implementation, tests, and security controls are present and independently reviewed. Treat the current artifact as documentation for a proposed tool, not a working containment mechanism.

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 Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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 (3)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

This markdown file presents the skill name, instructions, examples, warnings, and operational guidance entirely in Chinese, with no indication that users may choose another language. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly justified, which is not documented here.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The document makes strong security assurances such as 'safe for untrusted scripts' and 'ready for production use' even though the listed next steps show key security properties remain untested, including file path isolation, output limits, and .NET type restrictions. This can mislead operators into deploying the sandbox in high-trust scenarios before essential containment controls are validated, increasing the chance of sandbox escape, data access, or denial-of-service from untrusted scripts.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The package description is written entirely in Chinese and does not indicate any language choice or opt-in. Under the natural-language policy rule, this can be treated as a locale/language constraint because the skill metadata presents itself in a single language without offering alternatives or documenting that the skill is region-specific.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.