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.
[VERY MUCH A WORK IN PROGRESS]
Simple key value implementation on top of old fashioned sql.
Some stuff I like for storing my data
Obvious downsides
models =
person:
kind: "person"
indexes:
age: {type: "int", getter: (data) -> data.age}
data =
key: utils.uuid()
kind: "person"
name: "Koen Bok"
age: 29
backend = new PostgresBackend "postgres://localhost/test"
store = new Store backend, [models.person]
store.create (err) ->
# Store a person (upsert)
store.put data, (err) ->
# Get a person by key
store.get "person", data.key (err, result) ->
console.log result
# Query persons older then 10 years
store.query "person", {"name >": "10"}, (err, result) ->
console.log result
new Backend <"dsl">, <[models]>
store.create <"kind">, callback
store.get <"kind">, <"key", [keys]>, callback
store.put <"kind">, <{data}, [{data}]>, callback
store.del <"kind">, <"key", [keys]>, callback
store.query <"kind">, <{filters}>, callback
make test
REST API example using express. Deployable to Heroku.
FAQs
Key-value on top of SQL
We found that cavia 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.