Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@interopio/core
Advanced tools
The @interopio/core
package is the core IO Connect JavaScript module used in applications for sharing data with other IO Connect enabled applications. It can be used by applications hosted in IO Connect, a browser or Node.js
.
The @interopio/core
package is a subset of the @glue42/desktop
package which offers tools for more advanced scenarios that require Window Management, Application Management, Activities, Layouts, Channels, etc.
The @interopio/core
package contains the following APIs:
Interop - an Interop API which enables applications to:
Shared Contexts - a Shared Contexts API which provides a simple and effective way of sharing data between applications by using shared named data objects;
Metrics - use the IO Connect Metrics as a way of assessing the life cycle of a certain process (application performance, business process, employee productivity, etc.) by acquiring, recording and monitoring over time specific data about the key performance indicators of the said process;
Pub/Sub - a basic Pub/Sub API that allows apps to publish/subscribe for messages on a specific topic;
import IOConnectCore from "@interopio/core";
const initializeIOConnectCore = async () => {
// You can pass an optional configuration object to the factory function.
// If you do not privide configuration, it will be inferred from your application configuration file.
const io = await IOConnectCore();
// Use the IO Connect APIs.
};
// Handle errors.
initializeIOConnectCore().catch(console.error);
Note that your Node.js script should be started by the IO Connect Desktop client in order to receive a gwToken
and a gwURL
.
import IOConnectCore from "@interopio/core"
const initializeIOConnectCore = async () => {
const config = {
application: "MyNodeApp",
gateway: {
protocolVersion: 3,
ws: process.env.gwURL
},
auth: {
gatewayToken: process.env.gwToken
}
};
const io = await IOConnectCore(config);
// Use the IO Connect APIs.
};
// Handle errors.
initializeIOConnectCore().catch(console.error);
FAQs
IOConnect core library
The npm package @interopio/core receives a total of 565 weekly downloads. As such, @interopio/core popularity was classified as not popular.
We found that @interopio/core 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.