Files
simple-aircraft-manager-rails/config/brakeman.ignore
T
rickyandClaude Opus 5.5 8c8e3b7374 Versions: year.month.release (VERSION) plus build (commit); What's new from CHANGELOG.md
Shown on Admin -> About, in the software history, records package, procedures
and sam:doctor; release notes in the app under Help.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 21:03:31 -05:00

74 lines
2.7 KiB
Plaintext

{
"ignored_warnings": [
{
"warning_type": "Cross-Site Scripting",
"warning_code": 4,
"fingerprint": "43d7e4cfb5fdffe8ce34bb9676dc02e2a9e5dba55fdc47fbb480cace17bafe59",
"check_name": "LinkToHref",
"message": "Potentially unsafe model attribute in `link_to` href",
"file": "app/views/admin/about/show.html.erb",
"line": 14,
"link": "https://brakemanscanner.org/docs/warning_types/link_to_href",
"code": "link_to(\"Source code\", SystemInfo.new.repository_url, :class => \"link\", :target => \"_blank\", :rel => \"noopener\")",
"render_path": [
{
"type": "controller",
"class": "Admin::AboutController",
"method": "show",
"line": 7,
"file": "app/controllers/admin/about_controller.rb",
"rendered": {
"name": "admin/about/show",
"file": "app/views/admin/about/show.html.erb"
}
}
],
"location": {
"type": "template",
"template": "admin/about/show"
},
"user_input": "SystemInfo.new.repository_url",
"confidence": "Weak",
"cwe_id": [
79
],
"note": "The repository URL comes from the server environment (APP_REPOSITORY_URL) or a constant, and SystemInfo only returns http(s) URLs; admins only."
},
{
"warning_type": "Cross-Site Scripting",
"warning_code": 4,
"fingerprint": "8a1a5b9527b7a486b508cfeedb365ccb784d3a0736e794ef2b9a81d95a2b669c",
"check_name": "LinkToHref",
"message": "Potentially unsafe model attribute in `link_to` href",
"file": "app/views/admin/about/show.html.erb",
"line": 13,
"link": "https://brakemanscanner.org/docs/warning_types/link_to_href",
"code": "link_to(SystemInfo.new.revision, SystemInfo.new.revision_url, :class => \"link font-mono\", :target => \"_blank\", :rel => \"noopener\", :title => \"This commit on GitHub\")",
"render_path": [
{
"type": "controller",
"class": "Admin::AboutController",
"method": "show",
"line": 7,
"file": "app/controllers/admin/about_controller.rb",
"rendered": {
"name": "admin/about/show",
"file": "app/views/admin/about/show.html.erb"
}
}
],
"location": {
"type": "template",
"template": "admin/about/show"
},
"user_input": "SystemInfo.new.revision_url",
"confidence": "Weak",
"cwe_id": [
79
],
"note": "The repository URL comes from the server environment (APP_REPOSITORY_URL) or a constant, and SystemInfo only returns http(s) URLs; admins only."
}
],
"brakeman_version": "8.1.0"
}