Agent skill · Audited from source
Obsidian Security Basics
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 9 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Implement secure Obsidian plugin development practices. Covers credential
Cite
Cite this page
ModelsAtlas. “Obsidian Security Basics (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/obsidian-security-basics
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/obsidian-pack/skills/obsidian-security-basicsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Implement secure Obsidian plugin development practices. Covers credential
--- name: obsidian-security-basics description: 'Implement secure Obsidian plugin development practices. Covers credential storage, input validation, XSS prevention, network security, URI handler safety, and Electron security. Use when handling user data, storing API keys, making network requests, or preparing for community plugin submission. Trigger with phrases like "obsidian security", "secure obsidian plugin", "obsidian data protection", "obsidian privacy", "obsidian api key storage". ' allowed-tools: Read, Write, Edit, Grep version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - obsidian - security - authentication - privacy - electron compatibility: Designed for Claude Code --- # Obsidian Security Basics ## Overview Security practices for Obsidian plugin development. Plugins run with full vault filesystem access and can make arbitrary network requests inside Electron. Responsible development requires protecting credentials, sanitizing external data, validating URI handlers, minimizing permissions, and following Obsidian's plugin guidelines to avoid community submission rejection. ## Prerequisites - Obsidian plugin development environment - Understanding that `.obsidian/plugins/<id>/data.json` is synced by cloud services - Awareness of [Obsidian Plugin Guidelines](https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines) ## Instructions ### Step 1: Credential Storage — Never in data.json Plugin settings (`data.json`) live inside the vault and are synced by iCloud, Dropbox, Obsidian Sync, and Git. API keys stored here are effectively public. ```typescript // BAD: API key stored in plugin settings (synced to cloud, committed to Git) interface BadSettings { apiKey: string; // This ends up in .obsidian/plugins/my-plugin/data.json } // GOOD: Use Electron's safeStorage for desktop (encrypted at OS level) import { Platform } from 'obsidian'; export class SecureStorage { private plugin: Plugin; constructor(plugin: Plugin) { this.plugin = plugin; } async storeSecret(key: string, value: string): Promise<void> { if (Platform.isDesktopApp) { // Electron's safeStorage uses OS keychain (Keychain on macOS, DPAPI on Windows) const { safeStorage } = require('electron').remote || require('@electron/remote'); if (safeStorage.isEncryptionAvailable()) { const encrypted = safeStorage.encryptString(value); const data = await this.plugin.loadData() ?? {}; data[`_encrypted_${key}`] = encrypted.toString('base64'); await this.plugin.saveData(data); return; } } // Fallback for mobile or when encryption unavailable: prompt each session // Store only in memory — never persisted this.memoryStore.set(key, value); } async getSecret(key: string): Promise<string | null> { if (Platform.isDesktopApp) { const { safeStorage } = require('electron').remote || require('@electron/remote'); const data = await this.plugin.loadData(); const encrypted = data?.[`_encrypted_${key}`]; if (encrypted && safeStorage.isEncryptionAvailable()) { return safeStorage.decryptString(Buffer.from(encrypted, 'base64')); } } return this.memoryStore.get(key) ?? null; } private memoryStore = new Map<string, string>(); } // Alternative: prompt user each session (simplest, most secure) async onload() { if (!this.apiKey) { this.apiKey = await this.promptForApiKey(); } } ``` ### Step 2: Input Validation and XSS Prevention Data from HTTP responses, clipboard, or URI handlers must be sanitized before rendering. ```typescript // Sanitize HTML content before inserting into Obsidian views function sanitizeHtml(input: string): string { // Strip dangerous elements input = input.replace(/<script[^>]*>[\s\S]*?<\/script>/gi, ''); input = input.replace(/<iframe[^>]*>[\s\S]*?<\/iframe>/gi, ''); input = input.replace(/<object[^>]*>[\s\S]*?<\/object>/gi, ''); input = input.replace(/<embed[^>]*>/gi, ''); // Strip event handlers input = input.replace(/\bon\w+\s*=\s*"[^"]*"/gi, ''); input = input.replace(/\bon\w+\s*=\s*'[^']*'/gi, ''); // Strip javascript: URIs input = input.replace(/href\s*=\s*"javascript:[^"]*"/gi, 'href="#"'); return input; } // For plain text in DOM elements — escape instead of strip function escapeHtml(text: string): string { const div = document.createElement('div'); div.textContent = text; return div.innerHTML; } // Safe DOM creation (preferred in Obsidian) // Use createEl with text content — Obsidian escapes automatically container.createEl('p', { text: userInput }); // Safe — text is escaped container.createEl('p').innerHTML = userInput; // DANGEROUS — raw HTML injection // For markdown content from external sources function sanitizeMarkdown(md: string): string { // Remove HTML blocks that could contain scripts md = md.replace(/<script[\s\S]*?<\/script>/gi, ''); // Remove image onerror handlers md = md.replace(/onerror\s*=\s*["'][^"']*["']/gi, ''); // Limit length to prevent DoS if (md.length > 500_000) md = md.substring(0, 500_000); return md; } ``` ### Step 3: Secure URI Handler Registration Obsidian's `registerObsidianProtocolHandler` lets external apps trigger plugin actions via `obsidian://` URIs. Validate all parameters. ```typescript this.registerObsidianProtocolHandler('myplugin', async (params) => { // Whitelist allowed actions const ALLOWED_ACTIONS = ['open', 'create', 'search'] as const; type Action = typeof ALLOWED_ACTIONS[number]; const action = params.action as string; if (!ALLOWED_ACTIONS.includes(action as Action)) { new Notice(`Invalid action: ${action}`); return; } // Sanitize file paths — prevent directory traversal const path = params.path?.replace(/\.\./g, '').replace(/^\//, ''); if (!path) { new Notice('Missing path parameter'); return; } // Validate path is within vault const normalized = normalizePath(
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/obsidian-security-basics/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All security skills →jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/obsidian-security-basics/)
<a href="https://modelsatlas.com/skills/jeremylongshore/obsidian-security-basics/"><img src="https://modelsatlas.com/skills/jeremylongshore/obsidian-security-basics/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Obsidian Security Basics
What does the Obsidian Security Basics skill do?
Is Obsidian Security Basics safe to install?
What can Obsidian Security Basics access on my machine?
Which assistants does Obsidian Security Basics work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Obsidian Security Basics skill do?
- Is Obsidian Security Basics safe to install?
- What can Obsidian Security Basics access on my machine?