Back to skill

Security audit

Gemini STT

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Google-backed audio transcription tool, with remote upload and Google credential use aligned with its stated purpose.

Install this only if you are comfortable sending the selected audio files to Google Gemini or Vertex AI and using your Google API key or gcloud credentials for the request. Avoid transcribing regulated, confidential, or highly sensitive recordings unless that matches your organization's data-handling rules.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

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 · transcribe.py (reported line 47)May include surrounding context.

python
def get_gcloud_access_token() -> str | None:
    """Get access token from gcloud CLI (Application Default Credentials)."""
    try:
        result = subprocess.run(
            ["gcloud", "auth", "print-access-token"],

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill advertises code-backed behavior that accesses environment variables, invokes shell-oriented setup commands, and performs outbound network requests, but it declares no explicit tool scope or permissions boundary. In an agent ecosystem, this weakens user visibility and policy enforcement, increasing the chance that sensitive environment data or external network access is used without informed approval.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation explains transcription but does not clearly warn that the provided audio is uploaded to Google Gemini API or Vertex AI for remote processing. This can cause users or downstream agents to send sensitive voice recordings, background conversations, or regulated data off-device without informed consent, creating privacy, compliance, and data-handling risk.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · transcribe.py (reported line 49)May include surrounding context.

python
def get_gcloud_access_token() -> str | None:
    """Get access token from gcloud CLI (Application Default Credentials)."""
    try:
        result = subprocess.run(
            ["gcloud", "auth", "print-access-token"],
            capture_output=True,
            text=True,

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · transcribe.py (reported line 72)May include surrounding context.

python
# Fall back to gcloud config
    try:
        result = subprocess.run(
            ["gcloud", "config", "get-value", "project"],
            capture_output=True,
            text=True,

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This function reads the full local audio file, base64-encodes it, and sends it to Google's Gemini API for remote processing, but the runtime behavior does not provide an explicit user-facing warning or consent checkpoint. In a transcription skill, remote transmission is functionally expected, but sending potentially sensitive voice data off-host without clear disclosure can create privacy, compliance, and data-handling risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The Vertex AI path transmits user audio to a remote Google endpoint and includes a bearer token for authorization, again without an explicit user-facing disclosure at the point of use. Although HTTPS is used and this is aligned with the stated feature set, the absence of a clear warning or consent mechanism increases privacy and enterprise policy risk when handling sensitive recordings.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.