
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@junaid1460/hapiest
Advanced tools
npm i @junaid1460/hapiest
hapi 17+ typescript 3 (es6)
import { Request, ResponseToolkit, Server } from "hapi";
import { AbstractHapiModule, Decorators as d, HapiServerRoutes } from "@junaid1460/hapiest";
@d.routeGroup({ baseUrl: "api", auth: false })
export class AdminRoutes extends HapiServerRoutes {
@d.get({path: ""}) // Path: /api
api(request: Request, toolkit: ResponseToolkit, err?: Error) {
return "base\n"
}
@d.get() // Path: /api/getTest
public getTest(request: Request, toolkit: ResponseToolkit, err?: Error) {
return "hey, what's up?\n";
}
@d.get({path: 'name'}) // Path: /api/name
public async getit(request: Request, toolkit: ResponseToolkit, err?: Error) {
return "junaid\n";
}
}
class ArenaMainModule extends AbstractHapiModule {
public routeSets = [AdminRoutes];
public baseUrl = "dev";
}
export const hapiServer = new Server({
host: '0',
port: 8000,
routes: { cors: true },
});
async function start() {
await hapiServer.route(new ArenaMainModule().getRoutes())
await hapiServer.start().then(e => {
console.log("server started", hapiServer.table())
})
}
start()
FAQs
Decorators for hapi 17+
We found that @junaid1460/hapiest demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.