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.
npm install quoridor
Generates a game from an array of moves. Does not validate the moves.
import { createGameFromMoves, getAsciiRepresentation } from 'quoridor';
const game = createGameFromMoves(['e2', 'e8', 'd7v']);
console.log(getAsciiRepresentation(game));
┌───╫───╫───╫───╫───╫───╫───╫───╫───╫───╫───┐
│ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ │
│ ┌───┬───┬───┬───┬───┬───┬───┬───┬───┐ │
│ 9 │ │ │ │ │ │ │ │ │ │ │
│ ├───┼───┼───┼───┼───┼───┼───┼───┼───┤ │
│ 8 │ │ │ │ │ │ │ │ │ │ │
│ ├───┼───┼───┼───┼───┼───┼───┼───┼───┤ │
│ 7 │ │ │ │ ║ 2 │ │ │ │ │ │
│ ├───┼───┼───┼───╫───┼───┼───┼───┼───┤ │
│ 6 │ │ │ │ ║ │ │ │ │ │ │
│ ├───┼───┼───┼───┼───┼───┼───┼───┼───┤ │
│ 5 │ │ │ │ │ │ │ │ │ │ │
│ ├───┼───┼───┼───┼───┼───┼───┼───┼───┤ │
│ 4 │ │ │ │ │ │ │ │ │ │ │
│ ├───┼───┼───┼───┼───┼───┼───┼───┼───┤ │
│ 3 │ │ │ │ │ 1 │ │ │ │ │ │
│ ├───┼───┼───┼───┼───┼───┼───┼───┼───┤ │
│ 2 │ │ │ │ │ │ │ │ │ │ │
│ ├───┼───┼───┼───┼───┼───┼───┼───┼───┤ │
│ 1 │ │ │ │ │ │ │ │ │ │ │
│ └───┴───┴───┴───┴───┴───┴───┴───┴───┘ │
│ ║ A ║ B ║ C ║ D ║ E ║ F ║ G ║ H ║ I │
└───╫───╫───╫───╫───╫───╫───╫───╫───╫───────┘
Check that linting, formatting, build and tests pass
npm run lint
npm run format
npm run build
npm test
Bump version
npm version [major | minor | patch]
Publish to NPM
npm publish
FAQs
A JavaScipt Quoridor library for move validation etc.
The npm package quoridor receives a total of 8 weekly downloads. As such, quoridor popularity was classified as not popular.
We found that quoridor 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.
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.