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.
@cs-chatbots/router-masterbot-tools
Advanced tools
This module provides Wingbot `Processor` plugins extending the Wingbot core functionality. In the project such plugin is initialized in the following way:
This module provides Wingbot Processor
plugins extending the Wingbot core
functionality. In the project such plugin is initialized in the following way:
const { Processor } = require('wingbot');
const { PLUGIN_CLASS } = require('router-masterbot-tools');
const processor = new Processor(...);
processor.plugin(new PLUGIN_CLASS());
The purpose of this plugin is to simplify handling of a shared context in a multi bot environment. The plugin ensures the following functionality:
The shared context sent by the router in the pass_thread_control event is
available in req.sharedContext
and it is also stored in the conversation state.
Adds the method setSharedContext(data: Object)
to the Responder
object.
This method enables to inform the router about the shared context update. The
method also updates the local copy of the shared context in the conversation
state. The shared context is not overwritten but merged.
Overrides Responder.trackAsSkill()
to store the skill not only in the
conversation state but also in the shared context. Additionally, it saves appId
in shared context every time a skill is stored.
FAQs
## MockService
We found that @cs-chatbots/router-masterbot-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.