The post has been translated automatically. Original language: Russian
On November 25 and 26, versions 1.61.0 and 1.61.1 of goose were released, an open AI agent for developers that works in a terminal and as a desktop application. There are almost five dozen changes in version 1.61.0, and a significant part of them concerns security.: how the agent keeps secrets of MCP servers, how it downloads other people's sessions, and where it gets environment variables from. Version 1.61.1, released the next day, closes two more problems of the same kind.
MCP server secrets are no longer written to the session database
When goose uses the ACP (Agent Client Protocol) protocol, the client sends it a list of MCP servers along with HTTP headers, and the headers usually contain tokens and API keys. The client resends this list when the session is uploaded and forked. Now goose keeps the values of all such headers only in memory, and writes stubs to the session database. If the client sent the same values, the connection is reused; if the value has changed, the extension is restarted with a new header.
An important detail from the description of the change: previously, an option was discussed where the secrecy of the header should have been included with a separate label, but it was abandoned — all headers along the way are considered secret. The edit applies only to mcpServers that arrived via ACP. It does not change goose's own extension configurations or already saved session recordings.
Importing sessions without automatically launching tools
The main fix in version 1.61.1: when importing a session, goose discards the saved state of tool approval. Previously, downloading someone else's session could lead to the tools being executed without a new user confirmation. In addition, repeat parameters and recipe values, container IDs and provider session IDs are now discarded during import, and the recipe template is no longer redrawn when loading and branching the session.
The second fix is 1.61.1 — dotenv file downloads have been removed from the desktop application so that environment variables are not inadvertently picked up.
Stricter proxy for MCP applications
The proxy, which displays the interfaces of MCP applications, now checks the guest page address: let's assume only http at a local address with a fixed path and a one-time identifier in the form of a UUID, and the guest page with the same source as the host is rejected. Messages from the host to the guest are sent only to a verified source, not to any one. The author of the edit clarifies that it closes static analysis warnings and no exploitable vulnerability was found. Vulnerable yaml, js-yaml, brace-expansion, and picomatch dependencies have been updated in the interface.
What else is in the release
- importing the configuration of MCP servers from the server format.json;
- Gemini 4 Neon model in the catalog and transfer of reasoning levels to Gemini 4 and newer models;
- new declarative llmman providers (compatible with Ollama) and amazee.ai;
- terminal control sequences are cut out of the model's responses;
- editing a file that doesn't change anything now returns an error.
What does this mean in practice?
If you connect goose to the ACP editor and transfer the MCP server tokens in the headers, they will stop settling in the session database after the update. But the edit doesn't touch the old records: it's worth checking if there are any tokens from previous sessions, and if necessary, reissue the keys.
Sessions received from colleagues or from other repositories are imported after 1.61.1 without saved permissions — the tools will ask for confirmation again. Automations that were counting on postponing approvals along with the session will have to be adjusted.
For those who use the desktop version, it is worth considering the abandonment of dotenv: if the provider keys were previously pulled up from a file in the project directory, after updating they must be set explicitly in the settings or in the environment. It is better to upgrade immediately to 1.61.1, rather than to 1.61.0.
The draft text was prepared with the participation of AI, the facts were checked against the original source — the official release notes of versions 1.61.0 and 1.61.1 of the goose project on GitHub and descriptions of related pull requests
25 и 26 ноября вышли версии 1.61.0 и 1.61.1 goose — открытого ИИ-агента для разработчиков, который работает в терминале и как десктоп-приложение. В версии 1.61.0 почти пять десятков изменений, а заметная их часть касается безопасности: как агент хранит секреты MCP-серверов, как загружает чужие сессии и откуда берёт переменные окружения. Версия 1.61.1, вышедшая на следующий день, закрывает ещё две проблемы того же рода.
Секреты MCP-серверов больше не пишутся в базу сессий
Когда goose работает по протоколу ACP (Agent Client Protocol), клиент передаёт ему список MCP-серверов вместе с HTTP-заголовками, а в заголовках обычно лежат токены и ключи API. Клиент заново присылает этот список при загрузке и ответвлении сессии. Теперь goose держит значения всех таких заголовков только в памяти, а в базу сессий записывает заглушки. Если клиент прислал те же значения, соединение переиспользуется; если значение изменилось, расширение перезапускается с новым заголовком.
Важная деталь из описания изменения: ранее обсуждался вариант, где секретность заголовка надо было включать отдельной меткой, но от него отказались — секретными считаются все заголовки на этом пути. Правка касается только mcpServers, пришедших по ACP. Собственные конфигурации расширений goose и уже сохранённые записи сессий она не меняет.
Импорт сессий без автоматического запуска инструментов
Главное исправление версии 1.61.1: при импорте сессии goose отбрасывает сохранённое в ней состояние одобрения инструментов. Раньше загрузка чужой сессии могла привести к тому, что инструменты выполнялись без нового подтверждения пользователя. Кроме того, при импорте теперь отбрасываются параметры повторов и значения рецептов, идентификаторы контейнера и сессии провайдера, а шаблон рецепта больше не перерисовывается при загрузке и ответвлении сессии.
Второе исправление 1.61.1 — из десктоп-приложения убрана загрузка файлов dotenv, чтобы переменные окружения не подхватывались непреднамеренно.
Строже прокси для MCP-приложений
Прокси, в котором отображаются интерфейсы MCP-приложений, теперь проверяет адрес гостевой страницы: допустим только http на локальном адресе с фиксированным путём и одноразовым идентификатором в виде UUID, а гостевая страница с тем же источником, что и хост, отклоняется. Сообщения от хоста к гостю отправляются только на проверенный источник, а не на любой. Автор правки уточняет, что она закрывает предупреждения статического анализа и эксплуатируемой уязвимости найдено не было. В интерфейсе обновлены уязвимые зависимости yaml, js-yaml, brace-expansion и picomatch.
Что ещё в релизе
- импорт конфигурации MCP-серверов из формата server.json;
- модель Gemini 4 Neon в каталоге и передача уровней рассуждения моделям Gemini 4 и новее;
- новые декларативные провайдеры llmman (совместим с Ollama) и amazee.ai;
- из ответов модели вырезаются управляющие последовательности терминала;
- правка файла, которая ничего не меняет, теперь возвращает ошибку.
Что это значит на практике
Если вы подключаете goose к редактору по ACP и передаёте токены MCP-серверов в заголовках, после обновления они перестанут оседать в базе сессий. Но старые записи правка не трогает: стоит проверить, нет ли там токенов из прошлых сессий, и при необходимости перевыпустить ключи.
Сессии, полученные от коллег или из чужих репозиториев, после 1.61.1 импортируются без сохранённых разрешений — инструменты снова будут спрашивать подтверждение. Автоматизации, которые рассчитывали на перенос одобрений вместе с сессией, придётся донастроить.
Тем, кто пользуется десктоп-версией, стоит учесть отказ от dotenv: если ключи провайдеров раньше подтягивались из файла в каталоге проекта, после обновления их нужно задать явно в настройках или в окружении. Обновляться лучше сразу до 1.61.1, а не до 1.61.0.
Черновик текста подготовлен с участием ИИ, факты сверены с первоисточником — официальные release notes версий 1.61.0 и 1.61.1 проекта goose на GitHub и описания связанных pull request
Comments 1
Newest Popular