
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
TypeScript SDK for VERIA — Solana-native ZK Coprocessor.
Few dots. Whole truth.
npm install @veria/sdk @solana/web3.js
import { VeriaClient, VeriaVerifier } from '@veria/sdk';
import { Connection, Keypair } from '@solana/web3.js';
const client = new VeriaClient({
apiUrl: 'https://api.veria.fun',
programId: process.env.VERIA_PROGRAM_ID!,
});
// Submit a folded proof job
const fold = await client.fold({
circuit: 'scoring',
input: { scores: [80, 90, 70], weights: [1, 2, 1], count: 3 },
subProofCount: 100,
});
console.log(`Cost: ${fold.costSol} SOL Savings: ${fold.savingsPct.toFixed(2)}%`);
// Verify on Solana mainnet
const verifier = new VeriaVerifier({
connection: new Connection('https://api.mainnet-beta.solana.com'),
programId: process.env.VERIA_PROGRAM_ID!,
});
const submitter = Keypair.generate().publicKey;
const tx = verifier.buildVerifyTx({
submitter,
circuit: 'scoring',
proofBytes: fold.proofBytes,
publicInputs: fold.publicInputs,
});
// Sign & send tx with your wallet, then:
const record = await verifier.fetchRecord(
verifier.recordPda(fold.proofBytes, fold.publicInputs),
);
console.log(record);
| ID | Name | Max input | Tests |
|---|---|---|---|
| 1 | Scoring | 64 | 5 |
| 2 | Aggregation | 4096 | 4 |
| 3 | Median | 256 | 5 |
| 4 | Sort | 256 | 4 |
| 5 | ML Inference | 32 | 4 |
VeriaClient — HTTP client for the Compute API (/fold, /verify).VeriaVerifier — Anchor verifier program instruction builder + PDA derivation + account fetch.CIRCUITS — circuit registry (numeric id, schema, test count).proofHash, publicInputsHash — SHA-256 helpers matching the on-chain program.const c = new VeriaClient();
console.log(c.computeCost(100));
// {
// subProofs: 100,
// directTotalSol: 0.5,
// foldedSol: 0.0001,
// savingsPct: 99.98
// }
Apache-2.0.
FAQs
VERIA TypeScript SDK — Solana-native ZK Coprocessor. Few dots. Whole truth.
The npm package @veria/sdk receives a total of 18 weekly downloads. As such, @veria/sdk popularity was classified as not popular.
We found that @veria/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than 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 compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.