
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
This packages makes it very easy to share directories using now!
When running the ns
command, a temporary directory gets created. Within that directory, now-serve will insert a brand new package.json
that conforms to now's requirements and therefore contains a start script that runs a new instance of list when being executed on our servers.
All of this happens completely automatically. So after running the command, the only thing you need to do is wait a few seconds until your files have been deployed and share the link! :boom:
Install it (needs at least node v6)
$ npm install now-serve -g
Run it
$ ns <file | dir> [options]
You can find a list of all options below.
Usage | Description |
---|---|
-h, --help | Output all available options |
-V, --version | The version tag of the now-serve instance on your device |
‑c, ‑‑cmd [command] | The command that should be run when starting |
-n, --name [name] | The name for your deployment |
‑p, ‑‑packages <names> | Custom packages to add to dependencies: "gulp, koa" |
-a, --arguments | A string containing arguments that will be passed on to now: "force, debug" (basically the names of the flags but without dashes) |
-s, --single | Serve single page apps with only one index.html in the root directory |
npm uninstall now-serve -g
npm link
npm start
Yeeha! Now can use the ns
command everywhere.
FAQs
Single command static hosting
The npm package now-serve receives a total of 18 weekly downloads. As such, now-serve popularity was classified as not popular.
We found that now-serve demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.