Benign ruby 10,808 installs Download

snowflaked 0.3.0

“A Ruby gem for generating Twitter Snowflake IDs using a high-performance Rust backend. Thread-safe with configurable machine ID and custom…”

File is named extconf.rbRuby mkmf native extension helper
SHA-2564ea7de264cc6d6a8af67f1816a8f536605fc10358591866672792952f2a96d6e

Evidence

Cargo dynamic library crate type Cargo.toml · lines 7–8
7[lib]
8crate-type = ["cdylib"]
Ruby mkmf native extension helper extconf.rb · lines 3–4
3require "mkmf"
4require "rb_sys/mkmf"
Ruby Socket.gethostname call snowflaked.rb · lines 77–80
77 # Unique-enough per process without coordination: varies by host and by
78 # pid, so forked workers each get a different id. % keeps it in range.
79 (Socket.gethostname.hash ^ Process.pid) % (MAX_MACHINE_ID + 1)
80 end

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.