
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Dat shell. Open a remote dat and explore with cd, ls, etc.
dat-shell is part of the dat Peer-to-Peer universe. It's useful to explore remote dats by their key without having to download them. Think of it as bash for dats, letting you cd, ls and cp at will.

$ npm install --global dat-shell
You'll need node 8.9.1 (LTS) or above. I suggest using n-install to install the n node version manager.
You'll probably need git too since we're using my (temporary) fork of glob to support hyperdrives (dat archives), and that fork is only available on github and not (yet) on npm. See below to help merge my glob fork.
$ dat-shell <dat-key> # dat-key is optionnal
For example, you can access this readme and scripts at: dat://ae8c136e04a66451c79325681d4593bc3ce30c8005dfa5fc6001e0898ec4573a
$ dat-shell dat://ae8c136e04a66451c79325681d4593bc3ce30c8005dfa5fc6001e0898ec4573a
# or
$ dat-shell ae8c136e04a66451c79325681d4593bc3ce30c8005dfa5fc6001e0898ec4573a
# or
$ dat-shell dat://dat-shell-millette.hashbase.io/
You might wonder about dat://dat-shell-millette.hashbase.io/ but it's perfectly valid since the hostname maps to the ae8c...573a key through https discovery.
ln is a bit weird, not sure how useful it's going to be. As it's currently implemented, ln creates a fifo, writes the specified remote file (in dat) to the fifo and waits for the user to read the fifo before closing and removing it.
For instance, inside dat-shell, you can do:
ln readme.md ~/tmp-readme.md # ~/tmp-readme.md will be overwritten with our temporary fifo
And in another terminal (bash, etc.):
cat ~/tmp-readme.md # or tail, cp, etc.
You can't currently ln a video file and play it with vlc or mplayer unfortunately.
The cli now uses update-notifier to let the user know about updates to this program.
Users have the ability to opt-out of the update notifier by changing the optOut property to true in ~/.config/configstore/update-notifier-dat-shell.json. The path is available in notifier.config.path.
Users can also opt-out by setting the environment variable NO_UPDATE_NOTIFIER with any value or by using the --no-update-notifier flag on a per run basis.
To upgrade, simply
$ npm install --global dat-shell
Needless to say, I'm 100% open to contributions. Unit tests are coming soon, but for now make sure to follow the StandardJS coding style (no semi-colons, etc). Run either yarn lint or npm run lint to verify.
There's lots to do, classified here in bugs and features.
I should probably move most of the items below to GitHub issues and establish a roadmap.
There's an issue on glob to allow other fs implementations. This allows glob to work on dat archives (and the hyperdrive beneath).
See features above.
AGPL-v3 © 2017 Robin Millette
FAQs
Dat shell. Open a remote dat and explore with cd, ls, etc.
We found that dat-shell 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.