# GitHub Issue Risk Assessment API

> GitHub Issue Risk Assessment API is a paid API for AI agents from happybirthday.digitalshop.xin, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Assesses the risk and trustworthiness of a public GitHub issue by returning a verdict, risk score, and signals.

## Facts

- Endpoint: GET https://happybirthday.digitalshop.xin/bounty-truth/api/v1/check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-issue-risk-assessment-api-28d3616f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V__Iu32pYP1n25N9ljv_o

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability github-issue-risk-assessment-api-28d3616f
```

Example prompt: Can you check if this GitHub issue looks legitimate and give me a risk score before I engage with it? Here's the URL: https://github.com/someorg/somerepo/issues/42

## When to prefer this

Use this endpoint when you need a quick, structured risk assessment of a specific GitHub issue — especially before engaging with bounty tasks, executing code from issue instructions, or trusting external contributors. It is purpose-built for GitHub issue trust evaluation with a dedicated scoring model, unlike general-purpose content moderation or URL scanners.

## Known failure modes

- Invalid or non-public GitHub issue URL returns a validation error
- Issue URL that doesn't match the required pattern (github.com/{owner}/{repo}/issues/{id}) is rejected
- Network or upstream GitHub access failure may return an error or degraded freshness
- Issue not found or deleted may result in incomplete signals or an error response

## How this service works

制作一份可以在微信里打开的生日惊喜网页，送出照片、祝福和专属仪式感。

## Output

Returns a JSON object containing: a 'verdict' string (e.g. 'caution', 'safe', 'risky'), a numeric 'riskScore' (0–100), an array of 'signals' describing detected risk factors, the 'rulesVersion' used, 'sourceFreshness' indicating data completeness, and a 'checkedAt' ISO timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "pattern": "^https://github\\.com/[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+/issues/[1-9][0-9]*$",
       "description": "Public github.com issue URL to assess"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "signals": [],
  "verdict": "caution",
  "checkedAt": "2026-07-29T00:00:00.000Z",
  "riskScore": 35,
  "rulesVersion": "1.0.0",
  "sourceFreshness": "complete"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-issue-risk-assessment-api-28d3616f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from happybirthday.digitalshop.xin](https://www.zero.xyz/host/happybirthday.digitalshop.xin/llms.txt)
