
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.
colored-logging
Advanced tools
A simple logger utility for logging messages with different log levels.
To install the Logger
package, run the following command:
npm install logger
Here is an example of how to use the Logger class:
const Logger = require('logger');
// Create a new instance of the Logger
const logger = new Logger('MyProject');
// Log an informational message
logger.info('This is an informational message.');
// Log a warning message
logger.warn('This is a warning message.');
// Log an error message
logger.error('This is an error message.');
// Log a message with additional data
const data = { key: 'value' };
logger.info('This is a message with additional data:', data);
The Logger class provides logging functionality with different log levels.
new Logger(projectName: string): Creates a new instance of the Logger class with the specified projectName.
You can install the Logger package via npm:
npm install logger
Contributions are welcome! Please feel free to submit a pull request.
This project is licensed under the ISC License.
If you encounter any issues or have any questions, please create an issue on the GitHub repository.
This project follows the principles of Semantic Versioning.
FAQs
colored logging
The npm package colored-logging receives a total of 1 weekly downloads. As such, colored-logging popularity was classified as not popular.
We found that colored-logging demonstrated a not healthy version release cadence and project activity because the last version was released 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.