{"uid":"cap_fBU-_tFKvytEIA-pPSfX6","slug":"profitcollector-repo-risk-report-standard-ea627d3f","name":"ProfitCollector Repo Risk Report (Standard)","description":"Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.","url":"https://api.bakhour.ca/security/repo-risk-report/standard","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ref":{"type":"string","description":"Optional branch/tag to analyze. Defaults to the repository's default branch."},"repo_url":{"type":"string","description":"Public https://github.com/... or https://gitlab.com/... repository URL."}}},"responseSchema":{"type":"json","example":{"risk":{"severity":"high","risk_score":45},"tier":"standard","repo_url":"https://github.com/pallets/flask","component_count":29,"freshness_flags":[{"type":"unpinned_dependencies","count":9}],"vulnerability_matches":{"PyPI/jinja2@==3.1.2":[{"id":"GHSA-cpwx-vrp4-4pq7","severity":"CVSS:4.0/...","fixed_versions":["3.1.6"]}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"20","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":"$20/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_634YYxm3XvJMa3d96Flpf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"20","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a public GitHub or GitLab repository and returns a standard-tier security risk report including vulnerability matches, dependency freshness flags, and an overall risk score.","exampleAgentPrompt":"Can you run a standard security risk report on https://github.com/pallets/flask and tell me the risk score, any known vulnerabilities, and whether the dependencies are properly pinned?","exampleUseCases":[{"title":"Vetting a new open source library","prompt":"Before we add this library to our project, can you run a standard security scan on https://github.com/psf/requests and tell me if there are any high-severity CVEs or unpinned dependencies I should worry about?"},{"title":"Supply chain audit before deployment","prompt":"We're about to ship a release that depends on https://github.com/encode/httpx — can you pull a standard repo risk report and flag anything with a known fix I need to patch first?"},{"title":"Due diligence on a vendor's public repo","prompt":"I'm evaluating a vendor and their code is at https://github.com/tiangolo/fastapi — can you get me a security risk score and list any vulnerabilities with available fixes so I can include it in my due diligence notes?"}],"resultDescription":"A JSON report containing: overall risk severity (e.g. high/medium/low) and numeric risk score (0–100), the report tier (standard), the analyzed repo URL, count of scanned components, freshness flags (e.g. unpinned dependencies with counts), and vulnerability matches keyed by package+version with GHSA/CVE IDs, CVSS vectors, and recommended fixed versions.","failureModes":["Private or inaccessible repository URL returns an error (repo must be public)","Invalid or malformed repo URL causes a 400-level rejection","Repository with no detectable dependency manifest may return empty vulnerability matches","Unresolvable branch/tag reference causes analysis failure","Payment not completed results in 402 response with no report"],"whenToPreferThis":"Choose this endpoint when you need a structured, decision-grade security assessment of a public GitHub or GitLab repository, including CVE/GHSA vulnerability matches with fix guidance and dependency freshness flags, and are willing to pay $20 per report. Prefer this over free static scanners when you need a scored, machine-readable outcome report suitable for automated due-diligence workflows or agent pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:31:08.645Z","isFirstParty":false}