
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
ai.matey.http
Advanced tools
HTTP framework adapters for AI Matey - Universal AI Adapter System.
Part of the ai.matey monorepo.
npm install ai.matey.http
This package provides HTTP framework integrations for serving AI Matey bridges as API endpoints. Supports multiple popular Node.js and edge frameworks.
For core HTTP utilities (auth, CORS, rate limiting), see ai.matey.http-core.
import express from 'express';
import { ExpressMiddleware } from 'ai.matey.http';
import { Bridge } from 'ai.matey.core';
const app = express();
const bridge = new Bridge({ frontend, backend });
const middleware = new ExpressMiddleware({ bridge });
app.post('/v1/chat/completions', middleware.handler());
import Fastify from 'fastify';
import { FastifyHandler } from 'ai.matey.http';
const fastify = Fastify();
const handler = new FastifyHandler({ bridge });
fastify.post('/v1/chat/completions', handler.handler());
import { Hono } from 'hono';
import { HonoMiddleware } from 'ai.matey.http';
const app = new Hono();
const middleware = new HonoMiddleware({ bridge });
app.post('/v1/chat/completions', middleware.handler());
import http from 'http';
import { NodeHTTPListener } from 'ai.matey.http';
const listener = new NodeHTTPListener({ bridge });
const server = http.createServer(listener.handler());
import { DenoHandler } from 'ai.matey.http';
const handler = new DenoHandler({ bridge });
Deno.serve(handler.handler());
See the TypeScript definitions for detailed API documentation.
MIT - see LICENSE for details.
FAQs
HTTP framework adapters for AI Matey - Universal AI Adapter System
We found that ai.matey.http 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.