Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
h1. Datts Right
bq. Dynamic Attributes Done Right
Well, maybe it's done right. This gem is more of an experiment at the moment. I also did this to learn more about metaprogramming.
I would like input from you guys. Is this something that is too messy?
h2. Why make this?
** Could not order things by dynamic columns straight with SQL ** Could not (as far as I know) chain scopes, like so: @MyModel.where(:name_which_is_a_real_attribute => "Joe").where_dynamic_attribute(:phone_which_is_dynamic => "23218793")@ ** Could not find by dynamic attribute straight with SQL, like so: @MyModel.find_by_dynamic_attribute_phone_which_is_dynamic("2398291308")@ ** Had to add migrations to each model that you wanted to have dynamic attributes
h2. Contributing to dynamic_attributes_right
There are definitely things that don't work, and could be done better. For example, it would be nice to:
Warning: the code is full of comments because I needed to visualize the code running.
If you want to contribute:
h2. Copyright
Copyright (c) 2011 Ramon Tayag. See LICENSE.txt for further details.
FAQs
Unknown package
We found that datts_right 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.