
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.
Kmder is a CLI runner that aims to make writing, executing and distributing CLI commands a breeze. :palm_tree:
Install with yarn:
yarn global add kmder
or with npm:
npm install kmder --global
> kmd help
<kmd> <..args> Execute kmd
ls List available kmd(s)
help Display help
source Manage kmd sources
version List kmd version
reset Reset sources and settings
Browse kmder-kmds for additional command examples.
The following defines the declarative fx command which retrieves current exchange rates for the given currencies:
// fx.json
{
"type": "http",
"url": "https://api.fixer.io/latest?base={0}&symbols={1}",
"jp": "$.rates.{1}"
}
> kmd fx USD GPB
0.73792
// user.json
{
"type": "mysql",
"connection": {
"host": "db.example.com",
"user": "kmdertest",
"password": "kmder-test",
"database": "kmdertest"
},
"query": "SELECT user_name, first, last FROM `users` WHERE `user_name` LIKE '%{0}%'"
}
> kmd user bsmith
----------------------------
user_name | first | last |
----------------------------
bsmith | Brandon | Smith
The following defines the max command which returns the maximum value passed to the command. This example shows that a command can be custom, arbitrary JavaScript:
// max.js
module.exports.run = (args) => {
return Math.max(...args)
}
> kmd max -5 5 9 99 -99
99
Browse the wiki for full documentation:
MIT © Brandon Smith
FAQs
Unknown package
The npm package kmder receives a total of 8 weekly downloads. As such, kmder popularity was classified as not popular.
We found that kmder 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
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.