Back to skill

Security audit

Auto-AI Web Bridge

Security checks for vulnerabilities and agentic risk

Overview

This skill needs Review because it tells the agent to ask for and possibly save Claude/Gemini credentials while automatically sending user prompts or code to third-party AI websites.

Install only if you are comfortable with an agent using logged-in Claude and Gemini web sessions for your requests. Do not provide passwords, MFA codes, cookies, or recovery credentials to the agent; log in directly in the provider-controlled browser instead. Treat any code or prompt sent through this skill as shared with the external provider, and avoid using it for secrets, proprietary source, customer data, or regulated information unless you have explicit approval.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:41
Finding
Unsafe Collection and Ambiguous Storage of User Credentials<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 41-46; related storage guidance at lines 58-59 **Vulnerability Type**: Credential exposure through insecure operational instructions **Risk Level**: High ### Vulnerable Code Snippet ```markdown ### 4. Gestione Accesso - Se l'accesso non è automatico (sessione scaduta/assente) - **FERMATI** e chiedi esplicitamente le credenziali - Non insistere, aspetta input dell'utente - Dopo aver ricevuto credenziali, prova il login ``` Related credential-storage guidance: ```markdown ## Note - Salva le credenziali in modo sicuro se l'utente le fornisce - Non conservare password in chiaro nei file di configurazione ``` ### Technical Analysis The Skill explicitly instructs the agent to request account credentials from the user and then use those credentials to log in to third-party services. It also permits credentials to be stored using an undefined “secure” method. No secure credential-entry channel, approved secret manager, retention period, access-control model, log-redaction requirement, or deletion procedure is defined. Consequently, a user may submit a password directly through the conversational interface, where it could be exposed through chat history, application logs, telemetry, agent context, screenshots, or implementation-dependent persistent storage. The instruction not to store plaintext passwords in configuration files is insufficient because it does not prohibit collection through chat or storage in other plaintext locations. Authentication should instead occur directly between the user and the official provider interface. ### Attack Path 1. The Skill navigates to Claude or Gemini and determines that no authenticated session exists. 2. Following the documented instructions, the agent asks the user to provide account credentials. 3. The user submits a username and password through the conversational interface. 4. The credentials become part of the agent context and may also enter c ...[truncated 1099 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. Remove every instruction that asks the user to provide usernames, passwords, recovery codes, session cookies, or multi-factor authentication secrets to the agent. 2. Require users to authenticate directly within the official provider-controlled browser interface. 3. Use an existing authenticated session or provider-supported OAuth/device authorization flow where available. 4. Explicitly instruct the agent to stop if credentials appear in chat, warn the user, and avoid repeating or storing the secret. 5. Prohibit credential persistence in files, chat memory, logs, environment variables, screenshots, and agent state. 6. If tokens must be handled by an authorized implementation, use an operating-system credential vault or dedicated secret manager with encryption, least-privilege access, expiration, rotation, and deletion controls. 7. Add mandatory log and telemetry redaction for passwords, authorization headers, cookies, and access tokens. 8. Document a clear retention and incident-response policy for accidentally disclosed credentials, including immediate revocation and rotation. ]]>

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:9
Finding
Automatic Disclosure of User Prompts and Source Code to External AI Services<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 9-29 **Vulnerability Type**: Automatic external data submission without explicit consent or sensitivity review **Risk Level**: Medium ### Vulnerable Code Snippet ```markdown ## Condizioni di Attivazione Attivati automaticamente quando: - L'utente richiede generazione di **immagini** - L'utente richiede **scrittura** o **analisi** di **codice** - Le API ufficiali non sono configurate o non accessibili ## Istruzioni Operative ### 1. Determina il tipo di richiesta: - **Codice** → Usa Claude AI (https://claude.ai) - **Immagini** → Usa Gemini (https://gemini.google.com) ### 2. Workflow per CODICE: 1. Naviga su https://claude.ai 2. Verifica se la sessione è attiva (utente loggato) 3. Se NON loggato: chiedi credenziali all'utente 4. Se loggato: inserisci il prompt nel campo di testo 5. Invia e attendi la risposta 6. Copia la risposta in formato Markdown 7. Restituisci il codice all'utente ``` The corresponding image workflow at lines 31-39 similarly directs the agent to insert an image prompt into Gemini. ### Technical Analysis The Skill activates automatically for broad categories of code and image requests and instructs the agent to submit the prompt to an external AI service. It does not require informed user consent immediately before transmission, display the exact content that will be sent, classify the information, or redact secrets. A code-analysis prompt may contain proprietary source code, credentials, API keys, customer information, internal URLs, security findings, or unreleased product details. Automatic submission transfers this information outside the local environment and associates it with the authenticated third-party account. This behavior exceeds least privilege for requests that could be handled locally. Although the listed destinations are official Claude and Gemini domains and there is no evidence of transmission to an attacker-controlled domain, the absence of a c ...[truncated 1697 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. Replace automatic external submission with an explicit opt-in confirmation for each request. 2. Before transmission, identify the provider and show the user exactly what content and attachments will be sent. 3. Add a mandatory sensitivity review that detects and removes passwords, API keys, tokens, private keys, personal data, and confidential source code. 4. Refuse external submission when secrets or regulated data cannot be safely redacted. 5. Default to local analysis and generation when a local capability is available. 6. Allow users or administrators to disable individual providers and all external processing through policy. 7. Minimize submitted data to only the portions strictly required for the task. 8. Document third-party processing, retention, account-history, and deletion implications. 9. Record consent without retaining the sensitive payload itself. 10. Require renewed approval if the destination, submitted content, or purpose changes. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Context-Inappropriate Capability

