Flock holds an n8n API key and can create drafts, change tags and switch workflows on or off, so security reports are taken seriously.
Please don't open a public issue. Use GitHub's private security advisory form. You should get a reply within a week.
- It listens on
127.0.0.1by default. If you expose it, put it behind an identity-aware proxy. Flock supports Cloudflare Access directly: with anaccessblock in the config, every API request must carry a valid Access token, and admins are a list of emails. - Without an
accessblock, every visitor is treated as the admin. Don't expose an instance like that. - Secrets are only ever
env:NAMEorop://references. A literal key in the config stops Flock from starting. - Writes to n8n go through a fixed allowlist (
web/lib/n8n-client.js). Flock can't publish, archive or delete workflows, or read credential values. - Shepherd's model output is treated as untrusted input. Every draft is
re-validated by
web/lib/shepherd.jsandweb/lib/draft-guard.jsbefore it can be created, and it's always created unpublished.