---
canonical: "https://firewall.lpm.dev/npm/@kybird/llm-wiki/v/0.2.1"
markdown: "https://firewall.lpm.dev/npm/@kybird/llm-wiki/v/0.2.1.md"
package: "@kybird/llm-wiki"
report_status: "published"
title: "@kybird/llm-wiki@0.2.1 npm security report"
verdict: "suspicious"
version: "0.2.1"
---

# @kybird/llm-wiki@0.2.1 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged — allowed with a warning** — Allowed by default policy, but 9 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Remote code execution
- **Selected version:** 0.2.1
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package is not shown to be intentionally malicious, but its user-invoked search feature has a concrete command-injection flaw. The explicit init-based agent-template setup is not an automatic lifecycle attack.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 93.0%
- **Started:** 2026-08-29T16:30:16.795Z
- **Finished:** 2026-08-29T16:31:15.282Z
- **Download time:** 756 ms
- **Static scan time:** 477 ms
- **AI review time:** 57253 ms
- **Total time:** 58487 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** A user-controlled search query is embedded in shell command strings. Supplying shell syntax to the search command can execute commands with the invoking user's privileges.

- **Trigger:** A user or an AI agent runs llm-wiki search with crafted query text.

- **Impact:** An attacker who controls a search query can run arbitrary local commands and access files available to the invoking user.

- **Evidence paths:** package.json, lib/wiki-search.js, lib/init.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-29T16:31:15.282Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Shell command injection through unescaped command interpolation.

- **Rationale:** The package is not shown to be intentionally malicious, but its user-invoked search feature has a concrete command-injection flaw. The explicit init-based agent-template setup is not an automatic lifecycle attack.

- **Files touched:** doc/wiki/\*\*/\*.md, doc/raw/\*\*/\*.md

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 93.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Critical Vulnerability

- **False-positive risk:** Low

- **Evidence for warning:** The search command interpolates user-provided keywords into a shell command without shell escaping, enabling command injection., The optional semantic-search path also interpolates the full query into a shell command., The package installs agent skills and hook templates only when the user explicitly runs the init command; there is no install lifecycle hook.

- **Evidence against:** package.json contains no preinstall, install, postinstall, or self-dependency., No credential harvesting, network exfiltration, obfuscation, or reviewer-directed text was found., The init command only copies package-owned templates into the current project and merely prints the command to enable hooks.

## Affected versions and remediation

This report applies to @kybird/llm-wiki@0.2.1.

- Review the evidence and your use of @kybird/llm-wiki@0.2.1 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** lib/wiki-search.js
- **Public source:** [View source](<https://unpkg.com/@kybird/llm-wiki@0.2.1/lib/wiki-search.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L16: //     사람용 출력 문자열에 깨지지 않게 하는 계약.
L17: const { execSync } = require('child_process');
L18: const path = require('path');
```

### 2. High: Shell
- **Category:** Source
- **Confidence:** 85.0%

Package source references shell execution.

### 3. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 4. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 5. High: Trigger Reachable External Ai Agent Control Surface Mutation
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** lib/init.js
- **Public source:** [View source](<https://unpkg.com/@kybird/llm-wiki@0.2.1/lib/init.js>)

Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.

Public source snippet (untrusted):

```javascript
Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
const fs = require('fs');
const os = require('os');
const path = require('path');
const { defaultcollectionnames, loadconfig } = require('./find-doc-root');

const pkg_root = path.resolve(__dirname, '..');

                                                                               
                                                           
                                               
const skill_targets = ['.agents/skills', '.claude/skills'];
```

### 6. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** lib/kanban-cmd.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@kybird/llm-wiki@0.2.1/lib/kanban-cmd.js%23virtual%3Anormalized%3Around1>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```text
L528: function escapeHtml(s) {
L529: return String(s).replace(/[&<>"']/g, ch => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"": "&quot;", \""": '&#39;' }[ch]));\n}\n\nfunction renderBoardHtml(view) {\n  const today = ...
L530: }
```

### 7. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 8. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** templates/scripts/sync\_skills.sh
- **Public source:** [View source](<https://unpkg.com/@kybird/llm-wiki@0.2.1/templates/scripts/sync_skills.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = templates/scripts/sync_skills.sh
kind = build_helper
sizeBytes = 1588
magicHex = [redacted]
```

### 9. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 1
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 1

### Published dependency entries
- @tobilu/qmd ^2.5.3 (OptionalDependency)

## Package metadata
- **Package:** @kybird/llm-wiki
- **Ecosystem:** npm
- **Version:** 0.2.1
- **License:** MIT
- **Version published:** 2026-08-29T15:41:14.515Z
- **Package first seen:** 2026-08-29T16:31:15.282Z
- **Package last seen:** 2026-11-21T07:23:40.503Z
- **Known versions:** 9
- **Latest version:** 0.12.0
- **Appeal under review:** No
- **Description:** LLM-friendly knowledge graph + kanban for AI coding agents. Raw daily logs → compiled wiki → merged semantic+grep search, and a card-per-file kanban the work-loop skill consumes unattended. Drop-in for any repo.
- **Author:** kybird
- **Maintainers:** kybird
- **Keywords:** wiki, kanban, llm, ai-agent, knowledge-graph, agentic-memory, claude-code, work-loop
- **Runtime engines:** node: \>=18
- **Artifact files:** 26
- **Artifact unpacked size:** 161,596 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@kybird/llm-wiki/v/0.2.1>)
- [Repository](<https://github.com/kybird/llm-wiki>)
- [Homepage](<https://github.com/kybird/llm-wiki#readme>)
- [Issues](<https://github.com/kybird/llm-wiki/issues>)
