Benign gem 369,507 installs Download

app-info 2.2.0

“Teardown tool for ipa, apk, aab, hap mobile files and Windows, macOS and dSYM file, even support for info.plist and .mobileprovision files”

Ruby recursively deletes a directory treeRuby subshell command execution
SHA-25633c47fb2fa644fed6bc6dd8d3ae859415a532f6ca14253d63ecaa41588dbf346

Evidence

Ruby gemspec assigns package name app_info.gemspec · lines 1–14
⋯4 lines
5require 'app_info/version'
6
7Gem::Specification.new do |spec|
8 spec.name = 'app-info'
9 spec.version = AppInfo::VERSION
⋯5 lines
References a public code-forge URL app_info.gemspec · lines 14–18
14:88… info.plist and .mobileprovision files'
15 spec.homepage = 'http://github.com/icyleaf/app-info'
16 spec.license = 'MIT'
17 spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18 spec.executables = spec.files.grep(%r{^exe/}) { |f| File.ba …
Ruby public_send method dispatch try.rb · lines 9–21
9:18… ame.nil? && block_given?
10 if block.arity.zero?
11 instance_eval(&b)
12 else
13 yield self
14 end
15 elsif respond_to?(method_name)
16 public_send(method_name, *args, &block)
17 end
18 end
19
20 def try!(method_name = nil, *args, &block)
21 if method_name.nil? && bloc …
Ruby dynamically invokes a method with send mobile_provision.rb · lines 215–221
215:9… bileprovision.try(:[], Util.format_key(method_name)) ||
216 mobileprovision.send(method_name) ||
217 super
218 end
219
220 def respond_to_missing?(method_name, *args)
221 mobileprovision.ke …
Ruby creates a directory tree util.rb · lines 47–55
47:30… |
48 f_path = File.join(root_path, f.name)
49 FileUtils.mkdir_p(File.dirname(f_path))
50 zip_file.extract(f, f_path) unless File.exist?(f_path)
51 end
⋯4 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.