
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
@freestyle-sh/with-ruby
Advanced tools
Ruby runtime via [RVM](https://rvm.io) for [Freestyle](https://freestyle.sh) VMs.
Ruby runtime via RVM for Freestyle VMs.
npm install @freestyle-sh/with-ruby freestyle
import { freestyle } from "freestyle";
import { VmRuby } from "@freestyle-sh/with-ruby";
const { vm } = await freestyle.vms.create({
with: {
ruby: new VmRuby(),
},
});
const res = await vm.ruby.runCode({
code: "require 'json'; puts JSON.generate({ hello: 'world' })"
});
console.log(res);
// { result: { hello: 'world' }, stdout: '{"hello":"world"}\n', statusCode: 0 }
new VmRuby({
version: "3.3.6", // Optional: specific Ruby version (default: "3.4.8")
})
| Option | Type | Default | Description |
|---|---|---|---|
version | string | "3.4.8" | Ruby version to install via RVM. |
vm.ruby.runCode({ code: string })Executes Ruby code in the RVM-managed Ruby runtime.
Returns: Promise<RunCodeResponse>
type RunCodeResponse<Result> = {
result: Result; // Parsed JSON from stdout (if valid JSON)
stdout?: string; // Raw stdout output
stderr?: string; // Raw stderr output
statusCode?: number; // Exit code
};
vm.ruby.install(options?)Installs gems via gem install or bundle install.
Returns: Promise<InstallResult>
// Install specific gems
await vm.ruby.install({ deps: ["nokogiri", "colorize"] });
// Install from Gemfile (bundle install)
await vm.ruby.install();
await vm.ruby.install({ directory: "/app" });
type InstallOptions =
| { deps: string[] }
| { directory?: string; deps?: undefined };
type InstallResult = {
success: boolean;
stdout?: string;
stderr?: string;
};
FAQs
Ruby runtime via [RVM](https://rvm.io) for [Freestyle](https://freestyle.sh) VMs.
We found that @freestyle-sh/with-ruby demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.