
Research
/Security News
77 Firefox Extensions Linked to Crypto Wallet and Credential Theft
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.
@middlebrick/api-client
Advanced tools
Zero-dependency TypeScript client for the middleBrick API security scanning platform. Uses native fetch — works in Node.js, Cloudflare Workers, and browsers.
npm install @middlebrick/api-client
import { MiddleBrickClient } from "@middlebrick/api-client";
const client = new MiddleBrickClient({
apiKey: "mb_your_key_here",
});
// Scan and wait for results
const result = await client.scanAndWait({
apiUrl: "https://api.example.com/v1/users",
method: "GET",
});
console.log(result.overall); // 72
console.log(result.letterGrade); // "C"
console.log(result.findings); // [{ severity: "high", title: "...", ... }]
new MiddleBrickClient(opts)| Option | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Your middleBrick API key |
baseUrl | string | No | API base URL (default: https://middlebrick.com) |
scanApi(params) — Submit a scanReturns { scanId: string }. Does not wait for completion.
getScan(scanId) — Get scan resultsReturns a ScanResult with score, grade, categories, and findings.
listScans(params?) — List previous scansOptional filters: limit, offset, status. Returns ScanListResult.
scanAndWait(params, opts?) — Scan and poll until doneSubmits a scan and polls until completed or failed. Default timeout: 5 minutes.
import { MiddleBrickClient, MiddleBrickError } from "@middlebrick/api-client";
try {
const result = await client.scanAndWait({ apiUrl: "https://api.example.com" });
} catch (err) {
if (err instanceof MiddleBrickError) {
console.error(err.message); // "Unauthorized"
console.error(err.statusCode); // 401
}
}
All types are exported: ScanResult, ScanListResult, ScanListItem, Finding, LetterGrade, Severity, PatentDimensions, ClientOptions, ScanParams, ListScansParams.
MIT — Zevlat Intelligence
FAQs
middleBrick API client — zero-dependency, native fetch
The npm package @middlebrick/api-client receives a total of 12 weekly downloads. As such, @middlebrick/api-client popularity was classified as not popular.
We found that @middlebrick/api-client 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
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.

Security News
NIST disclosed an unreleased AI tool called V-etalon and opened a broad inquiry into NVD modernization after years of automation plans produced no public enrichment system.

Security News
In his AI Council 2026 talk, Feross Aboukhadijeh covers recent package compromises, vulnerability discovery, and a more automated security model.