
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.
global-input-message
Advanced tools
This is a JavaScript library for web and device applications to have mobile integration without developing a separate mobile app. If you already have a mobile app, you need to include the Global Input App component. Then, this library allows your applications running on various devices to interoperate with user's mobile devices.
The simple addition allows your applications instantly have Mobile Encryption , Mobile Authentication , Mobile Content Transfer , Mobile Input & Control , Second Screen Experience and Mobile Personal Storage features
If you have React applications, you can include the React extension library, which is much more intuitive to use.
npm
modulenpm install --save global-input-message
<script src="https://unpkg.com/global-input-message@1.7.7/distribution/globalinputmessage.min.js">
</script>
Import and create a connector object:
import {createMessageConnector} from "global-input-message";
const connector=createMessageConnector();
or use require:
const globalInputMessage=require("global-input-message");
const connector=globalInputMessage.createMessageConnector();
Now you pass you can pass the configuration to the connector
via connect()
function. The configuration contains a list of mobile user interface elements and the callback functions when the connected user interacted with them.
For example following configuration specify a form containing a single field named Content
:
const mobileConfig={
initData:{
form:{
title:"Content Transfer",
fields:[{
label:"Content",
operation:{onInput:setContent}
}]
}
},
...
};
connector.connect(mobileConfig);
The following configuration specifies a login form:
const mobileConfig={
initData:{
form:{
title:"Sign In",
id:"###username###@myCompany.com",
fields:[{
label:"Username",
id:"username",
operations:{
onInput:setUsername
}
},{
label:"Password",
id:"password",
operations:{
onInput:setPassword
}
},{
label:"Sign In",
type:"button",
operations:{
onInput:signIn
}
}]
}
},
...
};
connector.connect(mobileConfig);
You can try out the sample code above on JSFiddler
FAQs
global input core js library
The npm package global-input-message receives a total of 7 weekly downloads. As such, global-input-message popularity was classified as not popular.
We found that global-input-message 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
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.