Security fixes target the current release line: 3.1.x. Older 2.x releases are historical and are not maintained.
Use GitHub private vulnerability reporting for https://github.com/PeaBox-Lab/Portable-Notes when enabled. Do not publish an unpatched vulnerability. Include the affected version, reproduction steps, and (if applicable) a proof of concept that stays on the reporter’s own machine.
PeaNote is designed for a single user on one machine:
127.0.0.1 and is never exposed to the network by default.static/ are served. Repository source, data/config.json, data/onboarding.json, data/index.db, parent directories, and directory listings return 404.Origin/Referer headers and require Content-Type: application/json. This blocks drive-by writes from unrelated web pages..portable-notes/ history and trash are never indexed, exported, or link-rewritten.data/onboarding.json records only banner dismissal, shortcut overlay visibility, and first-note time. It is never sent off the machine and its POST endpoint ignores unknown fields.javascript: / data: / vbscript: link targets are neutralised.There is no authentication because the app assumes a trusted local machine. Any local process or browser page on the same origin can call the API. Do not change the bind address to 0.0.0.0 or expose the port through a tunnel without adding authentication, CSRF protection, TLS, and a separate deployment review. Do not open untrusted HTML or executable attachments from the vault.
For the full audit and the fixes applied in 3.1.0, see AUDIT_REPORT.md.