Skip to content

Security: DonnieFi/oc-family-pack

Security

SECURITY.md

Security

oc-family-pack runs inside your OpenClaw Gateway with the Gateway's permissions. This page lists what it reaches over the network, what it trusts, and how to report a problem.

What it talks to

Where When Limits
api.weather.gc.ca When a location is set HTTPS only. Redirects are refused (redirect: "error"). 10 second timeout. The body is read in chunks and dropped past a size cap. No key, no account.
Your city's collection calendar (garbageIcsUrl) Only when you set it http or https. Redirects are followed by hand: at most three, never https to http, and never to a local address unless the hop has the configured link's own origin. 8 second timeout and a body cap.
Discord, through the host's Discord bot Briefs and reminders, when configured The plugin has no bot token of its own. A delivery goes to a roster member or a configured channel by its key, never to a raw Discord id from a message.
Google Calendar, through gog on the Gateway host When calendars are configured gog uses your existing Google sign-in. The plugin never sees the token.

The collection calendar check has one gap. Only literal addresses and localhost names are checked, so a public name that resolves to a private address is not caught. The link is set by the operator, so treat it like any other config value you trust.

What it trusts

  • The operator's config. gogPath, garbageIcsUrl, the roster, and the channel keys come from Gateway config. Whoever can edit that config can point gogPath at any binary, and the Gateway runs it. Protect the config file the same way you protect the Gateway.
  • The Gateway's sign-in. The Family page matches a host-attested OpenClaw Multiplayer profile (gatewayProfileId) or, in LAN mode, the trusted-proxy username (profileId). If both are present and disagree, the viewer falls back to guest. A member id sent by the browser is never treated as identity.
  • Discord sender ids. In chat, who's asking comes from the host's verified Discord sender. Chat that isn't Discord can't say who's asking, so its calendar changes wait for a parent.

Calendar changes and the approval stamp

Every calendar write from chat goes through one before_tool_call hook that runs first. When a change needs a parent, the hook holds it for the host's approval prompt. It then writes a stamp into a parameter the model never sees, and it overwrites that parameter on every call. The stamp is an HMAC over the decision, the tool, and the event version the hook read. The tool refuses a missing, forged, or mismatched stamp. The stamp is never hashed into a key, written to an event, or logged.

The four write tools, set_reminder_mode, and family_contact are optional tools. On a full tool profile, the agent can already see the calendar tools. What protects your calendar is the writes setting and the parent rule, not tool visibility. With no profile, or a narrower one, they appear only after the operator adds them with tools.alsoAllow.

family_contact is the one tool that returns an email. It answers only when the host sets senderIsOwner. A direct-operator session is not enough: the host uses that flag for read visibility, not as a grant. A kid, a guest, and any other member are refused before the roster is read. It takes one member id and does not list the family. The refusal does not include an address. The week, briefs, widgets, and logs do not include an email. The People page shows contact details only to a sign-in with operator.write.

Who an event is for

A school calendar stays with its owners. audienceRules can show one title to fewer of those owners. The first matching rule wins. A rule cannot add a person who does not already own that calendar.

A calendar stays with its owners. A title, or an attendee address already on the event, can also name another roster member. That one event is then included in their week, schedule, brief, and reminder. The rest of the calendar is not. The page does not list that calendar or its label. The plugin does not copy the event and does not send an invitation. Matching uses the display name, its first word, and aliases, on word boundaries. Member ids and Discord ids are not names. A word shared by two people matches nobody until participantOverrides confirms one person for that event. A reject removes a match. Guests are never participants. The description is not read.

What it stores

One SQLite file under $OPENCLAW_STATE_DIR/plugins/oc-family-pack/. The Privacy section of README.md lists what it holds and how to delete it.

Reporting a problem

Please don't open a public issue for a security problem. Use GitHub's private reporting on DonnieFi/oc-family-pack. Say what you saw, the version or commit, and how to reproduce it.

There aren't any published security advisories