You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a509254
Browse filesBrowse the repository at this point in the historyBrowse files
feat(security): warn on inert mutable allowFrom entries (#131129)
* feat(security): warn on inert mutable allowFrom entries
Report configured entries that cannot authorize with name matching disabled,
and preview lockout counts before disabling mutable matching. Distinguish
mutable aliases from exact identifiers with unproven ownership in audit text.
Reuse channel ingress declarations through one SDK classifier without changing
admission policy. Keep Discord audit findings redacted and exclude symbolic
access-group references from mutable-identifier warnings.
Refs #131099.
* test(security): keep entry-authentication audit coverage in its lanes
@@ -181,9 +178,9 @@ export async function collectDiscordSecurityAuditFindings(params: {
181
178
: "Discord allowlist contains name or tag entries",
182
179
detail: dangerousNameMatchingEnabled
183
180
? "Discord name/tag allowlist matching is explicitly enabled via dangerouslyAllowNameMatching. This mutable-identity mode is operator-selected break-glass behavior and out-of-scope for vulnerability reports by itself. "+
184
-
`Found: ${examples.join(", ")}${more}.`
181
+
summary
185
182
: "Discord name/tag allowlist matching uses normalized slugs and can collide across users. "+
186
-
`Found: ${examples.join(", ")}${more}.`,
183
+
summary,
187
184
remediation: dangerousNameMatchingEnabled
188
185
? "Prefer stable Discord IDs (or <@id>/user:<id>/pk:<id>), then disable dangerouslyAllowNameMatching."
189
186
: "Prefer stable Discord IDs (or <@id>/user:<id>/pk:<id>) in channels.discord.allowFrom and channels.discord.guilds.*.users, or explicitly opt in with dangerouslyAllowNameMatching=true if you accept the risk.",
0 commit comments