
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
simple-kd-tree
Advanced tools
k-dimensions-tree k维分割树,用于大量数据情景下的空间搜索
const points = [
{ z: 1, y: 2, x: 110 },
{ z: 1, y: 2, x: 222 },
{ z: 1, y: 2, x: 333 },
];
function distance(a, b) {
var dx = a.x - b.x;
var dz = a.z - b.z;
return Math.sqrt(dx * dx + dz * dz);
}
const tree = new SimpleKDTree(points, distance, ["x", "z"]);
const searchTarget = {x:0,y:0,z:0}
const result = tree.nearest(searchTarget,300) // [[Node, 110.00454536063498],[Node, 222.00225224082752]]
FAQs
轻量化kd-tree搜索方法
The npm package simple-kd-tree receives a total of 1 weekly downloads. As such, simple-kd-tree popularity was classified as not popular.
We found that simple-kd-tree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.