Back to skill

Security audit

Obsidian Dual-Layer Knowledge Base

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent Obsidian knowledge-base workflow, but it asks for persistent automatic indexing and context injection without enough privacy scoping or install integrity controls.

Install only if you are comfortable letting the agent summarize and reuse selected Obsidian knowledge across sessions. Before enabling the workflow, use a pinned or verified installer, limit the vault folders it can read, exclude confidential notes, and define how generated memory summaries can be reviewed, deleted, or disabled.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:252
Finding

Unpinned Package Execution Through npx

Content
View full analysis
Install: `npx clawhub@latest install obsidian-knowledge-base` ``` At lines 250–253: ```bash # Method 1: ClawHub npx clawhub@latest install obsidian-knowledge-base ``` ### Technical Analysis The documented installation process invokes `npx` with the mutable `latest` tag. This allows the package version retrieved and executed by the command to change after the skill has been reviewed. The project does not provide an exact audited version, lockfile, package checksum, signature-verification procedure, or other integrity control for this command. Because `npx` can download and execute npm package code, including applicable package lifecycle behavior, the command crosses a supply-chain trust boundary. A future compromised, malicious, or unexpectedly changed release selected by `latest` could execute code that was not present during this audit. The repository itself contains no malicious executable script, and exploitation therefore depends on compromise or malicious modification of the external package or its distribution channel. ### Attack Path 1. An attacker compromises the `clawhub` npm package, a maintainer account, or the relevant package publication channel. 2. The attacker publishes a malicious release and causes the mutable `latest` tag to resolve to it. 3. A user follows the installation command documented in `SKILL.md`. 4. `npx` downloads and executes the attacker-controlled package release. 5. The malicious package performs actions under the privileges of the user running the command. ### Impact Assessment Successful exploitation could allow arbitrary code execution with the installing user's privileges. Depending on that user's access, the malicious package could read or modify files, access environment variables and locally available cred ...[truncated 386 chars]
Remediation
View remediation
install obsidian-knowledge-base ``` 2. Specify the trusted registry or distribution source and verify that it is configured correctly before installation. 3. Publish and verify a cryptographic checksum or signed provenance record for the expected package artifact. 4. Use a lockfile or equivalent immutable dependency record where the installation workflow supports one. 5. Review the resolved package, transitive dependencies, and lifecycle scripts before recommending execution. 6. Prefer installing from a locally reviewed artifact with network access and unnecessary privileges restricted during installation. 7. Update both occurrences of the installation command in `SKILL.md` so the insecure form is not retained in either the metadata or installation section. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The skill instructs users to run npx clawhub@latest install ..., which pulls and executes the latest package version at install time without pinning a trusted release. If the upstream package is compromised or a malicious version is published, this becomes a supply-chain execution vector on the user's machine.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The directory structure and filename examples require Chinese terms such as 日志, Q-分类-摘要.md, and 概念-主题名.md, which imposes a specific language convention in natural-language instructions. The file does not indicate that this is optional, user-selectable, or justified as a region-specific skill, so it may violate language/locale policy guidance.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The skill promotes automatic startup injection of a daily 6KB knowledge-base summary into agent context without warning about privacy, sensitive data leakage, or over-sharing across tasks. If the wiki contains confidential material, this mechanism can unnecessarily expose internal knowledge to downstream prompts, tools, logs, or connected services.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
80% confidence
Finding

The skill defines a persistent workflow that continuously ingests articles, generates wiki cards, and injects summaries into future sessions, creating session-to-session retention of potentially sensitive material. Without retention limits, consent, and access controls, this can cause privacy issues, stale or unsafe memory reuse, and unauthorized decision influence.

Content

Scanner excerpt · SKILL.md (reported line 154)May include surrounding context.

md
- Standards and operational guidelines
- Cross-domain comparative analysis

**Rule of Thumb**: If a user can directly use it to write a report or make a decision, it's knowledge.

---

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

This repeats the same unpinned npx clawhub@latest executable installation pattern in the installation section. Repetition increases the likelihood that users will execute an unverified latest package, exposing them to dependency confusion or upstream package compromise.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · SKILL.md (reported line 147)May include surrounding context.

md
**Content ALLOWED in wiki**:

Any **structured knowledge** refined through analysis and processing, including but not limited to:
- Industry/domain knowledge (concepts, models, cases, data)
- Policy interpretation and applicable scenarios
- Core conclusions and methods from research reports

Static analysis

No suspicious patterns detected.