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.
This is the Ruby SDK for StatelyDB.
We're still in an invite-only preview mode - if you're interested, please reach out to preview@stately.cloud.
When you join the preview program, we'll set you up with a few bits of information:
STATELY_CLIENT_ID
- a client identifier so we know what client you are.STATELY_CLIENT_SECRET
- a sensitive secret that lets your applications authenticate with the API.Begin by following our Getting Started Guide which will help you define, generate, and publish a DB schema so that it can be used.
gem install statelydb
Create an authenticated client, then import your item types from your generated schema module and use the client!
require_relative 'schema/stately'
def put_my_item
# Create a client. This will use the environment variables
# STATELY_CLIENT_ID and STATELY_CLIENT_SECRET for your client.
client = StatelyDB::Client.new(store_id: <my-store-id>)
# Instantiate an item from your schema
item = StatelyDB::Types::MyItem.new(name: "Jane Doe")
# put and get the item!
put_result = client.put(item)
get_result = client.get(StatelyDB::KeyPath.with("name", "Jane Doe"))
puts put_result == get_result # true
FAQs
Unknown package
We found that statelydb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.