
Research
Using Trusted Protocols Against You: Gmail as a C2 Mechanism
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
A small functional library for JavaScript which is an enhancement of ramda.
const ff = require("ffuncs");
ff.curry; // a function that curries the given function.
// uses the `length` property of a function,
// so functions using the `...` operator
// may provide unexpected behaviour when
// curried
let add = (x, y) => x + y;
let addFive = ff.curry(add)(5);
console.log([1, 2, 3, 4]).map(addFive); // [6, 7, 8, 9]
ff.vectorize; // this takes a unary (single-arg) or
// binary (double-arg) function as input
// and applies it over arrays.
let vadd = ff.vectorize(add);
console.log(vadd(2, 5)); // 7
console.log(vadd(5, [1, 2, 3, 4])); // [6, 7, 8, 9]
console.log(vadd([1, 2], [3, 4])); // [4, 6]
ff.memoize; // memoizes a numeric function.
// ...
// you know what this is
ff.integrate(global);
// now you can use the functions within the global scope
curry(add)(3)(7) == 10;
// etc.
FAQs
a functional library based on ramda
The npm package ffuncs receives a total of 6 weekly downloads. As such, ffuncs popularity was classified as not popular.
We found that ffuncs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.