Skip to content

Releases

PraisonAI v4.8.7

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 02 Dec 06:53

Release v4.8.7

PraisonAI v4.8.6

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 01 Dec 22:05

Release v4.8.6

PraisonAI v4.8.5

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 01 Dec 19:55

Release v4.8.5

PraisonAI v4.8.4

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 30 Nov 08:17

Release v4.8.4

PraisonAI v4.8.3

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 28 Nov 14:20

Release v4.8.3

PraisonAI v4.8.2

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 25 Nov 23:06

Release v4.8.2

PraisonAI v4.8.1

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 24 Nov 14:14

Release v4.8.1

v4.8.0: Security hardening release

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 19 Nov 16:53

Security hardening release

This release makes PraisonAI safer by default. Servers stay on your own machine unless you give them a token. Tools that read files, fetch URLs or run code now stay inside clear limits. A project you clone can no longer change your trust settings.

Most users need to do nothing. If a change stops something you rely on, the Migration table names the setting that brings the old behaviour back.

Packages in this release

Package Version
praisonaiagents (PyPI) 1.8.0
praisonai (PyPI) 4.8.0
praisonai-code (PyPI) 0.2.0
praisonai-bot (PyPI) 0.2.0
praisonai-mcp (PyPI) 0.2.0
praisonai-sandbox (PyPI) 0.2.0
praisonai-browser (PyPI) 0.2.0
praisonai-deploy (PyPI) 0.2.0
praisonai-train (PyPI) 0.2.0
praisonai (npm) 1.8.0, follows shortly
PraisonAI Desktop 4.8.0

Upgrade with:

pip install -U praisonai          # installs every Python package above
npm install praisonai@latest      # TypeScript SDK (1.8.0, follows shortly)

Servers and binds

One rule now applies to every built-in server: it listens on 127.0.0.1 by default. A server that you open to the network needs a token.

  • Every network server binds 127.0.0.1 by default.
  • A non-loopback bind without a token refuses to start, with a message that names the setting to use. This covers AgentServer, the Jobs API, praisonai serve agents/a2a/unified/openai, rag serve, registry serve, recipe serve, AgentOS (Python and TypeScript, including serve({ host })), the call server, praisonai-browser remote mode, the TypeScript MCP server and the N8N listener.
  • praisonai call --public needs CALL_SERVER_TOKEN.
  • Webhook receivers without a signing secret stay on loopback. HTTPApproval on a public host needs allowed_approvers.
  • A2A.serve(), MCP over SSE and launch() still start on a public host, but print a generated token that every request must send.
  • A2A on loopback checks PRAISONAI_LAUNCH_AUTH_TOKEN when it is set. /info needs the token when one is set.
  • The dashboard and the replay viewer follow the same bind rule.
  • A Jobs API started with uvicorn ...:create_app --factory and no key answers only /health, unless PRAISONAI_JOBS_BIND_HOST=127.0.0.1 says it is local.
  • Keyless local servers refuse requests from other websites (a foreign or null Origin) and requests with a non-local Host. If you use a reverse proxy, keep Host: localhost or set a key.
  • Request bodies are capped: 10 MB on the MCP HTTP-stream server and 25 MB on the gateway. Larger bodies get 413.
  • Token checks use constant-time comparison.
  • The recipe server keeps bounded per-client rate-limit and metrics state.
  • On the MCP server, tools/search needs tools:read, and a method with no scope mapping needs admin.
  • The desktop engine answers only requests addressed to a local host name.

