{"uid":"cap_ASLdqT0mmehoIzr61JzEI","slug":"codepulse-api-hash-check-security-67418eaa","name":"CodePulse API – Hash Check (Security)","description":"Verifies file MD5/SHA256 threat signatures against open vulnerability directories.","url":"https://codepulse-api.hahavoid0.workers.dev/security/hash-check","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string","description":"MD5, SHA-1, or SHA-256 signature hash"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"hash":"e3b0c442...","clean":true},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7-Uo1zIgCWnBwTs2V6T2M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a given hash value against known threat intelligence databases and returns a clean/malicious verdict with confidence score and warnings.","exampleAgentPrompt":"Can you check if this hash is clean or associated with any known malware? Hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","exampleUseCases":[{"title":"Verify downloaded file safety","prompt":"I just downloaded an installer and got its SHA256 hash as 3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4 — can you check if that file is clean or if it's been flagged as malware anywhere?"},{"title":"Triage suspicious email attachment","prompt":"Someone sent me a suspicious attachment and I've got its MD5 hash: d41d8cd98f00b204e9800998ecf8427e. Before I open anything, can you run it against threat intelligence and tell me if it's known to be dangerous?"},{"title":"Automated pipeline malware gate","prompt":"We're pulling third-party packages into our build system and I have a list of SHA256 hashes for each one. Can you check this hash — a87ff679a2f3e71d9181a67b7542122c — and let me know the confidence level and any warnings before we allow it into the pipeline?"}],"resultDescription":"Returns a JSON object containing the hash value, a boolean 'clean' flag indicating whether the hash is safe, an array of warnings if any threats are detected, a 'supported' flag indicating if the hash type is recognized, a confidence level (e.g. 'high'), and a data_as_of date indicating how current the threat intelligence is.","failureModes":["Unsupported hash format or length returns supported:false","Unknown or novel hash not yet in threat databases may return low confidence","Malformed POST body returns an error","Hash from very recent malware may not yet be indexed, returning clean with low confidence","Network timeout on the workers.dev edge function"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 USDC) no-API-key hash reputation check against threat intelligence, especially in an automated agent pipeline using x402 micropayments on Base. Prefer over full AV scanning services when you already have a hash and only need a reputation verdict rather than scanning a file directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:41.420Z","isFirstParty":false}