Skip to content

Security: pwngh/flow

SECURITY.md

Security

Reporting a problem

Use GitHub's private vulnerability reporting: https://github.com/pwngh/flow/security/advisories/new. Please do not put the details in a public issue.

Include the commit you tested, what you did, and what happened. A small .flow file, IR file or trace that shows the problem helps most.

What Flow treats as untrusted

  • .flow source and IR files. flowc and the IR loader in flowd are written to reject malformed input, and CI fuzzes both.
  • Arguments from an MCP client, or any caller of resume. The MCP server in the Python binding checks every execution id against the runtime's own format before it is used to build a path. A suspension token is an id, not a path: the runtime checks its shape, looks it up under its own trace directory, and never opens a path a caller supplies. A token resumes once.

What Flow trusts

  • The host and its tools. A tool is your code, and it runs with your process's permissions. Flow records what a tool returns. It does not sandbox it.
  • The trace directory. Anyone who can write there can change a record. Traces also hold the inputs and outputs of every step, so treat them like the data they contain. A redactor can keep secrets out of them: secret_redactor in Python, secretRedactor in TypeScript.

Supported versions

Flow is pre-1.0. Fixes land on main.

There aren't any published security advisories