Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
= lwes_pure
LWES - Light Weight Event System protocol implemented in pure ruby. The original lwes gem is a thin wrapper around the c library, and does not handle data types for dynamic LWES events. This gem allows users to define the data type of attributes in an clear way, so that your LWES event listeners will be happy. This library includes the following components:
== Installation
gem install lwes_pure
== Initialization
If only Lwes::Event is needed, require like this:
require 'lwes/event'
If both Lwes::Event and Lwes::Emitter are needed, require like this:
require 'lwes'
== Usage
Here is a short example to create an event and send it off using udp
require 'lwes'
emitter = Lwes::Emitter.new({ :host => "127.0.0.1", :port => "12345" })
event = Lwes::Event.new({ :name => "Test::Event", :attributes => { 'int_attribute' => [:int16, 123], 'string_attribute' => [:attr_str, "test string"], 'ip_attribute' => [:ip_v4_array, ["1.2.3.4", "5.6.7.8", "192.168.0.255"]] } })
emitter.emit event
== Future works
== Contributing to lwes_pure
== Copyright
Copyright (c) 2011 Aaron Qian. See LICENSE.txt for further details.
FAQs
Unknown package
We found that lwes_pure demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.