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.
co-couchbase
Advanced tools
co-couchbase
is a couchbase
wrapper to be used with visionmedia's co
library.
In order to use co
and co-couchbase
, you need to have node
version 0.11.x
and you must use --harmony-generators
flag when running node.
NOTE: co-couchbase
doesn't work with node 0.11.11 and 0.11.12
(maybe there's a problem with node-gyp?). It's only tested with node 0.11.10
.
$ node --version
v0.11.10
$ npm install co
$ npm install co-couchbase
test.js:
var co = require('co');
var couchbase = require('co-couchbase');
var db = new couchbase.Connection({ bucket: "default" }, co(function *(err) {
yield db.set('test_doc', 'co-couchdb');
var result = yield db.get('test_doc');
console.log(result.value); // logs 'co-couchdb'
process.exit(0);
}));
Then, run it:
$ node --harmony test.js
See examples/
directory.
FAQs
A couchbase wrapper to be used with visionmedia's co library.
We found that co-couchbase 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.