
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
graylog-koa-client
Advanced tools
Add following env variable ``` LOGGING_HOST=your.graylog.server.endpoint LOGGING_PORT=your.graylog.server.port LOGGING_SERVICE=your-service-api NODE_ENV=staging ```
Add following env variable
LOGGING_HOST=your.graylog.server.endpoint
LOGGING_PORT=your.graylog.server.port
LOGGING_SERVICE=your-service-api
NODE_ENV=staging
var Koa = require('koa');
var Router = require('koa-router');
var {loggingMiddleware, info, error, configLogger} = require('graylog-koa-config')
configLogger({
host: 'your graylog host',
port: 12201,
service: 'your service name', // It will become filed `SERVICE` in Graylog
env: process.env.NODE_ENV
})
var app = new Koa();
var router = new Router();
router.get('/', (ctx, next) => {
ctx.logging.start = 1
info("This is info log")
ctx.logging.anything = "sfdfdfd" // this is access log data
ctx.body = "Hello"
ctx.logging.end = 100
error("This Error Log")
info("This is info log with data", "sdfd", "dfdf", {c: 3})
});
router.get('/error', (ctx, next) => {
ctx.logging.currentUser = "John Doe"
// ... do something
ctx.logging.anything = "sfdfdfd"
// ... do something
throw new Error("Error")
ctx.body = "Hello"
ctx.logging.end = 100
});
app
.use(loggingMiddleware) // add logging middleware to support ctx.logging
.use(router.routes())
.use(router.allowedMethods());
app.listen(3000);
Use following query
SERVICE:your-service-api
FAQs
Add following env variable ``` LOGGING_HOST=your.graylog.server.endpoint LOGGING_PORT=your.graylog.server.port LOGGING_SERVICE=your-service-api NODE_ENV=staging ```
The npm package graylog-koa-client receives a total of 6 weekly downloads. As such, graylog-koa-client popularity was classified as not popular.
We found that graylog-koa-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.