Submitting Applications

7 ways to point Bugrit at your code for analysis.

🤖 Vibe Coding Prompts

Choose your path and copy the prompt to your AI assistant:

Scan my repo from GitHub

Read the Bugrit docs at https://bugrit.com/docs/submitting-apps

Scan my GitHub repository with Bugrit:

1. POST to /api/v1/scans with:
   - sourceType: "github"
   - repoUrl: my GitHub repo URL
   - branch: "main"
2. Poll until scan completes
3. Show me the results

My repo: [YOUR_REPO_URL]

✨Works with Claude, ChatGPT, Cursor, Copilot, Cody, and other AI coding assistants

💡 Why This Matters

Your code lives in different places. Bugrit meets you where you are.

  • →GitHub/GitLab: Connect once, scan on every push
  • →Live URLs: Point us at a deployed app and we'll crawl it
  • →Mobile: Upload APK/IPA before App Store submission

Live URL

Scan deployed web apps

GitHub

Public or private repos

GitLab

GitLab.com or self-hosted

ZIP Upload

Upload source directly

Docker

Container images

npm Package

From npm registry

Mobile Binary

APK or IPA files

API Examples

Scan a Live URL

POST /api/v1/scans
Authorization: Bearer YOUR_API_KEY

{
  "applicationId": "app-abc123",
  "sourceType": "url",
  "targetUrl": "https://your-app.com"
}

Scan a GitHub Repository

POST /api/v1/scans
Authorization: Bearer YOUR_API_KEY

{
  "applicationId": "app-abc123",
  "sourceType": "github",
  "repoUrl": "https://github.com/username/repo",
  "branch": "main",
  "accessToken": "ghp_xxxx"  // For private repos
}

Upload Source Code (ZIP)

curl -X POST https://bugrit.com/api/v1/scans \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "applicationId=app-abc123" \
  -F "sourceType=upload" \
  -F "file=@./source.zip"

Scan a Docker Image

POST /api/v1/scans
Authorization: Bearer YOUR_API_KEY

{
  "applicationId": "app-abc123",
  "sourceType": "docker",
  "dockerImage": "username/image-name",
  "dockerTag": "latest"
}

Scan an npm Package

POST /api/v1/scans
Authorization: Bearer YOUR_API_KEY

{
  "applicationId": "app-abc123",
  "sourceType": "npm",
  "npmPackage": "@scope/package-name",
  "npmVersion": "latest"
}

Scan a Mobile Binary

curl -X POST https://bugrit.com/api/v1/scans \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "applicationId=app-abc123" \
  -F "sourceType=mobile" \
  -F "platform=android" \
  -F "file=@./app-release.apk"

Response

{
  "scan": {
    "id": "scn-xyz789",
    "applicationId": "app-abc123",
    "status": "running",
    "sourceType": "github"
  }
}

Poll GET /api/v1/scans/:id until status is "completed".

Limits by Plan
ResourceSoloScaleBusiness
Max upload size50 MB100 MB500 MB
Concurrent scans1310
Report retention14 days30 days90 days