Back to skill

Security audit

Password Generator Pro

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward local password generator with no evidence of hidden persistence, network access, or credential collection.

Install only if you are comfortable with generated passwords being printed in the terminal. Consider using a password manager to store generated passwords and avoid reusing them across accounts.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • 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 (2)

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

md
**User input:** "Generate a secure password for my new account"
**Expected output:** The tool outputs a randomly generated 16-character password using mixed case letters, digits, and special symbols, along with the command used.

### Scenario 2: Create a Custom-Length Password
**User input:** "I need a 32-character password with all character types"
**Expected output:** The tool generates a 32-character password with symbols and numbers included, using `--length 32` option.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The markdown includes a Chinese-only usage scenario and response pattern, which can be read as prescribing a specific language/locale for part of the skill behavior. The policy allows locale-specific behavior only when the user is offered a choice or when the constraint is explicitly justified, neither of which is stated here.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.exposed_secret_literal

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
password_generator.py:61