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.
coreymartella-dmd_generator
Advanced tools
One night at a Boston Ruby hackfest, I finally got sick of using the Rails default generators, and then having to twiddle them to meet my needs and tastes. This includes using things like:
The next morning, I was struck awake at 5am with the inspiration to start implementing it. dmd_generator is the result of this effort.
haml --rails
dmd_generator is available as a gem via GitHub. If you haven't done so already, you need to setup GitHub as a gem source:
$ gem sources -a http://gems.github.com
Now you can install it:
$ sudo gem install coreymartella-dmd_generator
Usage is the same as the default Rails generators.
$ script/generate dmd_model post title:string author:belongs_to body:text published:boolean
$ script/generate dmd_scaffold post title:string author:belongs_to body:text published:boolean
You can override the default values for templating by placing a .dmd_generator file in your home directory.
Here's an example .dmd_generator
:
:templating: erb # supported options: haml|erb
Source is hosted on GitHub: http://github.com/technicalpickles/dmd_generator/tree/master
You can do the usual fork/commit cycle until you have something ready to share. Send pull requests my way.
FAQs
Unknown package
We found that coreymartella-dmd_generator 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.