
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Node.js based filesystem backend for document archives (Dar). You can find examples here.
$ git clone https://github.com/substance/dar-server.git
$ cd dar-server
$ npm install
let express = require('express')
let darServer = require('dar-server')
let path = require('path')
const port = 4000
const rootDir = path.resolve(path.join(__dirname, 'archives'))
let app = express()
darServer.serve(app, {
port,
serverUrl: 'http://localhost:' + port,
rootDir
})
app.listen(port, () => {
console.log(`Running dar-server on port ${port}`)
})
To avoid name clashes with your own express end-points you can provide an apiUrl
darServer.serve(app, {
port,
serverUrl: 'http://localhost:' + port,
rootDir,
apiUrl: '/archives'
})
This module comes with a command-line tool that starts dar-server
in a new express instance.
$ npm install -g dar-server
$ dar-server ./my-archives
DAR server is running on http://localhost:4100
To start you could take the examples from the DAR repository:
git clone https://github.com/substance/dar.git
and then start the dar-server using
dar-server ./dar/examples
After that you should be able to open
http://localhost:4100/!list
in the browser and see a listing of found archives.
Notice, that dar-server
is just a backend for serving archives.
To be able to read and edit the context you need to use Texture.
FAQs
Filesystem backend for document archive
The npm package dar-server receives a total of 103 weekly downloads. As such, dar-server popularity was classified as not popular.
We found that dar-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.