
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.
@genesislcap/foundation-logger
Advanced tools
foundation-logger
provides a logging utility that currently wraps version 2 of consola.
To enable this module in your application, follow the steps below.
@genesislcap/foundation-logger
as a dependency in your package.json
file. Whenever you change the dependencies of your project, ensure you run the $ npm run bootstrap
command again. You can find more information in the package.json basics page.{
...
"dependencies": {
...
"@genesislcap/foundation-logger": "latest"
...
},
...
}
import { createLogger } from '@genesislcap/foundation-logger';
export const logger = createLogger('my-package');
The logger will be set to LogLevel.Debug
by default, however you can pass options as the second parameter to tailor this.
export const logger = createLogger('my-package', { level: LogLevel.Debug, ... });
LoggerOptions
type extends the ConsolaOptions
type.
import { logger } from '../utils';
...
logger.debug('Checks complete');
import { logger as commsLogger } from '@genesislcap/foundation-comms';
import { logger as storeLogger } from '@genesislcap/foundation-store';
import { LogLevel } from '@genesislcap/foundation-logger';
commsLogger.level = LogLevel.Warn;
storeLogger.level = LogLevel.Silent;
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact Genesis Global for more details.
Genesis low-code platform
FAQs
Genesis Foundation Logger
The npm package @genesislcap/foundation-logger receives a total of 7,902 weekly downloads. As such, @genesislcap/foundation-logger popularity was classified as popular.
We found that @genesislcap/foundation-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.