Benign ruby Download

lib/trak_flow/config.rb

Ruby dynamically invokes a method with sendRuby loads a relative source module
SHA-256d121a0d6471aed0fb87b9ce3e4516684223ffc1e0200beabe0cc46a6abb08c16
MaleculeH₂(DbOs)

Evidence

Ruby loads a relative source module lines 1–11
1# frozen_string_literal: true
2
3require 'anyway_config'
4require 'yaml'
5
6require_relative 'config/section'
7
8module TrakFlow
9 # TrakFlow Configuration using Anyway Config
10 #
11 # Schema is defined in lib/trak_flow/con …
English function-word token "for" lines 11–14
11:76… f truth)
12 # Configuration uses nested sections for better organization:
13 # - TrakFlow.config.output.json
14 # - TrakFlow.config.daemon.auto_st …
English function-word token "with" lines 18–20
18:19… aults: lib/trak_flow/config/defaults.yml (ships with gem)
19 # 2. XDG user config: ~/.config/trak_flow/trak_flow.yml
20 # 3. Project config: ./.trak_flow/con …
Reads file content with Ruby File.read lines 43–50
43:49… aults.yml', __dir__).freeze
44
45 begin
46 defaults_content = File.read(DEFAULTS_PATH)
47 raw_yaml = YAML.safe_load(
48 defaults_content,
49 permitted_classes: [Symbol],
50 symboliz …
Ruby dynamically invokes a method with send lines 208–216
208:16… self
209 mapping.each { |k| value = value.respond_to?(k) ? value.send(k) : value[k] }
210 value
211 elsif mapping.is_a?(Proc)
⋯5 lines

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.