Back to skill

Security audit

Steam Icon Fixer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed local Steam icon repair helper that makes expected changes to the user's Linux icon theme.

Install only if you want a local tool that reads your Steam launchers and writes replacement PNG icons under your user icon theme. Check the app ID and image path first, and be aware that existing steam_icon_<appid>.png files may be overwritten and the icon cache may be refreshed.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • 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
Findings (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill instructs the agent to run a local Python script and infer filesystem locations, but it does not declare any tool restrictions or permission scope. In practice this means an agent may use shell, environment access, and file reads/writes more broadly than the user expects, increasing the chance of unintended local file modification or overbroad access during execution.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/steam_icon_fixer.py (reported line 153)May include surrounding context.

python
if not tool:
        print("warning: icon cache tool not found; refresh manually if needed", file=sys.stderr)
        return
    subprocess.run([tool, "-f", "-t", str(icons_dir)], check=True)


def shutil_which(name: str) -> str | None:

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
92% confidence
Finding

The helper uses sh -lc with string interpolation to resolve a command name, which creates an unnecessary shell execution surface. Although current callers use constant candidate names, the function itself is unsafe-by-design and would become command-injection-prone if reused with attacker-controlled input; it also allows PATH-based execution ambiguity because it trusts whatever sh resolves in the environment.

Content

Scanner excerpt · scripts/steam_icon_fixer.py (reported line 157)May include surrounding context.

python
def shutil_which(name: str) -> str | None:
    return subprocess.run(
        ["sh", "-lc", f"command -v {name}"],
        capture_output=True,
        text=True,

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill's install workflow writes replacement icon assets into the user's local icon theme and may alter desktop integration behavior, but the description does not clearly warn that local files will be modified. This is dangerous mainly from a safety and consent standpoint: users may not realize the action is persistent, affects desktop launchers, or could overwrite existing icon files.

Content

No source excerpt is available for this finding.