
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
CLI tool to use cache for cli-commands to prevent long running commands from executing unnecessarily
cache-sh is a command line tool for caching shell commands. It can be used to cache the results of any shell command, reducing the time it takes to run repetitive tasks.
npm install -g cache-sh
Here are some examples of how you can use cache-sh with prisma generate and
tsc.
cache-sh -i "{./prisma/schema.prisma,node_modules/**/.prisma/client/**/*.*}" \
pnpm prisma generate
In this example cache-sh will check if the prisma/schema.prisma file AND the
generated .prisma/client has changed and exists, since the last time
prisma generate was run.
If it hasn't, cache-sh will skip running the command and use the cached result
instead.
cache-sh -i "{src/**/*,dist/**/*}" tsc
In this example, cache-sh will check if any .ts files in the src directory
have changed since the last time tsc was run. If they haven't, cache-sh will
skip running the command and assume you can use what's already there, instead.
-i, --input <input>: glob that's used as input to check whether the existing
files need to be updated-C, --config <path>: set the config path (default: "cwd/.cache-sh")-f, --force: ignore the cache the command-c, --clear: clear the cache-d, --cwd <path>: set the current working directory-V, --version: output the version number-h, --help: display help for commandThe command to execute and cache.
FAQs
CLI tool to use cache for cli-commands to prevent long running commands from executing unnecessarily
The npm package cache-sh receives a total of 7 weekly downloads. As such, cache-sh popularity was classified as not popular.
We found that cache-sh 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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.