
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
A RedGlass plugin which enables snapshot archives to be analyzed by DomReactor.
You will need a DomReactor account and an API token to use DomReactor's automated layout analysis service. Visit http://domreactor.com to sign up.
# Configurations
browsers = [:firefox, :chrome]
archive_location = '/Users/you/Desktop/red_glass_snapshots'
test_id = 1
page_url = 'http://google.com'
opts = {
baseline_browser: {name: 'firefox', version: '20.0', platform: 'darwin'},
threshold: 0.02
}
# Take a RedGlass snapshot in each browser.
browsers.each do |browser|
listener = RedGlassListener.new
driver = Selenium::WebDriver.for browser, :listener => listener
red_glass = RedGlass.new driver, {listener: listener, archive_location: archive_location, test_id: test_id}
driver.navigate.to page_url
red_glass.take_snapshot
driver.quit
end
# Send the page archives to DomReactor.
DomReactorRedGlass.auth_token = '12345'
DomReactorRedGlass.create_chain_reaction("#{archive_location}/#{test_id}", opts)
The MIT License - Copyright (c) 2013 Binary Mechanics
FAQs
Unknown package
We found that domreactor-redglass demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.