
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.
@decodo/sdk-ts
Advanced tools
Official TypeScript SDK for the Decodo Web Scraping API.
Features:
fetch, Node 18+)npm install @decodo/sdk-ts
import { DecodoClient, Target } from '@decodo/sdk-ts';
const client = new DecodoClient({
webScrapingApi: {
token: '<basic_auth_token>',
},
});
const result = await client.webScrapingApi.scrape({
target: Target.GoogleSearch,
query: 'coffee shops',
geo: 'United States',
parse: true,
});
console.log(result.results[0].content);
const client = new DecodoClient({
webScrapingApi: {
token: '<basic_auth_token>',
},
timeoutMs: 120_000, // optional, request timeout in ms (default: 180s)
});
Access via client.webScrapingApi.
The snippets below assume you have already imported Target (and DecodoClient where a client is constructed), for example:
import { DecodoClient, Target } from '@decodo/sdk-ts';
Blocks until the scraping result is ready:
const result = await client.webScrapingApi.scrape({
target: Target.AmazonProduct,
query: 'B09H74FXNW',
parse: true,
});
Creates a task and returns immediately. Poll separately for results:
const task = await client.webScrapingApi.scrapeAsync({
target: Target.GoogleSearch,
query: 'laptop reviews',
parse: true,
});
const meta = await client.webScrapingApi.getStatus(task.id);
console.log(meta.status); // 'pending' | 'done' | 'faulted'
const results = await client.webScrapingApi.getResults(task.id);
Send multiple URLs or queries in a single request:
const batch = await client.webScrapingApi.scrapeBatch({
target: Target.GoogleSearch,
query: ['coffee', 'tea', 'juice'],
parse: true,
});
console.log(batch.id);
The SDK throws typed errors that map to API error codes:
import {
DecodoError,
AuthenticationError,
RateLimitError,
ValidationError,
TimeoutError,
Target,
} from '@decodo/sdk-ts';
try {
await client.webScrapingApi.scrape({
target: Target.GoogleSearch,
query: 'test',
parse: true,
});
} catch (err) {
if (err instanceof AuthenticationError) {
// 401/403 — bad credentials
} else if (err instanceof RateLimitError) {
// 429 — too many requests
} else if (err instanceof ValidationError) {
// 422 — invalid parameters
console.log(err.errors);
} else if (err instanceof TimeoutError) {
// request timed out
}
}
fetch)FAQs
Official TypeScript SDK for the Decodo APIs
The npm package @decodo/sdk-ts receives a total of 163 weekly downloads. As such, @decodo/sdk-ts popularity was classified as not popular.
We found that @decodo/sdk-ts 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.