
Security News
GitHub Actions Adds cache-mode to Limit Cache Poisoning Risk
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.
$ npm install --save cardigan
const {serialize} = require('cardigan');
const add = serialize((a, b) => a + b);
const subtract = serialize((a, b) => a - b);
// Do something with serialized functions (e.g. send to supporting FaaS, save to disk)
PROTIP: Functions should not reference anything outside their lexical scope.
const {deserialize, serialize} = require('cardigan');
const add = serialize((a, b) => a + b);
const subtract = serialize((a, b) => a - b);
const add2And3 = deserialize(add)(2, 3); // 5
const subtract3And2 = deserialize(subtract)(3, 2); // 1
function (a) { ... }
async function (a) { ... }
a => { ... }
async a => { ... }
(a, b) => { ... }
async (a, b) => { ... }
FAQs
node.js function serialization
We found that cardigan 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.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.