
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
Modern & Simple RPC Library for aria2.
maria2 can control aria2c by its RPC interface.
4.12KB after minified)bun i maria2
pnpm i maria2
yarn add maria2
npm i maria2
aria2c with RPC options, for examplearia2c --enable-rpc=true --rpc-listen-all=true --rpc-allow-origin-all=true --rpc-listen-port=6800
import { aria2, close, createWebSocket, open } from 'maria2'
const conn = await open(createWebSocket('ws://localhost:6800/jsonrpc'))
const version = await aria2.getVersion(conn)
console.log(version)
close(conn)
import { aria2, close, createHTTP, open } from '.'
const conn = await open(createHTTP('ws://localhost:6800/jsonrpc'))
const version = await aria2.getVersion(conn)
console.log(version)
close(conn)
import { close, open, system } from 'maria2'
const conn = await open(
new WebSocket('ws://localhost:6800/jsonrpc')
)
// All typed
const [result0, result1] = await system.multicall({
methodName: 'aria2.getVersion',
params: []
}, {
methodName: 'aria2.getGlobalStat',
params: []
})
close(conn)
MIT License © 2023-present Hydration
FAQs
Simple and Light RPC Library for aria2
The npm package maria2 receives a total of 1,160 weekly downloads. As such, maria2 popularity was classified as popular.
We found that maria2 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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.