Scan your whole stack
From OX Research Newsroom
Are you using bin-links?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v5.0.1
bin-links was last scanned on 26 Oct 2026 at version 5.0.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 5.0.1 LATEST | 26 Oct 2026 | No rules fired |
| 7.0.1 | 21 Oct 2026 | No rules fired |
| 6.0.2 | 20 May 2026 | Not shown |
Findings for v5.0.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 5.0.1; other versions have their own rules, not their own score.
0 CRITICAL 0 HIGH 0 MEDIUM 3 LOW
The publisher’s own README, as collected from the registry.
bin-links is a standalone library that links
binaries for JavaScript packages
$ npm install bin-links
binLinksbinLinks.getPaths()binLinks.checkBins()const binLinks = require('bin-links')
const readPackageJson = require('read-package-json-fast')
binLinks({
path: '/path/to/node_modules/some-package',
pkg: readPackageJson('/path/to/node_modules/some-package/package.json'),
// true if it's a global install, false for local. default: false
global: true,
// true if it's the top level package being installed, false otherwise
top: true,
// true if you'd like to recklessly overwrite files.
force: true,
})
bin property of pkg to the
node_modules/.bin directory of the installing environment. (Or
${prefix}/bin for top level global packages on unix, and ${prefix}
for top level global packages on Windows.)bin-links no longer installs man pages. Global installs
used to create symlinks under ${prefix}/share/man; this is no longer
done. Pre-existing man symlinks from older installs are still
reported by getPaths() so that npm uninstall -g can clean them up.The npm team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The Contributor Guide has all the information you need for everything from reporting bugs to contributing entire new features. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.
> binLinks({path, pkg, force, global, top})Returns a Promise that resolves when the requisite things have been linked.
> binLinks.getPaths({path, pkg, global, top })Returns an array of all the paths of links and shims that might be created (assuming that they exist!) for the package at the specified path.
Does not touch the filesystem.
> binLinks.checkBins({path, pkg, global, top, force })Checks if there are any conflicting bins which will prevent the linking of bins for the given package. Returns a Promise that resolves with no value if the way is clear, and rejects if there's something in the way.
Always returns successfully if global or top are false, or if force
is true, or if the pkg object does not contain any bins to link.
Note that changes to the file system may still cause the binLinks
method to fail even if this method succeeds. Does not check for
conflicting man links.
Reads from the filesystem but does not make any changes.
binLinks({path, pkg, force, global, top}).then(() => console.log('bins linked!')) Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.