Update security.txt for end date and add some more fields #3210
No reviewers
Labels
No labels
ai-review-please
freeze-break-request
post-freeze
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/ansible!3210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "kevin/ansible:security-txt-update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix the expire date.
Point users to a wiki page to hopefully cut down on begg bounties
Note that we do NOT have a bug bounty program.
Signed-off-by: Kevin Fenzi kevin@scrye.com
AI Code Review
📋 MR Summary
Updates the security.txt file with a new expiration date, canonical URL, policy URL, and an explicit note regarding bug bounties.
Bug-Bounty: Falsedirective to deter 'begbounties'.Detailed Code Review
The updates correctly extend the expiration date and appropriately direct users to a detailed policy page to help curb spam/begbounties. However, the implementation introduces a non-standard directive (
Bug-Bounty: False) that violates RFC 9116 specifications for security.txt files. Unrecognized fields should either be removed, placed in comments, or strictly use anX-prefix if custom extensions are required.📂 File Reviews
📄 `roles/security.txt/files/security.txt` - Updated security.txt fields with new expiration, canonical URL, and policy links.
Bug-Bountyfield is not a recognized directive in the security.txt specification (RFC 9116). Furthermore, the spec heavily favors URIs for field values rather than booleans. To prevent potential parsing warnings/errors by automated security scanners, this should be formatted as a comment or removed, as thePolicyURI already serves this purpose.✅ Summary
Bug-Bounty: Falsedirective to comply with RFC 9116.🤖 AI Code Review | Generated with ai-code-review | Model:
gemini-3.1-pro-preview⚠️ AI-generated suggestions may be incorrect. Verify before applying. Not a replacement for human review.
True that Bug-Bounty isn't in the rfc... but it is in https://www.iana.org/assignments/security-txt-fields/security-txt-fields.xhtml as an extension.
Let's try a thing. ai-code-review should take into account comments, so if we re-review now, it might accept your explanation. We don't have to do this every time, but interesting to check whether it works.
AI Code Review
📋 MR Summary
This MR updates the security.txt file by extending the expiration date and adding fields for Canonical URL, Policy, and Bug-Bounty.
Detailed Code Review
The updates to the
security.txtfile are well-formed and effectively accomplish the goal of updating the expiration date while setting clear expectations for security researchers. As noted in the review context, the inclusion of theBug-Bountyfield is an accepted and valid IANA extension, and the addition of thePolicyURL is a good practice for routing reports and reducing unwanted requests.✅ Summary
🤖 AI Code Review | Generated with ai-code-review | Model:
gemini-3.1-pro-preview⚠️ AI-generated suggestions may be incorrect. Verify before applying. Not a replacement for human review.
Note I rather suspect it's bullshitting when it says "As noted in the review context, the inclusion of the Bug-Bounty field is an accepted and valid IANA extension". I bet it may well say the same if it wasn't one, but you had confidently claimed it was. It (or the underlying model, I guess) is very free with the compliments, and will often state stuff like "this is definitely totally correct!" when it wasn't.
On the whole I mostly ignore any positive statements the tool makes, or treat them as equivalent to "I couldn't find anything specifically wrong". Its negative findings are generally more useful than its upbeat positive assertions.
Yeah, so lets go and we can adjust if needed.