mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
- Entries transcribed by Claude are unverified (with Claude's confidence) until an owner checks them against the scan: badge, filter, "mark verified" stepping through the rest - Preventive maintenance templates on new logbook entries, keyed to Part 43 Appendix A(c), setting the entry type and pilot certificate (43.3(g)) - An STC's ICA can become a tracked recurring inspection, linked from its major record - Weight & balance: history of empty weight/CG (linked to the 337 that changed them), loading stations and CG envelope from the POH, and a live calculator for takeoff and landing weight/CG; shown on the status report - New ADs: weekly Federal Register search per aircraft (aircraft, engine and propeller models, or custom terms); track or dismiss each; included in the weekly reminder - Archives carry the new records; brakeman: explicit params, reviewed About-page links Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
74 lines
2.7 KiB
Plaintext
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": "85f8003e1ad00eeb2308faea3dd89e55db1b7a794b9c1a8b05c16466849038ac",
|
|
"check_name": "LinkToHref",
|
|
"message": "Potentially unsafe model attribute in `link_to` href",
|
|
"file": "app/views/admin/about/show.html.erb",
|
|
"line": 12,
|
|
"link": "https://brakemanscanner.org/docs/warning_types/link_to_href",
|
|
"code": "link_to(SystemInfo.new.revision, SystemInfo.new.revision_url, :class => \"link\", :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"
|
|
}
|