
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
waiter-framework
Advanced tools
A lightweight, TypeScript-first web framework with built-in dependency injection and decorator-based routing.
npm install waiter-framework
import { bootstrapWaiter, Web, Get, WaiterRequest } from 'waiter-framework';
@Web('/api')
class UserController {
@Get('/users')
async getUsers(req: WaiterRequest) {
return {
statusCode: 200,
body: { users: [] },
};
}
}
bootstrapWaiter(3000);
import { Web, Get, Inject, Wire } from 'waiter-framework';
@Wire('database')
class Database {
query(sql: string) {
// implementation
}
}
@Web('/api')
class UserController {
constructor(@Inject('database') private db: Database) {}
@Get('/users')
async getUsers() {
const users = this.db.query('SELECT * FROM users');
return { statusCode: 200, body: users };
}
}
import {
bootstrapWaiter,
WaiterRequest,
WaiterResponse,
} from 'waiter-framework';
const authInterceptor = async (
req: WaiterRequest
): Promise<WaiterResponse | void> => {
const token = req.serverRequest.headers['authorization'];
if (!token) {
return { statusCode: 401, body: { error: 'Unauthorized' } };
}
};
bootstrapWaiter(3000, authInterceptor);
@Web('/api')
class ProductController {
@Get('/products')
async list() {
/* ... */
}
@Post('/products')
async create(req: WaiterRequest) {
/* ... */
}
@Put('/products/:id')
async update(req: WaiterRequest) {
/* ... */
}
@Delete('/products/:id')
async remove(req: WaiterRequest) {
/* ... */
}
}
MIT
FAQs
High-performance web framework with IoC and decorators
We found that waiter-framework 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.