Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
kiosk-virtual-keyboard
Advanced tools
An electron based virtual keyboard. Uses electron's sendInputEvent api to implement a simple customizable soft keyboard.
This is javascript virtual keyboard library that uses ipc as inter-communication between client and the browser and webContent's sendInputEvent() function to simulate key event within the browser built on electron
npm install kiosk-virtual-keyboard
Through yarn
yarn add kiosk-virtual-keyboard
The keyboard requires passing keys to the main process to mimic key input events. Therefore, you must set your main process to handle these requests
Somewhere in you main electron process after you have created your window, pass the webContent object to the VirtualKeyboard class
const { VirtualKeyboardServer } = require('kiosk-virtual-keyboard/virtual-keyboard-server');
let vkb; // keep virtual keyboard reference around to reuse.
function createWindow() {
/* Your setup code here */
vkb = new VirtualKeyboardServer(window.webContents);
}
Then on your renderer process you can setup any supported element to use the virtual keyboard as follows:
<html>
<head>
<link href="node_modules/kiosk-virtual-keyboard/virtual-keyboard-client/virtual-keyboard.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<input type="text" />
<script>
import { VirtualKeyboardClient } from 'kiosk-virtual-keyboard/virtual-keyboard-client';
var keyboard = VirtualKeyboardClient({ lang: 'us-en', mode: 'normal', withNumeric: true });
</script>
</body>
</html>
FAQs
An electron based virtual keyboard. Uses electron's sendInputEvent api to implement a simple customizable soft keyboard.
The npm package kiosk-virtual-keyboard receives a total of 0 weekly downloads. As such, kiosk-virtual-keyboard popularity was classified as not popular.
We found that kiosk-virtual-keyboard demonstrated a healthy version release cadence and project activity because the last version was released less than 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.