
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
Tiny asynchronous state management based on static data stitching
npm i cagibi
/ yarn add cagibi
Cagibi's name comes from the french word used to call a small storeroom. Pronounced /kä'jēbē/
.
cagibi
?make
and stitch
.write
and read
.protect(target, ...keys)
to forbid changes on keys.cagibi
come in handy?Merging nested data structure through async channels (API, parallel threads or job queues) without willing to maintain a key-value store with primary keys linking records.
import { make } from 'cagibi';
const profile = make({ name: 'Joe', posts: [] });
// => { name: 'Joe', posts: [] }
const post = make({ title: 'A new post' }, profile.posts);
import { stitch } from 'cagibi';
const stitched = stitch(profile, post);
Returns stitched state:
{
"name": "Joe",
"posts": [{ "title": "A new post" }]
}
import { make, stitch, write, read } from 'cagibi';
const stack = [];
const profile = make({ name: 'Joe', posts: [] });
const post = make({ title: 'A new post' }, profile.posts);
stack.push(write(profile));
stack.push(write(post));
// ...
// And only later on or in another environment
const profile = read(profileWritten);
const post = read(postWritten);
const stitched = stitch(profile, post);
Returns stitched state:
{
"name": "Joe",
"posts": [{ "title": "A new post" }]
}
import { make, stitch, write, read, Patches } from 'cagibi';
const patches = new Patches();
const profile = make({ name: 'Joe', posts: [] });
const post = make({ title: 'A new post' }, profile.posts);
patches.push(profile, post);
const savedPatches = patches.write();
// ...
// And only later on or in another environment
const importedPatches = new Patches();
importedPatches.read(savedPatches);
const stitched = importedPatches.stitch();
Returns stitched state:
{
"name": "Joe",
"posts": [{ "title": "A new post" }]
}
FAQs
Tiny asynchronous state management based on static data stitching
The npm package cagibi receives a total of 1 weekly downloads. As such, cagibi popularity was classified as not popular.
We found that cagibi 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.