llm-wiki

Warn

Audited by Socket on Sep 4, 2026

4 alerts found:

Securityx2Anomalyx2
SecurityMEDIUM
external/llm_wiki/src/lib/ingest.ts

No explicit malware indicators are present in the provided fragment (no shell execution, credential access, or direct network exfiltration shown). However, the code performs high-impact filesystem writes based on relative paths parsed directly from LLM-generated FILE blocks without visible allowlisting/sanitization/containment enforcement. If an attacker can influence the LLM output (e.g., via malicious source content or userGuidance), this can enable path traversal and arbitrary file overwrite outside the intended wiki directory. This should be treated as a security alert requiring strict path validation (normalization + allowlist to a fixed wiki subtree) before writeFile is called. Embedding behavior is a secondary unknown depending on the embedding module’s network and storage practices.

Confidence: 66%Severity: 72%
SecurityMEDIUM
external/llm_wiki/src-tauri/src/clip_server.rs

No clear evidence of intentional malware/backdoor in this fragment. However, the server accepts unauthenticated HTTP JSON and uses an attacker-influenced projectPath to construct filesystem directories and file paths, then writes markdown files to disk. Without path validation/sandboxing, this can enable arbitrary file write outside an intended project root. Permissive CORS ("Access-Control-Allow-Origin: *") further increases the likelihood of misuse from a browser context. Treat this as a security alert focused on path/file-write control and access control rather than malware/exfiltration.

Confidence: 72%Severity: 74%
AnomalyLOW
external/llm_wiki/src/components/review/review-view.tsx

No clear malware/backdoor behavior is visible. However, this module performs sensitive filesystem read/write/delete operations based on action strings that are only lightly validated. In particular, 'open:' and 'delete:' paths are derived directly from action content without explicit path traversal/allowlisting in this snippet. If the imported fs helpers do not enforce strict confinement to the project’s wiki directory, this could enable arbitrary file read/delete. Additionally, decoded 'save:' content is written to markdown with limited sanitization, which could contribute to XSS risk if markdown is later rendered unsafely elsewhere.

Confidence: 66%Severity: 62%
AnomalyLOW
external/llm_wiki/src/lib/extract-source-images.ts

No direct evidence of malicious behavior (e.g., malware/credential theft/network exfiltration) exists within this JS snippet. However, it forwards normalized but user-influenced filesystem paths to native/Tauri commands without strong allowlisting or traversal protections at the JS layer, and it embeds native-returned relPath values directly into Markdown link targets with only partial sanitization. Exploitability depends heavily on native command hardening and on how the generated Markdown is rendered/sanitized downstream.

Confidence: 62%Severity: 51%
Audit Metadata
Analyzed At
Sep 4, 2026, 08:41 AM
Package URL
pkg:socket/skills-sh/jasperpwang%2Flab-codex-skills%2Fllm-wiki%2F@8c3302e5cf3c4ec63ae803d1d63d8a954a9b1aac339f3348a5e9fab0a64c67a9