T09 · Insecure Skill Coding Practices
- Location
bin/wiki.js:43- Finding
Bearer Token and Wiki Content May Be Transmitted over Plaintext HTTP
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This appears to be a real Wiki.js administration tool, but it can delete or change wiki content immediately and has under-scoped transport and dependency risks.
Install only if you are comfortable giving this skill a Wiki.js API token that can modify your wiki. Use a least-privilege API key, configure an HTTPS WIKIJS_URL for any non-local server, avoid using broad production admin tokens, and treat delete, restore, move, tag delete, and asset-delete commands as high-risk because the CLI does not ask for confirmation.
bin/wiki.js:43Bearer Token and Wiki Content May Be Transmitted over Plaintext HTTP
SKILL.md:10Unpinned and Unused npm Dependencies Expand the Supply-Chain Attack Surface
Referenced artifact was not completely inspected
bin/wiki.js
The skill advertises network access and use of sensitive environment variables like WIKIJS_TOKEN but does not declare any explicit tool scope or permission boundaries. In an agent setting, this weakens reviewability and can allow broader-than-expected outbound requests or secret use, increasing the chance of unintended data access or exfiltration.
The environment configuration states that the default locale is de, which imposes a specific language/locale choice unless the user overrides it. The policy requires language or locale selection to be user-chosen or clearly justified, and no opt-in or justification is provided here.
The skill documents destructive operations such as page deletion, move, copy, and version restore without clearly warning that these actions can permanently alter or remove content. In an agent-driven workflow, missing friction or safety language increases the risk of accidental destructive execution against a production wiki.
Asset deletion is presented as a normal operation without a clear warning that files may be permanently removed and references may break across pages. In a documentation administration skill, an agent could delete shared media unintentionally, causing content loss and site breakage.
The code sets DEFAULT_LOCALE to de when no locale is provided, which forces a specific language/locale choice by default. The file does not justify this as a region-specific tool, so this is a natural-language locale policy issue under the stated rules.
The CLI directly performs page deletion when the delete command is invoked, but there is no confirmation prompt or explicit warning at the point of execution. Although the help text names the command, it does not warn about the irreversible impact of deleting wiki content, so users may trigger a destructive action without adequate disclosure.
The asset-delete command invokes asset removal immediately with no user confirmation and no user-facing warning about deleting stored files. This is a destructive operation affecting user data and lacks the disclosure expected for safety-critical actions.
The documentation states 'Node.js built-in modules only' and says form-data is merely installed on-demand, but the manifest explicitly declares external npm dependencies including graphql-request, form-data, and node-fetch. This is an active contradiction in the skill's documentation about how the code/package actually operates.
Detected: suspicious.env_credential_access