Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
= ruote
Ruote is a Ruby workflow engine. It's thus a workflow definition interpreter. If you're enterprisey, you might say business process definition.
Instances of these definitions are meant to run for a long time, so Ruote is oriented towards persistency / modifiability instead of transience / performance like a regular interpreter is. A Ruote engine may run multiple instances of workflow definitions.
Persistent mostly means that you can stop Ruote and later restart it without losing processes. Modifiability means that you can modify a workflow instance on the fly.
Process definitions are mainly describing how workitems are routed to participants. These participants may represent worklists for users or group of users, pieces of code, ...
== usage
grab ruote
gem install ruote gem install yajl-ruby
Note : the json gem has a serious bug :
http://github.com/flori/json/issues#issue/21
So yajl-ruby is seriously recommended.
Then
require 'rubygems' require 'ruote' require 'ruote/storage/fs_storage'
engine = Ruote::Engine.new( Ruote::Worker.new( Ruote::FsStorage.new('ruote_work')))
engine.register_participant :alpha do |workitem| workitem.fields['message'] = { 'text' => 'hello !', 'author' => 'Alice' } end
engine.register_participant :bravo do |workitem| puts "I received a message from #{workitem.fields['message']['author']}" end
pdef = Ruote.process_definition :name => 'test' do sequence do participant :alpha participant :bravo end end
wfid = engine.launch(pdef)
engine.wait_for(wfid) # blocks current thread until our process instance terminates
== test suite
see http://github.com/jmettraux/ruote/tree/master/test
== license
MIT
== links
== feedback
FAQs
Unknown package
We found that ruote-maestrodev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.