Back to skill

Security audit

souvenir-sleuth

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent travel-shopping helper with local reference data and a small offline script, and I found no evidence of credential access, hidden persistence, exfiltration, or unsafe automatic behavior.

Installers should understand that this skill may have an agent run a bundled Python script and do current web research for shop hours or customs details. Review official customs sources before relying on travel import advice, especially for food, plants, animal products, or protected materials.

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
  • 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
Findings (5)

Credential Access

High
Category
Privilege Escalation
Content
}

TRAP_MARKERS = [
    "snow globe", "fridge magnet", "keychain", "key chain", "t-shirt",
    "shot glass", "mug", "miniature", "souvenir spoon", "logo", "statuette",
    "mini tower", "mini building",
]
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Credential Access

High
Category
Privilege Escalation
Content
}

TRAP_MARKERS = [
    "snow globe", "fridge magnet", "keychain", "key chain", "t-shirt",
    "shot glass", "mug", "miniature", "souvenir spoon", "logo", "statuette",
    "mini tower", "mini building",
]
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Credential Access

High
Category
Privilege Escalation
Content
}

TRAP_MARKERS = [
    "snow globe", "fridge magnet", "keychain", "key chain", "t-shirt",
    "shot glass", "mug", "miniature", "souvenir spoon", "logo", "statuette",
    "mini tower", "mini building",
]
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Lp3

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding
The skill documentation instructs use of local scripts and reference files, implying shell, file read, and possible file write capabilities, but it does not declare any explicit tool scope or permissions boundary. In an agent environment, undeclared capabilities increase the risk of over-privileged execution, unintended file access, or unsafe command use because reviewers and orchestrators cannot enforce least privilege from the manifest alone.

subprocess module call

Medium
Category
Dangerous Code Execution
Content
def run(*args):
    return subprocess.run([sys.executable, str(SCRIPT), *args],
                          capture_output=True, text=True)
Confidence
70% confidence
Finding
subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Static analysis

No suspicious patterns detected.