
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.
@sebgroup/ng-debug
Advanced tools
[](https://travis-ci.com/sebgroup/ng-debug) 
This is a thin debug menu library for Angular applications and libraries. It provides simple way to add various hidden debug/developer options and a menu to enable them.
npm i --save @sebgroup/ng-debug
To enable debug menu in your application, simply import module in AppModule:
@NgModule({
//...
imports: [
BrowserModule,
NgDebugModule.forRoot(),
],
//...
})
Then, by default it can be opened in 3 ways:
dbg
simultaniously (keyword
can be changed)ngdbg()
('ng' + keyword
)keyword
: http://localhost:4200/#dbg
*ngDebug
directiveLibrary includes *ngDebug
directive,
which can be toggled with Debug Info
menu item.
It alows displaying info icons with tooltips containing any kind of object, printing object to console.
<div *ngDebug="user" >
{{user.firstName}} {{user.lastName}}
</div>
To add debug functionality to menu, you need to provide NgDebugConfig
object in your app or library:
import { NgDebugConfig, DEBUG_CONFIG } from '@sebgroup/ng-debug';
const appDebugConfig: NgDebugConfig = {
name: 'ng-debug demo app',
items: [
{ id: 'yodaMode', name: 'Yoda Mode', type: 'checkbox' },
{ id: 'color', name: 'Color', type: 'text' },
]
};
@NgModule({
providers: [{ provide: DEBUG_CONFIG, multi: true, useValue: appDebugConfig }],
//...
})
Then, to receive value changes of debug item, subscribe to them:
this.debugService.getFilteredObservable('color')
.subscribe((v) => this.color = v );
Released using semantic release
SEB, ISD Channels, Branch Channels team.
FAQs
[](https://travis-ci.com/sebgroup/ng-debug) 
We found that @sebgroup/ng-debug demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.