T08 · Insecure Dependencies
- Location
SKILL.md:32- Finding
Unpinned Runtime Dependency Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed Mintsoft API wrapper, but users should treat its credentials and cached API key as sensitive business secrets.
Install this only if you intend to give an agent access to Mintsoft warehouse and order data. Prefer MINTSOFT_API_KEY over username/password login, keep any token cache in a private user directory, and install httpx in a pinned or isolated Python environment when possible.
SKILL.md:32Unpinned Runtime Dependency Installation
scripts/mintsoft_api.py:88Cached API Key Is Written Before Restrictive Permissions Are Applied
The skill explicitly requires environment access, shell execution, file writes, and network access, but it does not declare any tool scope restrictions such as allowed-tools or permissions. That creates an overbroad execution surface where an agent may use more capabilities than minimally necessary, including handling secrets and writing token caches, which increases the risk of unintended data exposure or misuse.
The skill’s stated purpose is a single API-key wrapper, but it also supports username/password authentication and locally caches the returned API key. This expands the credential-handling surface beyond the declared scope, increasing the risk of accidental secret exposure, misuse by agents, and persistence of reusable credentials on disk.
Reading Mintsoft username/password from environment variables and converting them into a cached API key on disk introduces unnecessary credential collection and persistence for a tool described as an API-key wrapper. In an agent context, this makes the tool more dangerous because agents may be granted broader access to secrets and filesystem state than users expect.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
API_BASE = "https://api.mintsoft.co.uk/api"
TIMEOUT = 30
MAX_RETRIES = 3
PAGE_SIZE = 100
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
API_BASE = "https://api.mintsoft.co.uk/api"
TIMEOUT = 30
MAX_RETRIES = 3
PAGE_SIZE = 100
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
API_BASE = "https://api.mintsoft.co.uk/api"
TIMEOUT = 30
MAX_RETRIES = 3
PAGE_SIZE = 100
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
API_BASE = "https://api.mintsoft.co.uk/api"
TIMEOUT = 30
MAX_RETRIES = 3
PAGE_SIZE = 100
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
API_BASE = "https://api.mintsoft.co.uk/api"
TIMEOUT = 30
MAX_RETRIES = 3
PAGE_SIZE = 100
This code file performs a network authentication request using user credentials in cmd_auth, but the command itself does not include a confirmation prompt or explicit warning that the supplied username and password will be sent to a remote service. Although the module docstring documents the auth flow, there is no immediate user-facing disclosure at the point of execution for this sensitive network operation.