
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
@gitmaxd/convex-firecrawl-agent
Advanced tools
Publishable Convex Component that wraps Firecrawl’s async /v2/agent API as durable, reactive job resources.
completed (completion wins).deleteJob removes completed/cancelled jobs (and their events, plus any stored result file) to keep UIs tidy and support retention policies.Found a bug or have a feature request? Please open an issue: https://github.com/gitmaxd/convex-firecrawl-agent/issues
npm i @gitmaxd/convex-firecrawl-agent
// convex/convex.config.ts
import { defineApp } from "convex/server";
import convexFirecrawlAgent from "@gitmaxd/convex-firecrawl-agent/convex.config.js";
const app = defineApp();
app.use(convexFirecrawlAgent);
export default app;
In your app’s Convex functions, expose the component’s API with your auth mapping:
// convex/firecrawlAgent.ts
import { components } from "./_generated/api";
import { exposeApi } from "@gitmaxd/convex-firecrawl-agent";
export const {
createJob,
getJob,
listJobs,
cancelJob,
deleteJob,
listJobEvents,
} = exposeApi(components.convexFirecrawlAgent, {
auth: async (ctx) => {
const userId = (await ctx.auth.getUserIdentity())?.subject;
if (!userId) throw new Error("Unauthorized");
return userId;
},
includeEvents: true,
// Optional operator override for testing or custom limits.
// resultStorageThresholdBytes: 750 * 1024,
});
Then from your client (or other Convex functions), use the lifecycle operations:
// create
const jobId = await ctx.runMutation(api.firecrawlAgent.createJob, {
targetId: "doc:123",
prompt: "Extract a short summary",
urls: ["https://news.convex.dev"],
});
// observe
const job = await ctx.runQuery(api.firecrawlAgent.getJob, { jobId });
// cancel (optional)
await ctx.runMutation(api.firecrawlAgent.cancelJob, { jobId });
// cleanup (recommended for terminal jobs)
await ctx.runMutation(api.firecrawlAgent.deleteJob, { jobId });
To keep job documents durable and Firecrawl requests valid, the component enforces a few guardrails up front (the mutation throws and the job is not created if these fail):
prompt length: maximum 10,000 characters. If exceeded: Prompt exceeds maximum length of 10000.schema must be JSON-serializable: the schema is stored on the job and forwarded as JSON, so it must round-trip through JSON.stringify(...) (no BigInt, functions, or circular references). If invalid: Schema must be JSON-serializable.resultStorageThresholdBytes (and the RESULT_STORAGE_THRESHOLD_BYTES env override used by the helper wrappers) must be a finite number ≥ 0.
resultStorageThresholdBytes, the wrapper throws: resultStorageThresholdBytes must be a finite number >= 0.RESULT_STORAGE_THRESHOLD_BYTES is set but invalid, it is ignored (treated as unset).0 is valid and forces results to always be stored in file storage.import { exposeApi } from "@gitmaxd/convex-firecrawl-agent";
import { components } from "./_generated/api";
const agentApi = exposeApi(components.convexFirecrawlAgent, {
auth: async (ctx, operation) => {
const userId = (await ctx.auth.getUserIdentity())?.subject;
if (!userId) throw new Error("Unauthorized");
return userId;
},
});
type AgentApi = typeof agentApi;
type AuthFn = Parameters<typeof exposeApi>[1]["auth"]; // (ctx, op) => Promise<string>
type CreateJobReturn = Awaited<ReturnType<AgentApi["createJob"]>>; // string jobId
Prereqs: Node 18+.
npx convex env set FIRECRAWL_API_KEY "<your key>"
npm ci
npm run dev
Open the Vite URL printed in the terminal.
Click the Extract text preset and press Create job.
Success looks like: the job appears and transitions queued → starting → processing → completed, and a Result panel appears (Summary / Raw JSON / Events) without manual polling.
The example UI demonstrates create/cancel/delete, result viewing, and an events timeline.
docs/02-getting-started.mddocs/README.mdFAQs
A convex firecrawl agent component for Convex.
The npm package @gitmaxd/convex-firecrawl-agent receives a total of 0 weekly downloads. As such, @gitmaxd/convex-firecrawl-agent popularity was classified as not popular.
We found that @gitmaxd/convex-firecrawl-agent 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.

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

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.