
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
HTTP Client For Kong Api Gateway
King is a small library for managing api
, consumer
and plugin
configuration of a KONG cluster.
The primary purpose is to keep API configuration in sync by either creating or updating records using the kong
admin api.
It is not intended to configure kong servers
Version 2.x targest Kong v0.10.0+, for Kong v0.9.0, use Version 1.x of this project
A kingkong
instance can take multiple hosts and will round-robbin between them. Currently it will not remove hosts that fail to respond.
require('util');
var King = require('kingkong');
var k = new King({
hosts:'http://localhost:8001, http://localhost:8002'
,sync:true // auto sync configuration
,apis:[{
"upstream_url": "http://127.0.0.1:3000/api/v1",
"request_path": "/fakeservice",
"strip_request_path": true,
"name": "integration",
"plugins":{
"http-log":{
config:{
http_endpoint:'http://127.0.0.1:3005',
method:'POST'
}
}
}
}]
,onSync: function(){
console.log('synced');
}
});
You can fetch all apis currently registered using the list
method
var King = require('kingkong')
var k = new King({
hosts:['http://localhost:8001', 'http://localhost:8002']
});
k.list('apis').then( console.log)
You can fetch all Plugins currently registered using the list
method
var King = require('kingkong')
var k = new King({
hosts:['http://localhost:8001', 'http://localhost:8002']
});
k.list('plugins').then( console.log )
You can fetch all Consumers currently registered using the list
method
var King = require('kingkong')
var k = new King({
hosts:['http://localhost:8001', 'http://localhost:8002']
});
k.list('consumers').then( console.log )
FAQs
Generator based HTTP client for the Kong API Gateway
We found that kingkong demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.