npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rhizogrip/spore-plugin-ssh

v0.1.2

Published

SSH for spores: the keys a host's ssh-agent holds, usable and never readable

Readme

@rhizogrip/spore-plugin-ssh

SSH for spores: the keys a host's ssh-agent holds, which a spore's ssh and git can use and never read. For any SSH service — a forge, GitHub, a server.

npm i -g @rhizogrip/spore-plugin-ssh
spore plugin allow ssh socket=/run/user/$(id -u)/spore-ssh-agent.socket

The socket is the one spore service define ssh-agent sets up, below; it prints this line.

A spore uses it once its spore.cmk says plugins: [ssh]. Its agent is given SSH_AUTH_SOCK, pointing at the agent below, and $SPORE_SSH — also GIT_SSH, so git uses it — an ssh that keeps known hosts and config in the workspace's home/.ssh/, since ssh finds its own through the account's home, which the sandbox refuses. It reads how to use them in plugins/ssh.md.

The agent, on the host

The keys stay in ~/.config/spore/ssh/, beside config.json, which the sandbox never grants; only the agent's socket reaches a spore, and the ssh-agent protocol signs with a key and never hands one out. spore service runs the agent, as the user spores run under:

mkdir -m 700 -p ~/.config/spore/ssh
ssh-keygen -t ed25519 -N '' -C 'git.example.org as spore-bot' -f ~/.config/spore/ssh/spore-bot
spore service define ssh-agent        # checks the keys, writes the unit, prints the enable line
spore service start ssh-agent && spore service enable ssh-agent

Every private key in that folder is loaded when the service starts. A key has no passphrase — nobody is there to type one — and define refuses one that has. To add or retire a key, put it in the folder or take it out, then spore service restart ssh-agent.

What a spore can do with a key is decided here, where it cannot change it:

  • Which keys: what is in ~/.config/spore/ssh/. The comment is what the agent sees in ssh-add -l, so say there what the key is for.
  • Which repositories: give the key its own account on the service, with access to what the spore should touch and nothing else, and protect the branches it should not push to.

The socket is shared on trust. Any process of that user can connect to it — every spore it runs, whether its definition names this plugin or not. plugins: [ssh] says which spores are told about the keys, not which can reach them. Load only keys you would hand to every spore of that user.