Skip to content

Bot installation drift

Audit installed guild membership only through an authenticated current application and bot already verified against the exact configured identities. Enumerate the Get Current User Guilds endpoint from an explicit zero cursor in fixed maximum-size pages with approximate member and presence counts disabled. Bound every response body, page, total installed-guild count, discarded-field count, and returned result before use.

Project each guild object to one unique canonical positive ID at the REST boundary. Never return, persist, log, trace, or retain guild names, icons, ownership, permissions, features, member or presence counts, unknown values, raw payloads, transport details, or partial pages. Fail the whole audit on malformed evidence, duplicates within or across pages, a non-advancing cursor, an unsafe bound, or any request failure. Require an empty terminator after an exact full local bound.

Compare the complete verified installed set with the configuration's exact guild read scope and return only sorted configured, installed, installed-in-scope, missing, and unexpected IDs plus fixed completeness and privacy evidence. Treat unexpected installation visibility as diagnostic evidence, never as authority. Do not expand local scope, rewrite policy, resolve display metadata, leave a guild, perform another mutation, create an activity or operation record, open the Gateway, or persist the result. Missing configured installations must fail online setup and verification; unexpected installations must remain an explicit warning for deliberate operator remediation. Describe multi-page evidence as a bounded completed enumeration, not an atomic Discord snapshot or proof of channel access, effective permission, consent, future membership, or write authority.

Canonical source: SECURITY.md

Documentation generated for guildcontrol@0.0.0. Canonical source and edit history remain in the public repository. GuildControl is an independent project and is not affiliated with or endorsed by Discord Inc. Discord is used only to identify the platform that GuildControl connects to.