
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.
Static http server with markdown supported.
mdserver
can start a http server which acts like the python -m SimpleHTTPServer
but has more options
npm install mdserver -g
Type: Number
Default: 3333
The port
used by the server. Default to 3333
Type: Path
Default: current work dictionary (cwd
)
The DocumentRoot
for the server.
Type: Boolean
Default: false
Silent mode. When set to true
, there will no logs been displayed.
Type: Path | String
Default: public/fileTpl.html
There are two types of pages
directory
page: list the files and directories of the current dictionaryfile
page: content of the current fileftpl
is the template used for the file
pages. If not set, the option will use the default file provided by the application
Type: Path | String
Default: public/dirTpl.html
Template used for the directory
pages. If not set, the option will use the default file provided by the application
Type: Path | String
Default: public/screen.css
Stylesheet used for the both the directory
and file
page. If not set, the option will use the default value provided by the application
Type: String
Default: details
Display mode.
tiles
only display file namedetails
display name, size and mtime# use default options
mdserver
# custom port, root, and style
mdserver -p 8788 -r ~/github/mdserver -l ~/github/style/base.css
Visit: http://localhost:8788
MIT License
FAQs
static http server with markdown supported
The npm package mdserver receives a total of 1 weekly downloads. As such, mdserver popularity was classified as not popular.
We found that mdserver 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.