Benign gem 592,082 installs Download

interact 0.4.5

“A simple API for command-line interaction. Provides a novel 'rewinding' feature, allowing users to go back in time and re-enter a botched a…”

Ruby subshell command executionRuns a command with Ruby system()
SHA-25657c2683f01a6750101046e9cacaca1523ca63e5c2427e4f9a0d7f6dc196b298d

Evidence

Executes a command with Ruby backticks lines 549–569
549:11… f set_input_state(input)
550 return nil unless input.tty?
551
552 before = `stty -g`
553
554 Kernel.system("stty -echo -icanon isig")
555
556 before
557 end
558
559 def restore_input_state(input, before)
560 Kernel.system("stty #{before}") if before
561 end
562
⋯7 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.