
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@lonestone/nzoth
Advanced tools
NZOTH: Nest + Zod + OpenAPI + Typed + Helpers - Build fully type-safe REST APIs with NestJS
NZOTH: Nest + Zod + OpenAPI + Typed + Helpers
A collection of NestJS utilities for building RESTful APIs with support for filtering, pagination, sorting, type-safe request/response validation, and OpenAPI schema registration using Zod. Allows registering Zod schemas with OpenAPI metadata for automatic documentation generation.
NZOTH combines the best of all worlds:
Our goal is to provide a type-safe API solution that's easy to use while still being compatible with various languages and tools. NZOTH offers a simple yet powerful alternative to solutions like tRPC and GraphQL for projects that need REST APIs with strong typing.
npm install @lonestone/nzoth
# or
yarn add @lonestone/nzoth
# or
pnpm add @lonestone/nzoth
import { TypedRoute, TypedBody } from '@lonestone/nzoth/server';
import { z } from 'zod';
const UserSchema = z.object({
id: z.string().uuid(),
name: z.string().min(3),
email: z.string().email(),
});
@Controller('users')
class UserController {
@TypedRoute.Get(undefined, UserSchema.array())
findAll(): User[] {
return this.userService.findAll();
}
@TypedRoute.Post('/', UserSchema)
create(@TypedBody(UserSchema.omit({ id: true })) dto: CreateUserDto): User {
return this.userService.create(dto);
}
}
For full documentation, examples, and API reference, visit the GitHub repository.
UNLICENSED - ©Lonestone - Pierrick Bignet
FAQs
NZOTH: Nest + Zod + OpenAPI + Typed + Helpers - Build fully type-safe REST APIs with NestJS
The npm package @lonestone/nzoth receives a total of 93 weekly downloads. As such, @lonestone/nzoth popularity was classified as not popular.
We found that @lonestone/nzoth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.