
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@interopio/gateway-server
Advanced tools
[](https://www.npmjs.com/package/@interopio/gateway-server)
The @interopio/gateway-server package is the web server used to run the gateway as a standalone server app accessible via WebSocket.
import GatewayServer, {type Server} from '@interopio/gateway-server';
const server: Server = await GatewayServer({
port: 8385,
gateway: {
route: '/gw',
access: 'authenticated',
ping: {
interval: 30000, // 30 seconds
type: 'timestamp'
}
}
});
await server.close();
import GatewayServer, {type Server} from '@interopio/gateway-server';
const server: Server = await GatewayServer({
port: 8443,
ssl: {
cert: "glue42.crt",
ca: "intermediate.crt",
key: "glue42.key"
},
auth: {
type: 'oauth2', // or 'basic'
oauth2: {
jwt: {
issuer: 'https://auth.example.com',
audience: 'https://api.example.com'
}
},
basic: {
username: 'interopio',
password: 'passwordo'
}
},
app: async ({handle}) => {
handle(
{
request: {method: 'GET', path: '/api/metrics'},
options: {cors: true, authorize: {access: 'authenticated'}},
handler: async ({response}) => {
response.setStatusCode({value: 200}); // OK
await response.end();
}
},
{
request: {method: 'POST', path: '/api/metrics'},
options: {cors: true, authorize: {access: 'authenticated'}},
handler: async ({request, response}) => {
response.statusCode({value: 202}); // Accepted
await response.end();
try {
const update = await request.json();
console.log(`${JSON.stringify(update)}`);
} catch (e) {
console.error('Error processing metrics:', e);
}
}
});
},
});
await server.close();
@glue42/gateway-ent CompatibilityThis package aims to provide compatibility with @glue42/gateway-ent proprietary package used in Glue42 Desktop (now io.Connect Desktop)
import * as gw from '@interopio/gateway-server/gateway-ent';
See changelog
FAQs
[](https://www.npmjs.com/package/@interopio/gateway-server)
The npm package @interopio/gateway-server receives a total of 406 weekly downloads. As such, @interopio/gateway-server popularity was classified as not popular.
We found that @interopio/gateway-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.