Back to skill

Security audit

go-mistral

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Go library helper for using Mistral AI and its sensitive behavior is disclosed and purpose-aligned.

Before installing, confirm you trust the external Go module and understand that requests, prompts, and files sent through the client go to Mistral AI. Keep `MISTRAL_API_KEY` in an environment variable or secret manager, do not commit or log it, and only run cost-incurring or delete operations when intentionally requested.

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

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file instructs users to add a bearer API key to every request, but it does not include any warning about protecting the key or avoiding accidental exposure in code, logs, or version control. Because the file documents authentication behavior involving credentials, a brief user-facing warning would better address privacy and security expectations.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.