Back to skill

Security audit

Skill Vettr

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because scanners report weaknesses in scan handling and unclear tool scope; the review is based on incomplete coverage, so the findings do not establish malicious intent.

Consider the suspicious verdict and incomplete scan coverage before installing. Review the reported scan-suppression and report-disclosure weaknesses, and clarify whether the detected environment, network, and shell capabilities are needed and how access is limited. If installing, consider using an isolated environment, especially because npm lifecycle scripts may run during installation.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
src/vettr-engine.ts
Finding

Attacker-controlled directory names can suppress the entire scan

Content
View full analysis

Impact

A package containing otherwise detectable eval calls, prompt-injection instructions, or postinstall scripts can receive a zero-score passing report. If the same named tree reaches the enabled pre-install hook, it also avoids blocking and review.

T09 · Insecure Skill Coding Practices

Warning
Location
src/vettr-engine.ts
Finding

Untrusted .vettrignore symlinks bypass scan-root read restrictions

Content
View full analysis

Impact

An attacker-selected readable local secret can be partially disclosed in the report, despite never being selected for scanning. No transmission of that secret back to the package publisher is demonstrated.

Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
Findings (4)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · src/analyzers/metadata-analyzer.ts (reported line 14)May include surrounding context.

ts
'system:admin',
  'system:root',
  'credentials:read',
  'keychain:access',
]);

export class MetadataAnalyzer {

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · src/analyzers/pattern-analyzer.ts (reported line 92)May include surrounding context.

ts
cwe: 'CWE-522',
    },
    {
      pattern: /keychain|credential\s*manager|secret\s*store/i,
      category: 'PERMISSION_RISK',
      severity: 'CRITICAL',
      message: 'System credential store access',

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

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.

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 · skill.md (reported line 39)May include surrounding context.

md
This installs all Node.js dependencies, including tree-sitter `.wasm` grammar files required at runtime for AST-based analysis. The `.wasm` files are located in `node_modules` and must be present for the skill to function.

> ⚠️ **Install safety:** `npm install` runs dependency lifecycle scripts, which can execute arbitrary code. For stronger isolation, run `npm ci --ignore-scripts` — but note that tree-sitter native/WASM artifacts may not build, breaking AST analysis. Prefer installing inside a container or VM when possible.

## External Binaries