
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
stop-server
Advanced tools
Shutdown :zap: your computer using your phone or your tablet, from your bed or your couch ;)

Requires Node. Works on OS X, Linux and Windows.
For fun and because I usually watch movies on my computer.
npm install -g stop-server && stop-server start
Additionally, on OS X and Linux you need to allow the poweroff command to be used without admin password:
# Run 'sudo visudo'
# Add
your-username ALL=NOPASSWD: /sbin/poweroff
Visit http://localhost:5709/qr.html on your computer and scan the QR code or go directly to http://your-local-ip:5709 from your phone/tablet.
Now if you press the stop button, your computer will be shutdown.
npm rm -g stop-server
stop-server is a simple Express server. When you call DELETE http://192.168.x.y:5709, it runs poweroff (OS X, Linux) or shutdown (Windows).
stop-server is also automatically started on log in using user-startup.
Actually, you just need npm and a browser to enjoy it.
MIT - typicode
FAQs
Stop your computer using your phone or your tablet, from your bed or your couch
The npm package stop-server receives a total of 37 weekly downloads. As such, stop-server popularity was classified as not popular.
We found that stop-server 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
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.