T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Unpinned Global npm Dependency Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent MediaKit CLI guide, but it uses sensitive API credentials and recommends a broad global install pattern that users should review first.
Review before installing. Prefer a pinned, reviewed mediakit-cli version, avoid elevated/global installation where possible, do not pass real API keys on the command line, and confirm how ~/.mediakit/config.json is protected before using cloud mode with private media.
SKILL.md:29Unpinned Global npm Dependency Installation
SKILL.md:79API Key Exposure Through Command-Line Arguments and Configuration Storage
Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
- Environment variables / config file: `MEDIAKIT_API_KEY`, `MEDIAKIT_ENDPOINT`, `MEDIAKIT_SURFACE`, `MEDIAKIT_RUNTIME`
| Variable | Required | Description |
| ------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `MEDIAKIT_API_KEY` | Required (cloud mode) | API authentication token |
| `MEDIAKIT_ENDPOINT` | Optional | API endpoint |
Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
| Variable | Required | Description |
| ------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `MEDIAKIT_API_KEY` | Required (cloud mode) | API authentication token |
| `MEDIAKIT_ENDPOINT` | Optional | API endpoint |
| `MEDIAKIT_SURFACE` | Optional | Request-source Header `x-surface`. Defaults to `cli`. Skill should set `skill`, Plugin should set `plugin`; CLI reports them as `cli/skill` or `cli/plugin`. |
| `MEDIAKIT_RUNTIME` | Optional | Request-source Header `x-runtime`. Set to host name such as `claude` / `arkclaw`; falls back to environment probing or `unknown` when not configured. |
Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
| Variable | Required | Description |
| ------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `MEDIAKIT_API_KEY` | Required (cloud mode) | API authentication token |
| `MEDIAKIT_ENDPOINT` | Optional | API endpoint |
| `MEDIAKIT_SURFACE` | Optional | Request-source Header `x-surface`. Defaults to `cli`. Skill should set `skill`, Plugin should set `plugin`; CLI reports them as `cli/skill` or `cli/plugin`. |
| `MEDIAKIT_RUNTIME` | Optional | Request-source Header `x-runtime`. Set to host name such as `claude` / `arkclaw`; falls back to environment probing or `unknown` when not configured. |