
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@tsrt/logger
Advanced tools
Common customizable logger built on top of awesome Winston.
Until version 1.0.0 Api should be considered as unstable and may be changed.
So prefer using exact version instead of version with ~ or ^.
import { Logger } from '@tsrt/logger';
const log = new Logger({
...
});
export declare class Logger {
constructor(settings?: ILoggerSettings);
/** Method to setup/update settings after Logger instance was created. */
setup(settings?: ILoggerSettings): void;
debug(message: any, _title?: string): Logger;
verbose(message: any, _title?: string): Logger;
info(message: any, _title?: string): Logger;
warn(message: any, _title?: string): Logger;
error(message: any, _title?: string): Logger;
}
export declare type LoggerLevels = 'verbose' | 'debug' | 'info' | 'warn' | 'error';
export interface ILoggerSettings {
/** `Winston` Logger level. @default debug. */
level?: LoggerLevels;
/** `Winston` Logger env. @default dev. */
env?: string;
/** Whether Logger in `prod` mode. In prod mode there is no beautify options used. @default false. */
prod?: boolean;
/** Service name, where `Logger` is used. */
service?: string;
/** Whether to add Winston `Console` transport by default. @default true. */
console?: boolean;
/** Whether to apply custom format. @default true. */
customFormat?: boolean;
/** `Winston` Logger `silent` option. @default false. */
silent?: boolean;
/** Other `Winston` options. */
winstonOptions?: LoggerOptions;
}
This project is licensed under the terms of the MIT license.
FAQs
Typescript Reusable Tools: logger
The npm package @tsrt/logger receives a total of 2 weekly downloads. As such, @tsrt/logger popularity was classified as not popular.
We found that @tsrt/logger 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.