{"uid":"cap_y7v2UIqNMEacsfSZ22aDJ","slug":"brainiac-exposed-file-check-api-b3c430e7","name":"BRAINIAC Exposed File Check API","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/security-configuration/exposed-file-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tls":{"type":"object","properties":{"issuer":{"type":"string","maxLength":200},"subject":{"type":"string","maxLength":200},"validTo":{"type":"string","maxLength":80},"protocol":{"type":"string","maxLength":40},"validFrom":{"type":"string","maxLength":80},"authorized":{"type":"boolean"},"hostnameMatches":{"type":"boolean"}},"additionalProperties":false},"url":{"type":"string","pattern":"^https?:\\/\\/\\S+$","maxLength":2000,"minLength":8},"paths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":4},"origin":{"type":"string","maxLength":200,"minLength":8},"headers":{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","maxLength":80,"minLength":1},"value":{"type":"string","maxLength":4000}},"additionalProperties":false},"maxItems":40},"endpoints":{"type":"array","items":{"type":"string","pattern":"^https?:\\/\\/\\S+$","maxLength":2000,"minLength":8},"maxItems":4},"transport":{"enum":["http","https"],"type":"string"},"setCookies":{"type":"array","items":{"type":"string","maxLength":2000},"maxItems":20},"contentSecurityPolicy":{"type":"string","maxLength":8000},"contentSecurityPolicyReportOnly":{"type":"string","maxLength":8000}}},"responseSchema":{"type":"json","example":{"paths":[{"path":"/.env","exposed":false,"httpStatus":0,"contentType":""},{"path":"/../secret","exposed":false,"httpStatus":0,"contentType":""}],"status":"unavailable","findings":[{"code":"path_rejected","kind":"unavailable","detail":"The path leaves the supplied host, contains .., or could not be parsed. It was not requested.","subject":"/.env"},{"code":"path_rejected","kind":"unavailable","detail":"The path leaves the supplied host, contains .., or could not be parsed. It was not requested.","subject":"/../secret"}],"checkedAt":"2026-11-03T16:00:00.000Z","limitations":["These checks do not show that a website is secure.","Only one public GET is sent per supplied URL or path. No login, brute force, exploit, or credential test is attempted.","A path or endpoint is requested only when the caller lists it.","Cookie values are not copied into the response.","An unavailable check means that configuration was not in the response."],"requestsSent":0,"websiteSecure":false,"confirmedCount":0,"unavailableCount":2,"securityDetermined":false,"recommendationCount":0}},"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_vVcHHilFObjwQFGQnS-Jm","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":"Checks a website for exposed sensitive files and paths (e.g. .env, config files) by sending public GET requests and analyzing the responses.","exampleAgentPrompt":"Can you check whether https://example.com has any exposed sensitive files — specifically check the paths /.env and /config.json — and tell me if any of them are publicly accessible?","exampleUseCases":[{"title":"Pre-launch security file audit","prompt":"Before we go live with our new site at https://myapp.example.com, check if paths like /.env, /.git/config, and /wp-config.php are accidentally exposed to the public."},{"title":"Detecting credential leaks on client site","prompt":"My client is worried their deployment at https://clientsite.com may have leaked credentials — can you check whether /.env and /secrets.json are publicly accessible there?"},{"title":"Automated site security check in CI pipeline","prompt":"As part of our deployment check for https://staging.myproduct.io, verify that /.env, /.htpasswd, and /database.yml are not exposed publicly, and report any findings."}],"resultDescription":"Returns a list of checked paths with their exposure status (exposed true/false), HTTP status code, and content type for each. Also includes a list of security findings with codes and details, a timestamp of when the check ran, counts of confirmed/unavailable findings, a websiteSecure boolean, a securityDetermined flag, and a list of limitations describing what the check does and does not cover.","failureModes":["Path contains '..' or leaves the host — returns 'path_rejected' finding with unavailable status","Target URL is unreachable or times out — returns unavailable status for all paths","Invalid URL format — rejected by input schema validation","Too many paths supplied (max 4) — schema validation error","TLS mismatch or unauthorized certificate — noted in TLS input but check still proceeds as configured"],"whenToPreferThis":"Use this endpoint when you need a lightweight, no-account, pay-per-call check for exposed sensitive files on a public web server. It is ideal for pre-launch audits, CI/CD security gates, or spot-checking a client site without setting up a full vulnerability scanner. It is not a comprehensive penetration test — it only sends a single public GET per path with no authentication, brute force, or exploit attempts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:16.803Z","isFirstParty":false,"canonicalSlug":"brainiac-exposed-file-check-api-b3c430e7"}