
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Git push should deploy.
SmartMachine is a full-stack deployment framework for rails optimized for admin programmer happiness and peaceful administration. It encourages natural simplicity by favoring convention over configuration.
Before you begin, you should install ruby on your system.
Deploy your Rails apps to your own server with - git push production main
After you run the below commands, you get.
If using SmartMachine on a server, perform the below steps before proceeding.
Ensure that you have debian LTS installed on the server. Running the below command should say some latest version of debian LTS.
$ cat /etc/issue
Then complete, getting started with linode.
https://www.linode.com/docs/getting-started/
And then secure your server.
https://www.linode.com/docs/security/securing-your-server/
Install SmartMachine at the command prompt:
$ gem install smartmachine
Then create a new machine and move into it:
$ smartmachine new yourmachinename
$ cd yourmachinename
here "yourmachinename" is the machine name you can choose
Add your credentials using:
$ smartmachine credentials:edit
Add your config details with your favourite editor (here emacs is shown):
$ emacs ./config
Install docker, and add UFW rules for Docker if specified at the end of installation.
$ smartmachine docker install
Install the engine and buildpacker:
$ smartmachine engine install
$ smartmachine buildpacker install rails
$ smartmachine machine network up
$ smartmachine machine network down
Choose only the grids you need. You can start or stop a grid at anytime using up or down commands respectively.
Lets you run a nginx web server fully equipped with https encryption using letsencrypt.
$ smartmachine grid nginx up
$ smartmachine grid nginx down
Lets you push rails apps to your server without any additional configuration or downtime using git push production main.
$ smartmachine grid prereceiver install
$ smartmachine grid prereceiver up
$ smartmachine grid prereceiver down
$ smartmachine grid prereceiver uninstall
Lets you run a mysql server instance with as many databases as you need.
$ smartmachine grid mysql up
$ smartmachine grid mysql down
Lets you run minio server instance with file storage persistance.
$ smartmachine grid minio up
$ smartmachine grid minio down
Lets you run elasticsearch server instance with data persistance.
$ smartmachine grid elasticsearch up
$ smartmachine grid elasticsearch down
Lets you run redis server instance for cache storage and job queueing.
$ smartmachine grid redis up
$ smartmachine grid redis down
Create your apps and manage them.
Lets you create a new bare app on the server.
$ smartmachine app create <APPNAME> <APPDOMAIN> <USERNAME>
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/plainsource/smartmachine. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the AGPL License.
Everyone interacting in the SmartMachine project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that smartmachine demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.