
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

SimSim is a versatile proof-of-work (PoW) library designed to validate that a machine has completed a specified unit of work. It supports multiple PoW algorithms, including RandomX, Argon2, and more, making it suitable for a variety of applications requiring computational proof.
To install Simsim, use the following command:
pnpm install simsim
Here's a basic example of how to use Simsim:
import SimSim from 'simsim';
// Select the PoW algorithm
const algorithm = 'Argon2'; // or 'sha256', 'randomX', etc.
// Define the difficulty
const difficulty = 5;
// Create an instance of SimSim
const simsim = new SimSim(difficulty, algorithm);
async function runProofOfWork() {
const challenge = simsim.generateChallenge();
const solution = await simsim.findValidHash(challenge);
const isValid = await simsim.validateSolution(challenge, solution);
console.log(`Proof of work is valid: ${isValid}`);
}
runProofOfWork();
We welcome contributions to Simsim! If you'd like to contribute, please open an issue or submit a pull request on our GitHub repository.
FAQs

We found that simsim 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.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.