Gateway and bots

  • The local gateway refuses browser pages from other sites (HTTP and WebSocket) unless the origin is listed in GATEWAY_ALLOWED_ORIGINS.
  • With a scope policy, /v1/* and /mcp need the write scope, and /api/pairing/pending needs pairing.
  • With a scope policy, a session resumes only for the token that created it.
  • At most 1000 HTTP API sessions stay live. The oldest idle one is closed and can be resumed from the store.
  • On a gateway with a token, unauthenticated /health shows only the status.
  • People who cannot message a bot cannot press its buttons or run its slash commands.
  • With admin_users set, /undo, /blueprint and /automations are admin-only.
  • An email or AgentMail bot with no allowed_users and the default unknown_user_policy (deny) no longer answers unknown senders.
  • In a shared Slack channel, an unthreaded "yes" no longer counts as an approval when the bot cannot read thread replies. The request times out and is denied.
  • Bot daemon install refuses a config path that contains ", % or a control character.
  • session_search returns only sessions of the current user, then of the current agent.

Outbound fetching

Tools that fetch a URL now use one shared check. It refuses private, loopback and cloud-metadata addresses, and pins the address it checked.

  • URL readers, fetch tools, document loaders, image .save(), the praisonai-code image command, MCP OAuth and OIDC metadata, remote instruction sources and bot inbound media refuse private and loopback addresses. Set ALLOW_LOCAL_CRAWL=true to fetch local services in development.
  • Webhooks to 100.64.0.0/10 are refused.
  • Bot media URLs written in IPv4-in-IPv6 form are refused.
  • MCP OAuth follows a metadata redirect through a plain-HTTP hop when the final document is HTTPS. (It used to refuse.)
  • crawl4ai crawls (optional [crawl] extra) stop browser requests to blocked addresses, and return an error instead of content when the final URL is blocked. Known limit: a browser redirect can still send one request to a blocked address before it is stopped; no response content is returned. If this matters, add network-level egress rules.
  • JIRA tools that use JIRA_API_TOKEN from the environment need JIRA_URL, and send the token only to that origin.
  • OpenAPIToolset(spec_url=..., auth=...) raises when the fetched spec names a server on another origin. Pass base_url= to choose the server.
  • Jobs webhooks open one connection per notification.

File paths

File tools now stay inside the folder you work in, unless you give them another root.

  • FastContext search tools, MCP file tools, the wrapper list_files, and the screenshot, crawl and dataset helpers stay inside the current directory unless given a root.
  • The grep_search, glob_files and glob_directories tools default to the current directory. PRAISONAI_WORKSPACE sets another root.
  • multiedit(workspace_root=...) may only narrow the current directory, not widen it.
  • Recipe registry names and versions, and action-orchestrator file steps, resolve only inside their own folder.
  • FileTools.list_files skips matches reached through a symlink that leaves the folder.
  • A project rule file's @~/ import reads only Markdown files in your home folder. User-level rule files are unchanged.
  • Memory checkpoints skip, and restores refuse, paths outside the current directory.
  • Recipe trace_name values with /, \ or .. are refused. The run still completes, without history.
  • Recipe bundles that contain links fail to install on a Python without the tarfile data filter.
  • Bot send_message attachments must be inside the agent workspace, the current directory or allow_roots.
  • Bot custom commands read @file only under the bot's current directory.
  • The CLI SandboxExecutor (BASIC and STRICT) refuses ../, ~ and quoted paths into blocked folders, and paths outside allowed_paths. Absolute paths inside its run directory are allowed.

Project-file trust

A project file is a file in the folder you run in, such as .praisonai/config.yaml, praisonai.yaml, or command and agent front matter. It may tune behaviour. It can no longer grant a capability. Those settings now count only from your user config (~/.praisonai), the environment or code.

  • MCP servers named in a project file start only if their command line is listed under mcp.trusted_servers in ~/.praisonai/config.yaml.
  • An MCP url that is not a URL never starts a process.
  • A project file can no longer set the model endpoint or API key, open the project-plugin gate, turn on !cmd`` shell expansion, add allow permission rules, or send `${VAR}` values to an untrusted remote MCP server. Each ignored key logs a warning that names the user setting to use instead.
  • PRAISONAI_ALLOW_LOCAL_TOOLS alone no longer loads an included recipe's tools.py from outside the current directory. That needs PRAISONAI_ALLOW_TEMPLATE_TOOLS=true.
  • create_tool_registry_with_overrides(tools_sources=...) needs PRAISONAI_ALLOW_TEMPLATE_TOOLS=true.
  • CLI "always allow" and "always deny" choices now live in $PRAISONAI_HOME/permissions/projects/<id>. Old copies inside a project are ignored with a warning.

Approvals

  • Tools that send or act for you need approval by default: send_email and the other mail-sending tools, send_message, ask_conversation, mail drafts, archive and create_inbox, schedule_* changes, and execute_code_with_tools. In a terminal you are asked. With no way to ask, the call is denied. Bots with auto_approve_tools are unchanged.
  • A tool with the same name as one of these is gated the same way.
  • "This session" and "always" grants for tools other than shell and file tools cover the same arguments only.
  • A skill's allowed-tools pre-approves only low-risk tools.
  • PolicyEngine(default_action="deny") denies resources that no rule matches. YAML match: rules match only their own resource.
  • MCP allowed_tools and disabled_tools also block at call time, not only in the tool list.
  • MCP tool output is marked as external content for the model.
  • Recipes whose list-form or roles: agents use a tool that is denied by default need it in tools.allow.
  • A deep-copied Agent asks for its own session approval.
  • execute_code always runs in the sandbox. The model no longer sees a sandbox_mode option.

Sandboxes and child environment

  • SubprocessSandbox raises UnenforceablePolicyError when asked for allow_network=False or allow_file_write=False (including SecurityPolicy.strict()), because it cannot enforce them. SandboxConfig.subprocess() now defaults to allow_network=True. Use the Docker or Sandlock backend to block network or writes.
  • With allow_subprocess=False (the default): execute(language="bash") is refused; Python that imports multiprocessing or calls os.fork, os.exec* or os.spawn* is refused; a computed importlib.import_module(name) is refused when imports are restricted.
  • Sandbox command...
Read more

PraisonAI v4.7.26

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 18 Nov 04:44

Release v4.7.26

PraisonAI v4.7.25

Choose a tag to compare

@praisonai-triage-agent praisonai-triage-agent released this 14 Nov 11:34

Release v4.7.25