/** * RubyGems supply-chain scanner. * * Detects supply-chain risks in Gemfile and Gemfile.lock: gems matching * curated threat-intel IOCs (ruby: prefixed package entries), non-https * gem sources, and git/path gem sources that bypass rubygems.org * integrity checks. */ import type { Finding } from "./types.js"; import { type FeedIOC } from "./threat-intel.js"; /** * Check if a file is a RubyGems-related file. */ export declare function isRubyGemsFile(filename: string): boolean; /** * Scan RubyGems files in a directory. */ export declare function scanRubyGemsFiles(dir: string): Finding[]; /** * Scan Gemfile content. */ export declare function scanGemfileContent(content: string, relativePath: string, feed?: FeedIOC[]): Finding[]; /** * Scan Gemfile.lock content. */ export declare function scanGemfileLockContent(content: string, relativePath: string, feed?: FeedIOC[]): Finding[]; //# sourceMappingURL=rubygems-scanner.d.ts.map