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

# llm-wiki-loop@1.3.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 as agent extension risk** — Allowed by default with warning: install-time first-party agent extension setup was detected.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only agent extension risk
- **Public report status:** Published
- **Threat category:** Agent extension lifecycle risk
- **Selected version:** 1.3.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.

Automatic deployment and replacement of an agent extension creates a concrete lifecycle risk. The writes are restricted to the package-owned wiki-manager skill, supporting a warning rather than a malicious verdict.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 96.0%
- **Started:** 2026-09-30T21:43:25.193Z
- **Finished:** 2026-09-30T21:44:34.603Z
- **Download time:** 774 ms
- **Static scan time:** 95 ms
- **AI review time:** 68540 ms
- **Total time:** 69410 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:** Installation automatically deploys the package-owned wiki-manager extension into detected agent runtimes. This establishes an agent extension lifecycle risk, but no confirmed malicious attack was identified.

- **Trigger:** npm postinstall; explicit CLI install or init commands also deploy the extension.

- **Impact:** Installation or later package updates can replace wiki-manager instructions loaded by an agent runtime. The inspected behavior remains confined to the package-owned extension.

- **Evidence paths:** package.json, scripts/install.js, bin/cli.js

- **Review source:** ai\_review

- **Reviewed:** 2026-09-30T21:44:34.603Z

### AI review details

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

- **Mechanism:** The installer detects runtime directories and recursively copies bundled skill files with overwrite enabled, without requesting consent.

- **Rationale:** Automatic deployment and replacement of an agent extension creates a concrete lifecycle risk. The writes are restricted to the package-owned wiki-manager skill, supporting a warning rather than a malicious verdict.

- **Files touched:** .claude, .config/opencode, .agents, .cursor, .gemini, .commandcode, .windsurf, wiki-manager

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 96.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** package.json automatically runs scripts/install.js after installation., scripts/install.js recursively copies the bundled wiki-manager extension and overwrites existing files in its destination., The installer targets detected global or project agent skill directories without a consent prompt., bin/cli.js also exposes skill installation and vault initialization through explicit user commands.

- **Evidence against:** Installer writes are confined to the package-owned wiki-manager extension rather than broad agent configuration., No credential export, remote payload execution, obfuscation, or runtime self-dependency was identified in the inspected entrypoints.

## Affected versions and remediation

This report applies to llm-wiki-loop@1.3.1.

- Review the evidence and your use of llm-wiki-loop@1.3.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: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/llm-wiki-loop@1.3.1/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/install.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/llm-wiki-loop@1.3.1/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/install.js
```

### 3. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** bin/cli.js
- **Public source:** [View source](<https://unpkg.com/llm-wiki-loop@1.3.1/bin/cli.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L7: 
L8: const fs = require('fs');
L9: const os = require('os');
```

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 7. Critical: Ai Agent Control Hijack
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** scripts/install.js
- **Public source:** [View source](<https://unpkg.com/llm-wiki-loop@1.3.1/scripts/install.js>)

Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.

Public source snippet (untrusted):

```javascript
L5: // Global install (npm i -g): copies into the home skill dirs of detected
L6: // runtimes (Claude Code ~/.claude/skills, opencode ~/.config/opencode/skills,
L7: // Codex CLI ~/.agents/skills).
L8: //
L9: // Project install (npm i in a project): copies into the project's runtime
L10: // skill dirs (.claude/skills, .opencode/skills, .agents/skills,
L11: // .cursor/skills) whose base directory already exists, or falls back to
L12: // .agents/skills (Open Agent standard).
L13: 
...
L21: const GLOBAL_RUNTIMES = [
L22: { marker: path.join(HOME, ".claude"), dir: path.join(HOME, ".claude", "skills") },
L23: { marker: path.join(HOME, ".config", "opencode"), dir: path.join(HOME, ".config", "opencode", "skills") },
```

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

Package source contains high-entropy string patterns.

### 9. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 10. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** skills/wiki-manager/scripts/check\_evidence.py
- **Public source:** [View source](<https://unpkg.com/llm-wiki-loop@1.3.1/skills/wiki-manager/scripts/check_evidence.py>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```python
path = skills/wiki-manager/scripts/check_evidence.py
kind = build_helper
sizeBytes = 24648
magicHex = [redacted]
```

### 11. 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.

### 12. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/install.js
- **Public source:** [View source](<https://unpkg.com/llm-wiki-loop@1.3.1/scripts/install.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = llm-wiki-loop@1.3.0
matchedPath = scripts/install.js
matchedIdentity = npm:bGxtLXdpa2ktbG9vcA:1.3.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 13. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/scan-skill-candidates.js
- **Public source:** [View source](<https://unpkg.com/llm-wiki-loop@1.3.1/scripts/scan-skill-candidates.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = llm-wiki-loop@1.3.0
matchedPath = scripts/scan-sk[redacted]
matchedIdentity = npm:bGxtLXdpa2ktbG9vcA:1.3.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** llm-wiki-loop
- **Ecosystem:** npm
- **Version:** 1.3.1
- **License:** MIT
- **Version published:** 2026-08-21T01:02:01.393Z
- **Package first seen:** 2026-08-14T14:15:57.794Z
- **Package last seen:** 2026-09-30T21:44:34.603Z
- **Known versions:** 9
- **Latest version:** 1.3.2
- **Appeal under review:** No
- **Description:** The production framework for self-improving & self-organizing LLM knowledge vaults — grounding invariants, code drift detection, auto-skillification, and 1-click multi-agent setup.
- **Maintainers:** naegeon
- **Keywords:** llm-wiki, karpathy, agent-skills, knowledge-vault, second-brain, self-improving, claude-code, codex, opencode, obsidian, skills
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 18
- **Artifact unpacked size:** 148,995 bytes
- **Artifact signatures:** 1
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

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