Back to skill

Security audit

Wiki Js V3

Security checks for vulnerabilities and agentic risk

Overview

This is a Wiki.js administration CLI that openly uses a Wiki.js API token to manage wiki pages and assets, including destructive actions.

Install only if you want an agent or CLI to administer your Wiki.js instance. Use a dedicated least-privilege API token, verify WIKIJS_URL before running commands, and manually review delete, asset-delete, tags delete, upload, move, restore, and upsert operations before execution.

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

Medium
Confidence
92% confidence
Finding
The CLI performs destructive delete operations immediately once invoked, with no confirmation prompt, dry-run mode, or `--force` acknowledgement. In an agent or automation context, argument confusion, prompt injection, or mistaken tool use could lead to irreversible deletion of wiki pages or assets with valid credentials.

Static analysis

Detected: suspicious.env_credential_access

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
bin/wiki.js:46