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.
= heresy
Heresy is a schema free wrapper around your database, heavily inspired by both CouchDB and FriendFeed[1]. You create Heresy models that work with generic schema-less tables.
class Entry < Heresy::Model fields do |f| f.string :title end end
Entry.schema.create # create the table in the database
This class will use a table that looks like this:
create_table :entries do |t| t.primary_key :id, :int t.column :uuid, :binary t.column :updated_at, :timestamp t.column :body, :blob end
Now you can create and retrieve models:
@entry = Entry.new :title => 'testing' @entry.save
@entry = Entry.find('some_entry_uuid') @entry.body = "updated" @entry.save
UUIDs are automatically generated and used as the main ID for each record.
1: http://bret.appspot.com/entry/how-friendfeed-uses-mysql
== TODO
== NOT TODO
Use Validateable, ActiveSupport::Callbacks, ActiveModel, etc
== Copyright
Copyright (c) 2009 kabuki. See LICENSE for details.
FAQs
Unknown package
We found that kabuki-heresy 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.