
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
One logger, many outlets
npm i loguno # includes type definitions for TypeScript support
./
|__index.js
|__moduleA.js
|__moduleB.js
/* index.js */
import { Level, Logger, Template } from "loguno";
import moduleA from "./moduleA";
import moduleB from "./moduleB";
Logger.addOutlet("index", "var/index.log", {
isolated: false,
threshold: Level.WARN,
template: Template.dlom
});
Logger.logWarn("Message sent from 'index.js'");
Logger.logDebug("Given this outlet's threshold, this will not appear on 'index.log'");
moduleA();
moduleB();
/* moduleA.js */
import { Logger, Level, Template } from "loguno";
export default function main() {
Logger.addOutlet("moduleA", "var/moduleA.log", {
isolated: true,
threshold: Level.TRACE,
template: Template.lm
});
Logger.logInfo("Message sent from 'moduleA.js'. This will only appear on 'moduleA.log'");
Logger.logWarn("This will appear on both 'index.log' and 'moduleA.log'");
}
/* moduleB.js */
import { Logger } from "loguno";
export default function main() {
Logger.logWarn("This will only appear on 'index.log'");
}
node index.js
Since Logger starts with one outlet to stdout by default, running the above example would log
the following to stdout:

The following diagram illustrates what happened:
See here.
FAQs
One logger, many outlets
We found that loguno 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.