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.
asyncstorage-down
Advanced tools
A leveldown API implementation that maps to AsyncStorage in React Native, originally a fork of no9/localstorage-down
borrows very heavily and gratefully from localstorage-down
Implementation of leveldown for React's AsyncStorage
The idea is to be able to use the level stack in React Native
This project is intended for use with the level eco-system.
npm install asyncstorage-down
At the command prompt in your chosen directory :
npm install asyncstorage-down
npm install levelup
Create a file called index.js and enter the following:
var asyncstorage = require('asyncstorage-down');
var levelup = require('levelup');
var db = levelup('/does/not/matter', { db: asyncstorage });
db.put('name', 'Yuri Irsenovich Kim');
db.put('dob', '16 February 1941');
db.put('spouse', 'Kim Young-sook');
db.put('occupation', 'Clown');
db.readStream()
.on('data', function (data) {
if (typeof data.value !== 'undefined') {
console.log(data.key, '=', data.value);
}
})
.on('error', function (err) {
console.log('Oh my!', err);
})
.on('close', function () {
console.log('Stream closed');
})
.on('end', function () {
console.log('Stream ended');
});
React Native's packager currently doesn't automatically inject browserified core node modules, like util, crypto, process, buffer, etc. Currently this module depends on several shims to mitigate the sadness. The alternative is to use react-native-webpack-server, which allows you to use browserified node core modules out of the box. Once React Native's packager allows the same functionality, this module's dependencies can be heavily pruned.
Tradle, Inc. https://github.com/tradle
Mark Vayngrib https://github.com/mvayngrib
Ellen Katsnelson https://github.com/pgmemk
Andre Staltz https://github.com/staltz
Anton Whalley https://github.com/no9
Adam Shih https://github.com/adamshih
Nolan Lawson https://github.com/nolanlawson
FAQs
A leveldown API implementation that maps to AsyncStorage in React Native, originally a fork of no9/localstorage-down
The npm package asyncstorage-down receives a total of 6,255 weekly downloads. As such, asyncstorage-down popularity was classified as popular.
We found that asyncstorage-down demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.