Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Alpha!
To put it simply: Bonnie is a middleware to be used with express to create static blogs and/or pages. Bonnie comes with a generator to easily generate Bonnie projects and to manage your page. Think of the CLI as the alternative to a bloated administrative interface.
Begin by installing Bonnie globally.
$ npm install -g bonnie
This will give you access to the bonnie executable. Now scaffold a bonnie project
$ bonnie new myblog cd && myblog && npm install
This will create the directory structure for your blog and install all its dependencies. You are now ready to start your server.
To keep Bonnie from becoming bloated and hard to extend, Bonnie generates a server file and this is what you run to start the server.
$ node index.js
Blog posts are per default located in the _posts
directory. The filename of a blog
post follows a specific format [YYYY-MM-DD]_["MyPostTitle"].md
. This is becuase
Bonnie uses the date as the published date for the post. To make the process of creating posts
easier the CLI provides a generator.
$ bonnie post --title "MyPost"
--title: Title is required and will be the title of your blog post. Obviously you can just rename the file if you want to change the title.
--draft: Will generate it into the draft
directory rather than posts
.
--date [YYYY-MM-DD]: Overrides the default date which is the current date.
FAQs
Bonnie ============= __Alpha!__
The npm package bonnie receives a total of 1 weekly downloads. As such, bonnie popularity was classified as not popular.
We found that bonnie 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.