
Security News
OpenClaw Advisory Surge Highlights Gaps Between GHSA and CVE Tracking
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.
@vltpkg/cmd-shim
Advanced tools
This is a module for writing .cmd and .ps1 shims for executables
on Windows, since shebangs are not supported on Windows, and thus
symlinks are not sufficient for running executables.
This module doesn't do anything on non-Windows platforms.
On Windows platforms, it parses the #! (shebang) line of a script,
and figures out how to write the appropriate .cmd shim for it.
The behavior is just like creating a symlink, and it'll clobber anything in its way.
It can also be used to determine which package a shim points to (assuming it was created by vlt).
import { cmdShim, findSource } from '@vltpkg/cmd-shim'
const binFile = 'node_modules/some-pkg/bin/foo.js'
const target = 'node_modules/.bin/foo'
await cmdShim(binFile, target)
// now the file is there
assert(statSync(target).isFile())
// prints: 'node_modules/some-pkg'
console.error(await findSource(target))
FAQs
Executable script shims for Windows
We found that @vltpkg/cmd-shim demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.