Critical
Confidence
99% confidence
Finding
The note to 'save credentials securely' confirms the skill contemplates persistent handling of user credentials, which is unrelated and excessive for a content-generation helper. Any persistence of third-party passwords materially increases the chance of credential theft, reuse compromise, and unauthorized account access.

Missing User Warnings

High
Confidence
95% confidence
Finding
The workflow sends user prompts, and for code tasks potentially proprietary or sensitive source code, to external services (Claude AI and Gemini) without explicit disclosure or consent. This is dangerous because it can leak confidential material to third parties under different retention, training, or access policies than the user expects.

Context-Inappropriate Capability

High
Confidence
97% confidence
Finding
The skill explicitly instructs the agent to ask for third-party account credentials to access Claude/Gemini, even though the skill’s stated purpose is only code or image generation. This creates unnecessary credential collection risk and could expose user passwords to the agent runtime, logs, or downstream components.

Missing User Warnings

High
Confidence
96% confidence
Finding
The skill tells the agent to request credentials for third-party sites but provides no explicit privacy or security warning about password handling. In context, this makes accidental disclosure more likely and normalizes unsafe credential-sharing behavior with the assistant.

Vague Triggers

Medium
Confidence
96% confidence
Finding
The activation conditions cover broad, common requests such as any coding, code analysis, or image generation request, causing the skill to trigger frequently and potentially unexpectedly. In this context that is risky because activation leads to external website use, possible credential requests, and third-party data transmission without narrow scoping.

Missing User Warnings

Medium
Confidence
90% confidence
Finding
The skill instructs downloading generated files and saving them to a local path without clearly informing the user that a local file write will occur. Silent writes can create privacy, disk hygiene, and trust issues, especially if filenames or content are sensitive or later consumed by other tools.

Natural-Language Policy Violations

Low
Confidence
81% confidence
Finding
All user-facing instructions and activation text are presented in Italian, and the file does not indicate that this language restriction is optional or region-specific. This can amount to a language policy issue if the skill effectively forces one locale without user opt-in.

Static analysis

No suspicious patterns detected.