This is a fork of clauderic/react-sortable-hoc,
which upstream has deprecated in favour of dnd-kit.
No upstream security patches are coming, so the notes below are the current state of this fork.
package-lock.jsonis now committed. Previously everynpm installre-resolved ~1200 packages from caret ranges, so no two installs were guaranteed identical and a compromised transitive release could land silently. All entries are pinned withintegrityhashes and resolve toregistry.npmjs.org.- The dev server binds to loopback.
server.jspreviously listened on all interfaces. It relies onwebpack-dev-middleware@1.x, which has a known path traversal (GHSA-wr3j-pwj9-hqq6), so on a shared network it exposed arbitrary file reads. Binding to127.0.0.1removes the network path. - CI installs with
npm ci --ignore-scriptson a supported Node LTS, instead of an unpinnednpm installon Node 5 (EOL June 2016).
npm audit reports 170 advisories (67 critical, 47 high). These are almost entirely
build- and dev-time dependencies; none are reachable from the library code shipped to
consumers (dist/). The runtime source has no eval, no innerHTML/dangerouslySetInnerHTML,
and no child_process usage.
They are not patched because the toolchain is pinned to 2017: npm audit fix --force
cascades into a webpack 1 -> 5 and Babel 6 -> 7 migration. The root advisories are
babel-traverse (arbitrary code execution at build time), loader-utils, minimist,
tar, underscore, and webpack-dev-middleware.
Four packages run install scripts: core-js, es5-ext, fsevents, node-sass.
--ignore-scripts is safe in CI because CI only lints. It is not sufficient for a
full local build — node-sass@3.x needs its postinstall step to fetch a native
binding, and it is long past EOL. Use npm ci without the flag locally if you must
build, and prefer a container.
npm ci --ignore-scripts # lint / CI
npm ci # only when you need to build; runs native postinstallsThese cannot be checked from the source tree and are the likeliest paths to real access:
- Travis CI OAuth grant.
.travis.ymlnever held encrypted secrets, but the GitHub OAuth grant issued when Travis was connected may still be active with write scope. Travis.orgis defunct. Verify atgithub.com/organizations/<org>/settings/oauth_application_policyand revoke if present. - GitHub Pages. The
gh-pagesbranch contains an accidental 66k-filenode_modulescommit (upstream, 2017) including prebuilt.nodenative binaries for macOS x64. It contains no credentials, but if Pages is still enabled it serves those publicly. - Downstream pinning. This fork never renamed the package:
package.jsonstill readsreact-sortable-hoc@0.6.8pointing at the upstream repo, so it is consumed via git reference rather than npm. Confirm consumers pin a tag or commit SHA, not a branch.
Report suspected vulnerabilities to the repository owners directly rather than opening a public issue.