
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
http-expose
Advanced tools
To expose a folder ./example on htttp://localhost:8000 ↴
$ expose ./example --port=8000
And now your directory is accessible ↴
$ curl http://localhost:8000/my/file.txt
this is my file content!
And for more, see usage 🚀
HTTP Expose is a very simple and lightweight static HTTP server. It can be used to expose a provided directory to the internet through HTTP. 🧙♂️ The exposed directory will handle range request, caching and gzipping.
It can also be used programmmatically to do exactly the exact same thing 💻
TODO ⚠️
Start with installing ↴
$ npm install -g http-expose
List of available arguments ↴
$ expose -h
Usage: http-expose <directory> [options]
Positionals:
directory Directory to expose [string]
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
-p, --port HTTP port [number] [default: 80]
--host HTTP host [string] [default: "localhost"]
--listdir List directory content [boolean] [default: false]
--nocache Disable caching [boolean] [default: false]
--cors-allow-origin Cors allow origin setting [string] [default: "*"]
--verbose Verbose [boolean] [default: false]
FAQs
Static HTTP server, useable through command line & as a lib
The npm package http-expose receives a total of 11 weekly downloads. As such, http-expose popularity was classified as not popular.
We found that http-expose 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.