
Threat Research
/Security News
Searchjacked: Hidden Browser Extensions Hijack Searches for 13 Million Users
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.
@deepfirstsearch/agent-pay-langchain
Advanced tools
LangChain.js / LangGraph tool: agents fetch x402 APIs while an owner-signed, on-chain budget decides every payment
A LangChain.js tool, ready for LangGraph (ToolNode, createReactAgent), that lets an agent fetch x402 APIs and pay them in USDC on Base while an owner-signed, on-chain budget decides every payment. A prompt-injected agent can ask for any URL; it can't pick the payee, the price or the limit.
Beta, unaudited. Use Base Sepolia or small amounts on Base mainnet.
npm install @deepfirstsearch/agent-pay-langchain @deepfirstsearch/agent-pay @langchain/core
import { createReactAgent } from "@langchain/langgraph/prebuilt";
import { createAgentPay, MerchantRegistry, burnerPayers, vaultFunder } from "@deepfirstsearch/agent-pay";
import { createPaidFetchTool } from "@deepfirstsearch/agent-pay-langchain";
const pay = createAgentPay({
registry: new MerchantRegistry([
{ origin: "https://api.example.com", payTo: "0x…", network: "eip155:8453", maxPerTx: 50_000n, pricePin: 10_000n },
]),
policy: { allowedNetworks: ["eip155:8453"] },
payer: burnerPayers(burnerSeed, vault),
session: { readsUntrustedInput: true, accessesSensitiveData: false, canPay: true },
ensureFunded: vaultFunder({ agent, publicClient, vault, usdc, intents: { "0x…": intentId }, tranche: 50_000n }),
});
// Seal the plan when the graph starts, before the agent reads anything untrusted.
const plan = pay.commitPlan([{ origin: "https://api.example.com", maxSpend: 200_000n }], 60 * 60_000);
const agent = createReactAgent({ llm, tools: [createPaidFetchTool({ pay, plan })] });
await agent.invoke({ messages: [{ role: "user", content: "Get today's price index from api.example.com" }] });
url, method, body, contentType. Merchants, price pins, caps and the plan live in pay and plan, which the model can't reach.{ ok: true, status, paid, body } with the body fenced as untrusted data, or { ok: false, refused: true, reason }.npm ci && npm run typecheck && npm test # includes a LangGraph ToolNode run against a mock x402 merchant
FAQs
LangChain.js / LangGraph tool: agents fetch x402 APIs while an owner-signed, on-chain budget decides every payment
The npm package @deepfirstsearch/agent-pay-langchain receives a total of 0 weekly downloads. As such, @deepfirstsearch/agent-pay-langchain popularity was classified as not popular.
We found that @deepfirstsearch/agent-pay-langchain 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.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.