docs(security): add scope, out-of-scope, and OAuth beta warning - #917
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the project's security policy to better reflect the current threat landscape and operational complexity. By providing clearer guidance on reportable issues and adding necessary warnings for experimental features, the changes aim to improve the quality of security submissions and ensure users are aware of the risks associated with specific deployment configurations. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates SECURITY.md to include a detailed scope section, clarify vulnerability reporting requirements, and add a beta warning for the OAuth mode. The review feedback suggests a minor improvement to the phrasing of an out-of-scope item to better distinguish between vulnerability types and deployment misconfigurations.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the SECURITY.md file to provide a clearer scope for vulnerability reporting, including specific in-scope and out-of-scope items. It also introduces a beta warning for the experimental OAuth mode, referencing past CVEs and providing deployment recommendations. Additionally, the reporting process has been updated to use GitHub's private advisory system. A review comment suggests re-incorporating the 'good-faith' requirement into the reporting guidelines to ensure consistency with the previous policy.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the SECURITY.md file to provide a more comprehensive security policy. Key changes include the addition of a detailed scope for vulnerability reporting (distinguishing between in-scope and out-of-scope issues), a beta warning for OAuth mode with references to past CVEs, and updated reporting procedures with a new advisory URL. Feedback was provided to remove a redundant mention of authentication bypass in the OAuth-specific scope list to improve conciseness.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request significantly expands the SECURITY.md file to provide a more comprehensive security policy. Key updates include a defined scope for vulnerability reports, a beta warning for the experimental OAuth mode, and a direct link for private reporting. A review comment suggests further improving the policy by explicitly stating a coordinated disclosure timeline, typically 90 days, to better manage expectations for security researchers.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request significantly expands the SECURITY.md file by adding a detailed scope for vulnerability reporting, a beta warning for OAuth mode, and updated reporting requirements. A correction was identified regarding the tool name mentioned in the sandbox escape section to ensure it matches the actual implementation.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates SECURITY.md to include a detailed scope for vulnerability reporting, a beta warning for OAuth mode, and updated reporting procedures. A review comment identifies that the tool ha_manage_custom_tool mentioned in the new scope section violates the repository's naming convention (Rule 66/104) and is not listed in the README.md, suggesting a rename or correction.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request significantly expands the SECURITY.md file by defining the scope of security reports, adding a beta warning for the experimental OAuth mode, and detailing the vulnerability reporting process and requirements. Feedback suggests restoring more explicit language regarding the rejection of misleading or speculative reports to maintain the previous policy's standards.
…tion Removes `ha_manage_custom_tool` (PR homeassistant-ai#854, not yet merged, name not finalized) and replaces it with a capability-based description to avoid naming-convention violations on a forward reference.
Code reviewFound 3 issues:
Lines 30 to 32 in 9719ae3
Line 20 in 9719ae3
Lines 44 to 45 in 9719ae3 |
|
All three points are spot-on — thank you for the careful read! Fixed in the latest commit:
|
kingpanther13
left a comment
There was a problem hiding this comment.
Solid addition. All factual claims verified:
ENABLED_TOOL_MODULESconfirmed inconfig.pyha-mcp-oauthconfirmed as entrypoint inpyproject.toml- Both GHSA links are real and match the described vulnerabilities
- Advisory URL format is correct
One minor note: GHSA-fmfg-9g7c-3vq7 is labeled "SSRF" in the OAuth warning but its actual title is "network reconnaissance via an error oracle" — closer to info disclosure than SSRF. The link speaks for itself so not blocking on it.
Good job addressing all the review feedback, especially the DISABLED_TOOLS → ENABLED_TOOL_MODULES catch from @sergeykad and removing the forward reference to the unmerged sandbox tool.
What does this PR do?
Expands
SECURITY.mdwith three additions that were missing:Scope / Out-of-scope — makes it clear what researchers should and
shouldn't report, reducing low-quality submissions and HA-core misdirects.
Explicitly calls out prompt injection as in-scope, since it's a realistic
attack surface for an LLM-controlled system.
OAuth beta warning — the consent-flow mode has a larger attack surface
than the standard LLAT setup, had two published CVEs (now fixed), and is not
recommended for production without TLS. None of this is currently visible to
users reading the security policy.
Direct advisory link — points reporters to the "New advisory" form
rather than the landing page, and mentions CVSS as the severity baseline.
The existing policy text (good-faith requirement, AI-generated report warning,
response timelines) is unchanged.
Why now
Following the two published CVEs earlier this year, the project's security
surface has grown more complex — OAuth mode, destructive tool operations,
prompt injection risk. The current policy doesn't reflect any of this.
Type of change