{"uid":"cap_V5brGvajjaO7exI547ord","slug":"brainiac-archive-payload-risk-detector-327e3822","name":"BRAINIAC Archive Payload Risk Detector","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/file-security/archive-payload-risk-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"md5":{"type":"string","maxLength":64},"role":{"type":"string","maxLength":80},"sha1":{"type":"string","maxLength":80},"sha256":{"type":"string","maxLength":128},"source":{"type":"string","maxLength":200},"filename":{"type":"string","maxLength":260,"minLength":1},"mediaType":{"type":"string","maxLength":120},"sizeBytes":{"type":"number","maximum":100000000,"minimum":0},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"md5":{"type":"string","maxLength":64},"role":{"type":"string","maxLength":80},"sha1":{"type":"string","maxLength":80},"sha256":{"type":"string","maxLength":128},"source":{"type":"string","maxLength":200},"filename":{"type":"string","maxLength":260,"minLength":1},"mediaType":{"type":"string","maxLength":120},"sizeBytes":{"type":"number","maximum":100000000,"minimum":0},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":40},"reports":{"type":"array","items":{"type":"object","required":["text"],"properties":{"id":{"type":"string","maxLength":80},"text":{"type":"string","maxLength":200000},"title":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200}},"additionalProperties":false},"maxItems":40},"artifacts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"md5":{"type":"string","maxLength":64},"role":{"type":"string","maxLength":80},"sha1":{"type":"string","maxLength":80},"sha256":{"type":"string","maxLength":128},"source":{"type":"string","maxLength":200},"filename":{"type":"string","maxLength":260,"minLength":1},"mediaType":{"type":"string","maxLength":120},"sizeBytes":{"type":"number","maximum":100000000,"minimum":0},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":40},"maxArchiveDepth":{"type":"number","maximum":5,"minimum":1},"maxInflateBytes":{"type":"number","maximum":2000000,"minimum":1000}}},"responseSchema":{"type":"json","example":{"items":[{"id":"archive-Z1","title":"Archive payload risk indicators","source":"Caller-supplied","status":"signal","reasons":["risky_member_types"],"detector":"archive-payload-risk-detect","evidence":[{"fact":"Archive members inspected=2 (depth cap 2, inflate cap 512000). 2 member(s) have risky extensions/types (e.g. payload.js, nested/drop.exe).","subject":"Z1","inference":"Archive inspected locally with depth/size caps; not executed / not sent to scanners.","confidence":"medium"},{"fact":"depth=0; magic=unknown; size=8","subject":"payload.js","confidence":"medium"},{"fact":"depth=0; magic=pe_executable; size=11","subject":"nested/drop.exe","confidence":"medium"}],"confidence":"medium","relatedIds":["Z1"],"observedFacts":["Archive members inspected=2 (depth cap 2, inflate cap 512000).","2 member(s) have risky extensions/types (e.g. payload.js, nested/drop.exe)."],"inferredThreat":"Nested/risky archive members are commonly used to smuggle payloads.","confirmedMalware":false}],"status":"detected","findings":[{"code":"archive_payload","kind":"conflict","detail":"Archive indicators: risky_member_types (confirmedMalware=false).","subject":"Z1"}],"checkedAt":"2026-11-04T21:00:00.000Z","itemCount":1,"limitations":["Files and analysis reports are copied only from caller-supplied fields. Uploaded bytes are never executed and are never sent to external malware scanners.","Analysis is static/local only with strict decoded-size, archive-depth, entry-count, and decompression limits.","Observed facts are separated from inferred threat hypotheses. Absence of matched patterns is not a malware-free verdict.","Nested archive inspection lists metadata and may inflate only small members within decompression caps.","No paid threat-intel feed is used and no API key is required."],"fileExecuted":false,"apiKeyRequired":false,"maxArchiveDepth":2,"maxInflateBytes":512000,"networkAccessed":false,"paidProviderUsed":false,"externalScannerUsed":false,"malwareFreeNotClaimed":true,"confirmedMalwareClaimed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_L3RY04xjkJs-PqnA3x0km","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Statically analyzes archive files (zip, tar, etc.) for risky member types and nested payloads that may indicate malware smuggling, without executing or sending files to external scanners.","exampleAgentPrompt":"Can you statically scan this zip file I just received for risky or malicious members — things like embedded executables or scripts — and tell me whether it's safe to open? Here's the base64 content and the filename is 'delivery-docs.zip'.","exampleUseCases":[{"title":"Screen user-uploaded zip before storage","prompt":"A user just uploaded a file called 'invoice-package.zip' to our platform. Before we store it, can you check the archive for any risky members like executables or scripts and tell me if there are any red flags?"},{"title":"Automated pipeline file ingestion check","prompt":"We're ingesting a batch of archive files from a third-party vendor. Can you analyze this tar archive — here's the base64 — and flag any members with dangerous extensions or executable types before we extract them on our server?"},{"title":"Security review of email attachment","prompt":"Someone forwarded me an email attachment called 'report-Q4.zip' and I want to make sure it's not hiding any malware. Can you inspect the archive contents statically and let me know if any members look like payload smuggling attempts?"}],"resultDescription":"A JSON object containing: overall status (detected/not detected), a list of risk items with titles, reasons (e.g. risky_member_types), evidence facts per archive member (extension, magic bytes, size, depth), inferred threat description, confidence level, finding codes, checkedAt timestamp, and a set of limitations disclaiming that no execution or external scanning occurred and absence of findings is not a malware-free verdict.","failureModes":["Archive exceeds decompression cap (512000 bytes inflated) — partial inspection with capped results","Archive depth exceeds max depth of 2 — nested members beyond depth 2 not inspected","File base64 exceeds 12MB maxLength — request rejected","Missing required filename field — validation error","Corrupt or unrecognized archive format — unknown magic, may return no findings","Empty archive — itemCount 0, no findings","Overly large files array (>40 items) — request rejected"],"whenToPreferThis":"Use this endpoint when you need a fast, privacy-preserving static risk assessment of archive files without sending data to external AV scanners or requiring API keys. Ideal for pre-ingestion screening pipelines, agent-side file triage, or compliance workflows where data must not leave the caller's trust boundary. Prefer this over full AV scanning services when speed, simplicity, and no-account pay-per-call operation are priorities, and when confirmed malware verdicts are not required (only risk indicators).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:47.880Z","isFirstParty":false,"canonicalSlug":"brainiac-archive-payload-risk-detector-327e3822"}