
Security News
/Research
Compromised Injective SDK npm Package Exfiltrates Wallet Keys and Mnemonics
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.
@sebspark/openapi-express
Advanced tools
A typed router for express based on type definitions from openapi-typegen
@sebspark/openapi-express-routerA typed router for express based on type definitions from openapi-typegen
yarn add @sebspark/openapi-express`
or
npm install @sebspark/openapi-express`
import express from 'express'
import { TypedRouter } from '@sebspark/openapi-express'
import { MarketdataServer } from './schemas/marketdata'
import { getMarkets, getMarket } from './markets'
const api: MarketdataServer = {
'/markets': {
get: {
handler: async () => {
const markets = await getMarkets()
return [200, {data: markets}]
},
},
},
'/markets/:id': {
get: {
handler: async ({ params }) => {
const market = await getMarket(params.id)
return [200, {data: market}]
},
},
},
}
const router = TypedRouter(api)
const app = express()
app.use(router)
Example can be found in @sebspark/openapi-e2e
FAQs
A typed router for express based on type definitions from openapi-typegen
The npm package @sebspark/openapi-express receives a total of 218 weekly downloads. As such, @sebspark/openapi-express popularity was classified as not popular.
We found that @sebspark/openapi-express demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.