Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
= MINT Statemachine SCXML parser
== DESCRIPTION:
This gem implements all core constucts of the state chart XML (SCXML) specification of the W3C. (http://www.w3.org/TR/scxml/)
Instead of implementing an interpreter, this gem implements a parser that create a ruby statemachine instance based on the MINT-statemachine gem (https://github.com/sfeu/statemachine).
== FEATURES/PROBLEMS:
We currently do not support the definition of a data model. Instead the ruby class that contains the statemachine instance can be used to store data. Conditions can be defined using ruby inside the SCXML definition and member functionc can be called using SCXML script or invoke.
== EXAMPLE:
Parses an SCXML string and creates a statemachine instance in @sm. The messenger object can be used to capture the SCXML log messenges (using the log statement).
@messenger = mock("messenger" )
parser = StatemachineParser.new(nil,@messenger)
scxml = <<EOS
EOS
@sm = parser.build_from_scxml_string scxml
@sm.reset
See tests
== REQUIREMENTS:
== INSTALL:
== LICENSE:
Copyright (C) 2010-2013 Sebastian Feuerstack, Jessica H. Colnago
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
FAQs
Unknown package
We found that MINT-scxml 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.