Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
JavaScript Bindings for the LevelZ File Format
Provides JavaScript bindings for the LevelZ File Format.
# NPM
npm install levelz-js
# Yarn
yarn add levelz-js
# Bun
bun install levelz-js
<!-- Use Minified Version -->
<script src="https://levelz-file.github.io/js-bindings/levelz.min.js"></script>
<!-- Use Readable Version -->
<script src="https://levelz-file.github.io/js-bindings/levelz.js"></script>
import { Coordinate2D } from 'levelz-js';
const coordinate = new Coordinate2D(1, 2);
console.log(coordinate.toString()); // [1, 2]
import * as fs from 'fs';
import { parseLevel } from 'levelz-js';
const txt = fs.readFileSync('my_level.lvlz', { encoding: 'utf-8' });
const level = parseLevel(txt);
console.log(level.headers.get('type')) // 3
import * as LevelZ from 'levelz-js'
const coordinate3D = new LevelZ.Coordinate3D(1, 2, 3);
console.log(coordinate3D.toString()); // [1, 2, 3]
const level = new LevelZ.Level2D({'type': '3', 'spawn', '[0, 0, 0]'});
console.log(level.toString()); // @type 3, @spawn [0, 0, 0]
FAQs
JavaScript Bindings for the LevelZ File Format
We found that levelz-js demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.