
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
aws-document-cache
Advanced tools
A module for implementing a simple in-memory and DB cache for 3rd party datasources using AWS DynamoDB
A DynamoDB table with a primary key "cacheKey" of type "String" AWS credentials as required by aws-sdk module (e.g. ~/.aws/credentials)
var cache = require("aws-document-cache");
cache.init({
'awsRegion' : 'eu-west-1', # Region where the table resides
'cacheTable' : 'myDynamoDBTable', # Table for the cache
'memCacheLifetime' : 3600 * 1000, # Lifespan in ms for the memory cache entries
'dbCacheLifetime' : 24 * 3600 * 1000, # Lifespan in ms for the db cache entries
});
cache.getDoc('myObjType', 'myObjId', function(err,data) {
if (err) {
...
}
if (data == null) {
... was not found in cache, load it
}
});
cache.setDoc('myObjType', 'myObjId', data, function(err, data) {
if (err) {
... storage failed
}
...
}
Copyright (c) 2015 SC5, licensed for users and contributors under MIT license. https://github.com/SC5/aws-document-cache/blob/master/LICENSE
FAQs
Generic document cache based on Amazon DynamoDB
The npm package aws-document-cache receives a total of 7 weekly downloads. As such, aws-document-cache popularity was classified as not popular.
We found that aws-document-cache 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
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.