Back to skill

Security audit

Local TOTP Viewer

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent local TOTP viewer, but it tells users to share a Google Authenticator export QR code with the agent, which can expose all included 2FA secrets.

Do not send Google Authenticator export QR codes, decoded migration payloads, or full TOTP secrets to an agent or chat. Only use this kind of tool if you are comfortable storing 2FA seeds in a local plaintext file protected by filesystem permissions, and prefer a workflow that decodes and imports the QR entirely on your own machine.

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

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

md
"""
import base64, hashlib, hmac, json, os, struct, sys, time, urllib.parse

STORE = os.path.expanduser("~/.2fa_secrets.json")

def load():
    if os.path.exists(STORE):

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill explicitly tells the user to send a screenshot of the Google Authenticator export QR code to the agent. That QR code contains all exported TOTP seeds, so sharing it with an agent or chat system exposes reusable MFA secrets that can be stored, logged, or misused to generate future one-time codes for every included account. In this skill context, that is especially dangerous because the export bundles multiple accounts at once, magnifying the blast radius.

Content

No source excerpt is available for this finding.