/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/ is in ruby-specinfra 2.35.1-1.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/base.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/cpu.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/domain.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/ec2.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/filesystem.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/fqdn.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/hostname.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/kernel.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/memory.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/platform.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/platform_version.rb
/usr/lib/ruby/vendor_ruby/specinfra/host_inventory/virtualization.rb