
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
fh-wfm-message
Advanced tools
This module contains a message model representation and its related services :
This module is packaged in a CommonJS format, exporting the name of the Angular namespace. The module can be included in an angular.js as follows:
angular.module('app', [
, require('fh-wfm-message')
...
])
A sync manager must first be initialized using the messageSync.createManager()
. This can be placed, for instance, in the resolve
config of a ui-router
controlled application.
resolve: {
messageManager: function(messageSync) {
return messageSync.createManager();
}
}
For a more complete example, please check the demo portal app.
messageSync
APIThese messageSync API methods all return Promises:
messageSync method | Description |
---|---|
messageSync.manager.list | list all messages |
messageSync.manager.create(message) | create a message |
messageSync.manager.read(messageId) | read a message |
messageSync.manager.update(message) | update a message |
Name | Attributes |
---|---|
message-list | list, selectedModel |
message-form | value, workers |
message-detail | message |
The server-side component of this WFM module exports a function that takes express and mediator instances as parameters, as in:
var express = require('express')
, app = express()
, mbaasExpress = mbaasApi.mbaasExpress()
, mediator = require('fh-wfm-mediator/lib/mediator')
;
// configure the express app
...
// setup the wfm message sync server
require('fh-wfm-message/server')(mediator, app, mbaasExpress);
the module broadcasts, and listens for the following events
Listens for | Responds with |
---|---|
wfm:message:list | done:wfm:message:list |
wfm:message:read | done:wfm:message:read |
wfm:message:update | done:wfm:message:update |
wfm:message:create | done:wfm:message:create |
Check this demo cloud application
{
id: 1276001,
receiverId: "156340",
status: "unread",
sender: {
avatar:"https://s3.amazonaws.com/uifaces/faces/twitter/kolage/128.jpg",
name:"Trever Smith"
},
subject: 'Adress change w41',
content: 'hallo hallo'
}
FAQs
An message module for WFM
The npm package fh-wfm-message receives a total of 2 weekly downloads. As such, fh-wfm-message popularity was classified as not popular.
We found that fh-wfm-message 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
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.