StackMemory is a local-first developer tool. Treat memory databases as sensitive because they may contain project decisions, customer context, private notes, or secrets accidentally pasted by a user.
This repository is in alpha/beta hardening. Security fixes target the current main branch first.
Open a private security advisory or contact the repository owner. Do not publish exploit details before maintainers have had time to respond.
- Keep StackMemory bound to localhost or a trusted private network.
- Set
STACKMEMORY_TOKENbefore exposing/api/*beyond your own machine. - Keep
STACKMEMORY_CORS_ORIGINSrestricted to trusted origins. - Do not commit
.env,stackmemory.db, exported memories, logs, or generated runtime artifacts. - Use
EMBEDDER_MODE=hashonly for tests/smoke demos; uselocal,ollama, oropenaifor real semantic quality.