Scan your whole stack
From OX Research Newsroom
Are you using @holz/log-collector?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.11.2-rc.27.sha-2828ac4
@holz/log-collector was last scanned on 27 Nov 2026 at version 0.11.2-rc.27.sha-2828ac4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.11.2-rc.27.sha-2828ac4 LATEST | 27 Nov 2026 | No rules fired |
| 0.11.2-rc.26.sha-023d174 | 25 Nov 2026 | No rules fired |
| 0.11.2-rc.25.sha-445e25f | 23 Nov 2026 | No rules fired |
| 0.11.2-rc.24.sha-8ad739b | 22 Nov 2026 | Not shown |
| 0.11.2-rc.23.sha-dcb8b2e | 22 Nov 2026 | Not shown |
Findings for v0.11.2-rc.27.sha-2828ac4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.11.2-rc.27.sha-2828ac4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@holz/log-collectorSupports replacing the global logging destination for all loggers in your app.
Let's say you're building an app, and your app uses libraries that manage logs with Holz. Your app uploads logs to a central logging backend and you want to include logs from some of those libraries. That's where @holz/log-collector comes in.
On startup you set a global log collector. Libraries detect this automatically and replace their log destination with whatever you provide. Now you control all logs and can selectively upload to your backend.
Other use cases:
Set a global log collector as soon as the app starts. This is typically done in the main entry file of your app.
import { setGlobalLogCollector } from '@holz/log-collector';
setGlobalLogCollector({
// Called for every log in your app so long as `condition` returns true.
processor: (log) => {
// ...
},
// [Optional] Decide which logs to collect. Defaults to all logs.
condition: (log) => log.origin[0] === 'some-library',
});
condition returns true. The signature is a Holz plugin, which means you can pass your app's log pipeline verbatim (whatever you passed to createLogger).false, logs are sent to their original destination.To remove a global log collector and restore defaults, call unsetGlobalLogCollector:
import { unsetGlobalLogCollector } from '@holz/log-collector';
unsetGlobalLogCollector();
This is primarily used in tests.
[!NOTE] This plugin is included by default with
@holz/logger.
This should be the first plugin in your log pipeline.
import { createLogCollector } from '@holz/log-collector';
import { createLogger } from '@holz/core';
const logger = createLogger(
createLogCollector({
fallback: (log) => {
// Default log backend. Called if no global log collector is set.
},
}),
);
condition returns false. This is the default log backend. The signature is a Holz plugin.The expectation is the collector captures logs before any side effects happen, such as logging to the console or sending to a file.
Be aware that logger.withMiddleware(...) runs before the default logging backend, so take care to avoid side effects in those handlers.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.