/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/ is in ruby-compat-resource 12.10.5-1.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/exceptions.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/log.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/mixin/
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/mixin/params_validate.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/property.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/provider.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/recipe.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource/
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource/lwrp_base.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource_builder.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource_collection/
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource_collection.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource_collection/resource_list.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/resource_collection/resource_set.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/run_context.rb
/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/runner.rb