Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
worksmith_rascal
Advanced tools
Rascal activities for worksmith
This package contains the following activities/tasks:
name | description |
---|---|
publish | Publishes a message a rascal publication |
receiveOne | Receives a message from a rascal publication |
Publish as message to a rascal publication
name | type | description |
---|---|---|
broker | Rascal Broker | Will look in context.broker if not specified |
publication | Publication id | Where to send the message |
payload | The payload to publish | |
routingKey | Routing key to use when publishing the message. Will override the routing key defined in the publication | |
options | Other publication options (see rascal documentation) |
var worksmith = require('worksmith')
worksmith.use('rascal', require('worksmith_rascal'))
var workflow = worksmith({task:"sequence", items : [{
task:'rascal/publish',
broker: '@broker',
publication: 'p1',
payload: 'test message',
resultTo: 'messageId'
}])
Receives exactly one message from a subscription within a given timeout. Causes an error if no message could be received.
When a message is received the result is { message: rabbitMsg, content: parsed<message.content> }
name | type | description |
---|---|---|
broker | Rascal Broker | Will look in context.broker if not specified |
subscription | Subscription id | Rascal subscription name to receive from |
timeOut | milliseconds | amount of time to wait for a message |
options | Other subscription options (see rascal documentation) |
var worksmith = require('worksmith')
worksmith.use('rascal', require('worksmith_rascal'))
var workflow = worksmith({task:"sequence", items : [{
task:'rascal/receiveOne',
broker: '@broker',
subscription: 's1',
resultTo: 'message'
}])
You need an rabbitmq server running on localhost:5672 for the tests to pass. If you have docker and docker-compose installed simply run docker-compose up
in the route of this project.
FAQs
Rascal activites for worksmith
The npm package worksmith_rascal receives a total of 0 weekly downloads. As such, worksmith_rascal popularity was classified as not popular.
We found that worksmith_rascal 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.