Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

eugeniughelbur/obsidian-second-brain
main @ b8c52f8
8
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Path Traversal: 3 prior fixes. Scrutinize any change in this area.
integrations/obsidian-mcp-server/vault_ops.py: most-fixed (2 issues). Treat as high-risk during review.
8 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: Two distinct path traversal fixes in the same component show a history of insufficient containment checks when resolving vault-relative paths, risking arbitrary file read/write.
Path Traversal: File write using wikilink-derived paths without containment led to traversal; fix added a containment check but the pattern may recur in other link-processing scripts.
Insecure File Permissions: Credential file (.env) was written with default permissions, exposing API keys; fixed with umask and chmod, but any new setup path must enforce 0600.