Back to skill

Security audit

env-manager

Security checks for vulnerabilities and agentic risk

Overview

The skill is marked suspicious because scanners report that symbolic links could let its file writes escape the stated workspace boundary; analysis was also incomplete.

Consider avoiding installation until the reported write-boundary issue is addressed and the scan can fully inspect the JavaScript file. The suspicious verdict reflects a security weakness, not a finding that the author acted maliciously.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The claimed workspace confinement is not enforced against symbolic links: the implementation checks lexical paths with path.resolve/path.relative, while filesystem writes follow existing links. An attacker who can plant a symlink in a scaffold directory, state path, or workspace override can redirect normal operations to overwrite files outside the workspace with the agent's filesystem privileges.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
const em = require('./env-manager.js');

Unrestricted Tool Access

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.

Content

Scanner excerpt · README.md (reported line 7)May include surrounding context.

md
## What it does

For each language, it writes a few starter files into a project directory and returns commands the agent should run. The skill does not run any commands itself.

| Type   | Files written                                                            |
|--------|--------------------------------------------------------------------------|

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
60% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · env-manager.js (reported line 463)May include surrounding context.

js
const dockerfile = `FROM node:20-alpine\nWORKDIR /app\nCOPY package*.json ./\nRUN npm install\nCOPY . .\nEXPOSE 3000\nCMD ["node", "index.js"]\n`;
      writeFile(path.join(safeDir, 'Dockerfile'), dockerfile);

      const compose = `version: '3.8'\nservices:\n  app:\n    build: .\n    ports:\n      - "3000:3000"\n    volumes:\n      - .:/app\n    environment:\n      - NODE_ENV=development\n`;
      writeFile(path.join(safeDir, 'docker-compose.yml'), compose);
      break;
    }