
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@interep/proof
Advanced tools
A simple JS function to create Semaphore proofs.
The @interep/proof package allow you to create all the Semaphore proof parameters needed for onchain verification with our Interep contracts.
Install the @interep/semithid package with npm:
npm i @interep/proof --save
or yarn:
yarn add @interep/proof
# createProof(identity: ZKIdentity, group: Group, externalNullifier: BigNumber, signal: string, zkFiles: zkFiles): InterepProof
import createIdentity from "@interep/identity"
import createProof from "@interep/proof"
import detectEthereumProvider from "@metamask/detect-provider"
import { ethers } from "ethers"
const ethereumProvider = (await detectEthereumProvider()) as any
const provider = new ethers.providers.Web3Provider(ethereumProvider)
const signer = provider.getSigner()
const identity = await createIdentity((message) => signer.signMessage(message), "Github")
const groupProvider = "github"
const groupName = "gold"
const externalNullifier = 1
const signal = "Hello World"
const snarkArtifacts = {
wasmFilePath: "./semaphore.wasm",
zkeyFilePath: "./semaphore_final.zkey"
}
const proof = await createProof(identity, groupProvider, groupName, externalNullifier, signal, snarkArtifacts)
FAQs
A simple JS function to create Semaphore proofs.
The npm package @interep/proof receives a total of 11 weekly downloads. As such, @interep/proof popularity was classified as not popular.
We found that @interep/proof 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
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.