
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.
construction
Advanced tools
:construction: Interface with binary structures in Javascript, built for network protocols.
:construction: Interface with binary structures in Javascript, built for network protocols.
struct User {
uint8_t age;
int32_t favouriteNumber;
}
const Construction = requrie("construction");
const t = Construction.types;
const User = new Construction("LE", {
age: t.UInt8;
favouriteNumber: t.Int32
});
Create a new construction object.
// Endianness can be "LE" or "BE"
const User = new Construction("LE", {
age: t.UInt8,
favouriteNumber: t.Int32
});
Convert a javascript object to a binary buffer.
const buffer = User.write({
age: 15,
favouriteNumber: 1000000
});
console.log(buffer);
// <Buffer 0f 40 42 0f 00>
Convert a binary buffer to a javascript object.
const user = User.read(Buffer.from("0f40420f00", "hex"));
console.log(user);
// { age: 15, favouriteNumber: 1000000 }
FAQs
:construction: Interface with binary structures in Javascript, built for network protocols.
We found that construction 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
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.