
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
Wraps modules, and other objects, full of callback functions in promises.
let fun = (x, cb) => cb(null, x)
let _module = {fun, prop: 'test'}
test('test basics', async t => {
t.plan(4)
let mod = promwrap(_module)
t.same(mod.prop, 'test')
t.same(mod.prop, 'test')
t.same(await mod.fun('test1'), 'test1')
t.same(await promwrap(fun)('test2'), 'test2')
})
promwrap(value<T>, {exclude: string[]|string, excludeMain: bool, own: bool}): TPromisify all function properties of value. If value is a Function,
it will be promisified instead. Members of Object.prototype are not
promisified.
Returns value, wrapped by a Proxy.
exclude is supplied, do not promisify this prop/list of props.excludeMain is truthy and value is a Function, treat value like a
plain Object and promisify its props instead of value itself. In
addition, members of Function.prototype will not be promisified.own is truthy, only promisify the Object's "own" (in the
Object.hasOwnProperty() sense) propsFAQs
Proxy-Powered Promisification for your Pleasure
We found that promwrap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

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.