
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@cloudflight/angular-logger
Advanced tools
Angular wrapper for @cloudflight/logger
.
npm install --save @cloudflight/angular-logger
# or
yarn add @cloudflight/angular-logger
# or
pnpm add @cloudflight/angular-logger
import {Component} from '@angular/core';
@Component({})
class HAL {
public constructor(private readonly logger: Logger) {}
public apoligize() {
this.logger.info('HAL', `I'm sorry Dave. I'm afraid I can't do that.`);
}
}
import {NgModule} from '@angular/core';
import {LoggerModule} from '@cloudflight/angular-logger';
@NgModule({
imports: [
LoggerModule.forRoot({
consumers: [
// ...
],
}),
],
})
class AppModule {}
import {NgModule} from '@angular/core';
import {globalLogger, LogConsumer, Logger} from '@cloudflight/angular-logger';
@NgModule({
providers: [
// this is the default
{
provide: Logger,
useValue: globalLogger,
},
],
})
class MyModule {}
import {APP_INITIALIZER, NgModule} from '@angular/core';
import {LogConsumer, Logger} from '@cloudflight/angular-logger';
@NgModule({
providers: [
MyConsumerClass,
{
provide: APP_INITIALIZER,
useFactory: (logger: Logger, consumer: MyConsumerClass) => () => {
logger.addConsumer(consumer);
},
deps: [Logger, MyConsumerClass],
multi: true,
},
],
})
class MyModule {}
FAQs
Unknown package
The npm package @cloudflight/angular-logger receives a total of 29 weekly downloads. As such, @cloudflight/angular-logger popularity was classified as not popular.
We found that @cloudflight/angular-logger demonstrated a not healthy version release cadence and project activity because the last version was released 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.