
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.
**Barad-dur** is a tool designed for NestJS projects that provides a comprehensive log of queries in the TypeORM ORM.
Barad-dur is a tool designed for NestJS projects that provides a comprehensive log of queries in the TypeORM ORM.
npm i barad-dur
To configure Barad-dur, you need to integrate it into your NestJS project as shown below:
@Module({
imports: [
...,
BaradDurModule.register({
url: 'redis://YOUR_REDIS_IP', // redis_url
password: 'YOUR_REDIS_PASSWORD', // redis_password
tracking: {
socketPort: 9191,
fetchKeyFromToken: string | (req:express.Request) => string, // 'YOUR_CLAIM_IN_TOKEN'
}
}),
...
],
...
})
export class AppModule { }
This tool requires Redis to track query timings. The Redis connection is configured using the provided url and password values.
Tracking also requires a socket connection. A client listening on the other end will receive the tracking data for the user.
To display the logs, you'll need a separate application that receives the logs and transforms them into a UI for visualization. You can get such a program from the following repository:
https://gitlab.com/bakhshabadi.javad/analyse-backend
Tracking user
Api duration
Api counter
Query duration
Query duration
Simply set up the environment for this project by pointing it to your own project's address and use the same port that was set in the configuration.
NestJS, TypeORM, logging, query tracking, Redis, API tracking, microservices, performance monitoring
FAQs
**Barad-dur** is a tool designed for NestJS projects that provides a comprehensive log of queries in the TypeORM ORM.
We found that barad-dur demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.