
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
A tiny library which acts as ORM between Blazor WebAssembly and Browser LocalStorage
WebDB uses the browsers LocalStorage to perform CRUD operations from client's Blazor WebAssembly project using similar methods as available in other QuickDBS ORM libraries such as SQLServer, MySQL or SQLite.
var db = new QuickDBS.WebDB("MyProject", InstanceOfJSRuntime);
We will use the following Person
class example for demonstrating the use of WebDB.
public class Person
{
public Int64 Id { get; set; }
public string Name { get; set; }
public double Income { get; set; }
public DateTime DateOfBirth { get; set; }
}
Create a Person record in the Person collection. The result will be the last insert Id of the collection which will be unique.
var id = await db.Create<Person>(new Person {
Name = "Rahul",
Income = 5000,
DateOfBirth = new DateTime(2000, 01, 01)
});
Get the person record having Id = 1 from the Person collection.
var person = await db.GetById<Person>(1);
person.Name = "Rahul Hadgal";
person.Income = 10000;
Update the income for person selected in the above example, from 5000 to 10000 and change name to Full Name.
var result = await db.UpdateById<Person>(person);
Get all records from Person collection
var people = await db.GetAll<Person>();
Delete a person by Id = 1 from the Person collection.
var result = await db.DeleteById<Person>(1);
FAQs
A tiny library which acts as ORM between Blazor WebAssembly and Browser LocalStorage
We found that quickdbs.webdb 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
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.