{"uid":"cap_Cxc4MMEFiioFMckCA2GPc","slug":"brainiac-repository-security-scorecard-b4b55d00","name":"BRAINIAC Repository Security Scorecard","description":"Retrieve the official OpenSSF Scorecard result for a GitHub, GitLab or other supported repository.","url":"https://www.brainiac.software/api/v1/cybersecurity-intelligence/repository/scorecard?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"repository":{"type":"string","format":"uri"}}},"responseSchema":{"type":"json","example":{"sources":[{"url":"https://api.scorecard.dev/projects/github.com/ossf/scorecard","source":"OpenSSF Scorecard API","retrievedAt":"2026-10-29T12:00:00.000Z"}],"scorecard":{"score":8.6,"checks":[{"name":"Maintained","score":10},{"name":"Security-Policy","score":10}]},"repository":"https://github.com/ossf/scorecard","limitations":["Scorecard results are from OpenSSF.","Only GitHub, GitLab, and supported repositories are included.","…"],"retrievedAt":"2026-10-29T12:00:00.000Z"}},"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_qFztPgUgbWgpJDhaKSlXV","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":"Fetches the OpenSSF Scorecard security score and check details for a given GitHub or GitLab repository","exampleAgentPrompt":"Can you pull the OpenSSF Scorecard security score for https://github.com/expressjs/express and tell me which checks passed or failed?","exampleUseCases":[{"title":"Vetting a new open source dependency","prompt":"Before we add lodash to our project, can you check its OpenSSF Scorecard score and tell me whether it has a security policy and is actively maintained?"},{"title":"Supply chain audit for CI pipeline","prompt":"I need to audit our top dependencies — start with https://github.com/axios/axios and get me its full OpenSSF Scorecard breakdown so I can see where it scores low."},{"title":"Comparing security of two competing libraries","prompt":"Can you get the OpenSSF Scorecard scores for both https://github.com/request/request and https://github.com/sindresorhus/got so I can compare their security posture?"}],"resultDescription":"Returns a JSON object containing the repository URL, an overall numeric security score (e.g. 8.6/10), a list of individual scorecard checks with their names and scores (e.g. Maintained, Security-Policy, Code-Review), the data sources consulted including their URLs and retrieval timestamps, and a list of known limitations about the scoring methodology.","failureModes":["Repository URL not supported (only GitHub and GitLab are covered) — returns partial or empty scorecard data","Repository is private or inaccessible — scorecard data unavailable","OpenSSF Scorecard API unavailable — upstream timeout or error","Malformed repository URL input — validation error returned","Repository too new or obscure — no scorecard data indexed yet"],"whenToPreferThis":"Use this endpoint when you need a quick, structured security assessment of an open source repository based on the widely-recognized OpenSSF Scorecard framework. It is ideal for supply chain risk evaluation, dependency vetting, and DevSecOps workflows where you want heuristic security signals (maintenance activity, security policy presence, code review practices) without setting up your own OpenSSF Scorecard infrastructure. Prefer this over raw GitHub API calls when you specifically want normalized security scores and check results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:35:01.870Z","isFirstParty":false,"canonicalSlug":"brainiac-repository-security-scorecard-b4b55d00"}