
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.
@sourceregistry/node-logger
Advanced tools
Advanced, pluggable logger for Node.js with multiple transport and formatting options. [WIP]
A powerful, pluggable TypeScript logger for Node.js applications.
Supports JSON, text, CEF, and Syslog formatting, multiple transport targets (console, file, HTTP, Elasticsearch), and auto-flush strategies for production-grade logging.
TRACE, DEBUG, INFO, WARN, ERROR, FATALJSONFormatter – machine-readableTextFormatter – human-friendlyCEFFormatter – Common Event Format for SIEMSyslogFormatter – Syslog-compatible formatConsoleTransportFileTransport, BufferedFileTransport, SmartFileTransportHTTPTransport, ElasticsearchTransportWorkerTransport – offload to worker threadnpm install @sourceregistry/node-logger
import { Console, LogLevel } from '@sourceregistry/node-logger';
const logger = Console(LogLevel.DEBUG);
logger.info('App started');
logger.debug('Debugging details');
import { File } from '@sourceregistry/node-logger';
const fileLogger = File('./logs/app.log');
fileLogger.info('Writing to log file');
import { Elasticsearch } from '@sourceregistry/node-logger';
const esLogger = Elasticsearch({
endpoint: 'https://es.example.com/_bulk',
apiKey: 'your-api-key',
index: 'logs'
});
esLogger.error('Something went wrong!');
import { SmartFileTransport, Logger, LogLevel } from '@sourceregistry/node-logger';
const logger = new Logger(LogLevel.INFO, [
new SmartFileTransport('./logs/smart.log', undefined, LogLevel.INFO, {
enabled: true,
interval: 5000,
onSize: 50,
onLevel: LogLevel.ERROR,
onIdle: 10000
})
]);
// DEMONSTRATION:
logger.info('This will be buffered');
logger.debug('This will also be buffered');
// ... After 5 seconds, both logs auto-flush to disk
logger.error('This flushes immediately!'); // Because onLevel: ERROR
logger.warn('This will auto-flush based on smart rules'); // Because onLevel: WARNING
const taggedLogger = logger.withTags('auth', 'payment');
taggedLogger.info('User logged in');
process.on('SIGTERM', async () => {
await logger.close();
process.exit(0);
});
Apache-2.0
We welcome issues, feature requests, and pull requests!
FAQs
Advanced, pluggable logger for Node.js with multiple transport and formatting options. [WIP]
We found that @sourceregistry/node-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
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.