Products › lamco-dbus-tools › Docs
xdg-dbus-proxy's filter, as lamco-dbus-tools evaluates it
xdg-dbus-proxy's filter rule by rule: The --see, --talk, --own, --call and --broadcast options, what a sandboxed program is answered, and three fixed CVEs.
Describes version 0.4.1. The source of truth is src/sandbox/filter.rs, written from
xdg-dbus-proxy 0.1.9's flatpak-proxy.c and held to the real proxy by dbusdo sandbox probe.
xdg-dbus-proxy stands between a sandboxed program and a bus. Flatpak runs it for every application
that isn't given a bus socket outright, and Firejail runs it for profiles that say dbus-user filter.
This page is what its filter does, as the evaluator decides it. Where the evaluator and an installed proxy
disagree, the probe says so and SBX-006 reports it.
The options
--filter --see=NAME --talk=NAME --own=NAME --call=NAME=RULE --broadcast=NAME=RULE --sloppy-names
| Option | Means |
|---|---|
--filter |
Filter at all. Without it the proxy passes everything |
--see=NAME |
The name is shown: In name lists, its owner can be asked, its owner changes are delivered |
--talk=NAME |
Calls to it pass, and its broadcasts are delivered. Holds see |
--own=NAME |
It may be requested and released, and every call to it passes. Holds talk |
--call=NAME=RULE |
talk for calls matching the rule only |
--broadcast=NAME=RULE |
talk for broadcasts matching the rule only |
--sloppy-names |
Owner changes of every unique name are delivered |
A name ending in .* covers itself and every name below it: org.foo.* covers org.foo and
org.foo.bar, never org.foobar. --see, --talk and --own refuse unique names; --call and
--broadcast check nothing. The bus itself, org.freedesktop.DBus, has talk from the start.
A rule is [*|INTERFACE.MEMBER|INTERFACE.*][@PATH|@PATH/*]. The part before @ splits at its last dot
into interface and member; * alone is any interface and member, and org.foo.* is the interface
org.foo with any member, not a prefix of interfaces. @PATH/* covers the path and everything below it;
no @ is any path.
A name's level
A name's level is the highest level of the filters that match it: Its exact filters, then the .* filters of each name
above it, walking up the dots.
A unique name takes the level of every well-known name the proxy saw it own, and keeps it after the name
is released. So a grant of one name opens every other name of the connection that owns it, through its
unique name. The client's own unique name has talk. A peer that sends the client a message that passes
becomes see.
A call from the application
In order:
- A reply or an error passes only when it answers a call the client was sent, from that sender, once.
- A name below
seeis hidden; atseebut belowtalk, denied. - To a service:
ownpasses; otherwise a matching call rule, and a plain--talkmatches every call. - To the bus:
Introspectablepasses, and any interface butorg.freedesktop.DBusis denied.Hello,RemoveMatch,GetId,ListNamesandListActivatableNamespass.AddMatchpasses unless it asks to eavesdrop.BecomeMonitorandUpdateActivationEnvironmentare denied.RequestName,ReleaseNameandListQueuedOwnersneedownon their name;StartServiceByNameneedstalk; theGetConnection...questions needsee.NameHasOwnerandGetNameOwneron a name belowseeget an answer the proxy makes up. Any other method is denied.
What the application is answered:
| Verdict | Answer |
|---|---|
| Passed | Whatever the bus or the service answers |
| Hidden | NameHasNoOwner to a unique name or a call with NO_AUTO_START, otherwise ServiceUnknown |
| Denied | AccessDenied |
| Made up | false to NameHasOwner; NameHasNoOwner to GetNameOwner |
A call that expects no reply gets nothing either way. Hidden and nonexistent look the same.
What reaches the application
- Replies: Only to calls it made.
- Owner changes: Of names it may see, and with
--sloppy-namesof unique names. - Broadcasts: From a sender at
own, or attalkwith a matching broadcast rule; a plain--talkmatches all.seeisn't enough. - Calls from peers: All of them. Every peer is trusted.
- Name lists: Only the names it may see.
The three flaws fixed in 2026
| Flaw | Fixed in | What the behavior probe sends |
|---|---|---|
| CVE-2026-34080 | 0.1.7 | An AddMatch with eavesdrop = 'true', a space before the =. Fixed: Denied |
| CVE-2026-93676 | 0.1.8 | A broadcast from a name with only a call rule, on a path and member no broadcast rule names. Fixed: Filtered |
| CVE-2026-94422 | 0.1.9 | A method call, not a reply, carrying the serial of a call the client was sent, to a name it isn't granted. Fixed: Hidden, and the call never reaches the name |
A proxy's version string doesn't say which it carries: Debian 13's 0.1.6-1+deb13u3 carries all three.
Measured: Upstream 0.1.6 fails all three probes and upstream 0.1.8 fails the third
(docs/measurements/stage-7/README.md).