Skip to content

Security

Tynex is a local coding agent, not a sandbox. Read the full policy in SECURITY.md.

What the permissions do

  • plan is read-only: reads and web access are allowed; file changes, shell commands, and MCP calls are denied.
  • ask asks in the TUI and denies in headless modes, with a message explaining how to allow the call.
  • accept-edits allows file changes and asks for shell/MCP.
  • bypass allows everything. Use it only in a disposable, trusted environment.

Rules in permissions.toml refine the mode; the last matching rule wins.

The modes govern tool calls. Project settings, permissions.toml, extensions/*.py, prompts, skills, and context files load at startup when project discovery is on. Extensions are Python code and run before the permission gate. Use --no-project for untrusted repositories, or run Tynex in a container. It also disables built-in skill and prompt discovery.

Workspace guard

read, write, edit, grep, find, and ls stay inside the directory where Tynex was started. Paths that resolve outside the workspace, including via .., absolute paths, or symlinks, are rejected. This protects against mistakes and prompt injection; it is not an operating-system boundary.

The shell is not sandboxed. It can do anything your user account can do.

Running untrusted code

Use a disposable container or VM, mount only the repository, use a read-only checkout where possible, add explicit permission rules, set a budget, and avoid passing long-lived secrets. The included Dockerfile is a starting point.

Supply chain

Releases are published from GitHub Actions with PyPI Trusted Publishing and PEP 740 provenance. Check the provenance panel on the PyPI release page. Do not paste API keys into prompts, issues, or committed settings.