
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@colucom/osseus-moleculerweb
Advanced tools
$ npm install @colucom/osseus-moleculerweb
This module creates new moleculer-web service: apiGateway, as each moleculer service , actions, methods , hooks & events can be added. The routes & started event function are mandatory for the operation of the service. see details below
const OsseusMoleculerWeb = require('@colucom/osseus-moleculerweb')
const moleculer = await OsseusMoleculerWeb.init(osseus)
const broker = moleculer.broker //Moleculer Service Broker Instance
const apiGatewayService = moleculer.service // Moleucler-Web ApiGateway Service
To make the moleculer-web Api Gateway module to function there must be configurations added.
OSSEUS_MOLECULER_WEB_ROUTES_PATH: 'Custom Path'
The moleculer-web scheme need to recieve an array of route functions , according to the moleculer-web documentation.
./broker/routes
.OSSEUS_MOLECULER_WEB_STARTED_EVENT_HANDLER_PATH: 'Custom Path'
./broker/events
.OSSEUS_MOLECULER_WEB_MIDDLEWARES_PATH
OSSEUS_MOLECULERWEB_ACTIONS_PATH
OSSEUS_MOLECULERWEB_SHOULD_LOAD_ACTIONS: true,
, and then add the whising path to the actions object.OSSEUS_MOLECULERWEB_HOOKS_PATH
OSSEUS_MOLECULERWEB_SHOULD_LOAD_HOOKS: true,
, and then add the whising path to the actions object.OSSEUS_MOLECULERWEB_METHODS_PATH
OSSEUS_MOLECULERWEB_SHOULD_LOAD_METHODS: true,
, and then add the whising path to the actions object.OSSEUS_MOLECULERWEB_EVENTS_PATH
OSSEUS_MOLECULERWEB_SHOULD_LOAD_EVENTS: true,
, and then add the whising path to the actions object.Please see contributing guidelines.
Code released under the MIT License. `
FAQs
Osseus moleculer-web(API Gateway) service module.
We found that @colucom/osseus-moleculerweb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.