Back to skill

Security audit

Hostname Tool

Security checks for vulnerabilities and agentic risk

Overview

This small hostname utility is purpose-aligned and disclosed, though users should treat hostname changes as administrative system changes.

Install only if you want an agent-accessible hostname helper. Displaying the hostname is low risk; changing it should be done only when you explicitly intend to alter the machine's system or network identity.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
60% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

hostname-tool [options] [new-hostname]

text

Running without arguments displays the current hostname. Provide a new hostname to change it (requires root privileges).

## Examples

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly supports changing the system hostname but does not warn that this operation modifies persistent system configuration and can affect network identity, logging, prompts, and service behavior. In an agent-executed context, omission of this warning increases the chance of unintended administrative changes on the host.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.