Fixes the Active Storage advisory in Rails 8.1.3 and the loofah, mail, rails-html-sanitizer, json, crass and sqlite3 advisories. Also fixes the array bracket spacing RuboCop offenses.