Security
How writes are gated, what the token protects, and how to report a security problem privately.
Threat model
This is what the bridge guards by design.
- The MCP server binds
127.0.0.1and nothing else. It never listens on a public interface. - Write tools are guarded. Each one requires a configured token, returns a plan until you pass
apply=true, and touches only your local EDT model.edt_rename,edt_delete_objectandedt_delete_methodneed an explicitforceon top of that.edt_evaluateruns arbitrary BSL against a live infobase, so it needs a per-call opt-in and a server-side switch that is off by default. - The shared-secret token is optional, and it is the only thing that separates you from every
other process on the machine. Set
EDT_BRIDGE_TOKENor-Dedt.bridge.token=, then sendAuthorization: Bearer <token>orX-Edt-Bridge-Token: <token>. Any local process can reach the port, so on a shared machine the token is optional on paper only. - The port comes from
EDT_BRIDGE_PORTor-Dedt.bridge.port=, 8770 by default, and a busy one makes the server take the next free port. The rest is in Environment variables.
Supported versions
EDT-Bridge has not reached 1.0 yet, and fixes ship on the latest release line only. Reproduce the problem on the most recent release before you report it.
| Version | Supported |
|---|---|
latest 0.x |
yes |
| older | no |
Reporting a vulnerability
Do not open a public issue for a security problem. Report it privately through GitHub: on the repository’s Security tab choose Report a vulnerability, or open https://github.com/keyfire/edt-bridge/security/advisories/new.
Include the EDT-Bridge version, your 1C:EDT version and OS, and the steps to reproduce. You will get an acknowledgement, and the fix ships on the latest release line. Thank you for telling us privately first.