Guide

Your first scan

Instructions for release 0.3.0. Start with a small repository that you are permitted to send to an AI provider.

Code reproduction test requirements

Release 0.3.0 runs code reproduction tests with Vitest or Jest. Node.js and the repository's test environment are required. Code being readable by the AI does not mean its tests can be executed.

  • Automatic dependency fetching uses package-lock.json or npm-shrinkwrap.json. Configurations using sources outside the public npm registry may not be fetched.
  • If the runner or isolation environment is missing, read the reason execution is unavailable. Do not treat a test that could not run as evidence of no problem.
  • Execution through Python or Ruby test runners is not supported. Operation with every JS/TS framework is not guaranteed either.
  • Some files are excluded from scans. Check what was actually reviewed.
  • Results from other tools can be imported from SARIF files, Trivy JSON files and CSV files. No other format is supported. The file is read on this Mac and is not sent to the AI. Imported findings arrive as “New”, and Bugoon Security does not guarantee they are correct. The severity from the original tool is not a result the app has confirmed.

Requirements

  • A Mac with Apple silicon (M1 or later) running macOS 13 or later. Intel Macs are not supported at this time.
  • A way to use Claude: an Anthropic API key, Amazon Bedrock, or Google Vertex AI. A claude.ai subscription (Pro, Max and so on) cannot be used.
  • A git repository that you or your team maintain.
  • Recommended: gitleaks (checks for keys and passwords), osv-scanner (checks dependencies for known vulnerabilities), zizmor (checks GitHub Actions settings) and Trivy (checks IaC configuration; off by default). zizmor and Trivy are used from 0.3.0. Without them, those checks are skipped.

Claude usage is billed to your own Anthropic, AWS or Google Cloud account. The app shows an estimated cost before each scan and stops a scan when it reaches the cost limit you set. The last response before the stop can take the total slightly over the limit.

Getting started

  1. Open the dmg and drag Bugoon Security to the Applications folder.
  2. We recommend verifying the app first.
  3. Open Bugoon Security from Applications. Follow the macOS prompts. If signature verification fails, stop and contact us.
  4. The first time, setup opens. It has four steps: Welcome, Claude, Repositories and Review.
    1. Welcome: choose the display language (you can change it later in Settings), then choose Start setup.
    2. Claude: choose the access method (an API key, Amazon Bedrock or Google Vertex AI), fill in what it needs (paste the key, enter the region and so on), then choose Next, which saves it. To use no AI, choose Skip AI and only import results below the step, then Continue in the confirmation. You can then only import results, and scans cannot run until you save an API key or other Claude settings in Settings.
    3. Repositories: choose Add a folder and pick the folder to scan. The project name starts as the name of the first folder you pick, and you can change it.
    4. Review: set the Limit per scan (the spending limit), check the summary and choose Finish setup. The limit is shared by all projects.
  5. Finishing setup does not start a scan. You can change these settings later in Settings.
  6. Start a scan. You can check the list of files sent to the AI before anything is sent.

After the scan

  1. Read the location and reasoning. Unconfirmed findings remain available.
  2. For reproduction tests, review the full code, target and execution conditions before allowing execution. Ask a developer on your team if you cannot assess the test.
  3. Read the result and any reason verification was unavailable. A test not running is different from a test running without reproducing the problem.
  4. Check the handoff body and repository visibility. Decide with your team before putting undisclosed vulnerability details in a public issue.

Read an illustrative finding and its results →

Setting up Claude

Anthropic API key

  1. Sign in to the Claude Console and add a payment method.
  2. Under API Keys, choose Create Key and give it a name, for example bugoon-security. Create the key inside a workspace: select the workspace in the Console before you choose Create Key. The key is shown only once.
  3. In the app, under Settings and Using Claude, set Access method to API key, paste the key and choose Save key.

The key is stored only in the macOS Keychain and is never shown on screen. Setting a monthly limit under Limits in the Console adds a second safeguard on top of the app's cost limit.

Amazon Bedrock

Enable Anthropic models in Bedrock for your AWS account, and set up AWS credentials on this Mac (~/.aws/credentials or aws configure). The app does not store AWS keys.

In the app, under Settings and Using Claude, set Access method to Amazon Bedrock, enter the AWS region (AWS_REGION) and profile name (AWS_PROFILE), and choose Save Claude settings. An empty region uses the value from the environment the app was launched with.

Under AWS credential inputs to pass, choose what to pass.

  • Profile and launch keys (pass both): passes the saved profile (or the launch AWS_PROFILE when empty) together with any launch keys.
  • Specified profile (omit launch keys): passes only the profile name you entered and omits the launch AWS_PROFILE and keys. The profile name cannot be empty. We recommend this option.
  • Launch keys (omit profiles): passes only the launch AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (and AWS_SESSION_TOKEN when present) and omits profiles.

An app opened from the Finder does not receive environment variables set in your terminal. To use launch keys, set them with launchctl setenv before opening the app, then reopen it. They are cleared when the Mac restarts. Values set with launchctl setenv are visible to other apps in your session and stay in your shell history, so use a profile where you can.

launchctl setenv AWS_ACCESS_KEY_ID your-key-id
launchctl setenv AWS_SECRET_ACCESS_KEY your-secret
# Only for temporary credentials (AWS STS)
launchctl setenv AWS_SESSION_TOKEN your-session-token

The app does not check which AWS account you sign in to. Only AWS_REGION, AWS_PROFILE, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN are passed from the app to its internal execution process.

Google Vertex AI

Enable Claude models in Vertex AI for your Google Cloud project, and create credentials with gcloud auth application-default login. The app stores neither the credentials nor their location. Sign-in is left to gcloud.

In the app, under Settings and Using Claude, set Access method to Google Vertex AI, enter the Google Cloud region (CLOUD_ML_REGION) and project ID (ANTHROPIC_VERTEX_PROJECT_ID), and choose Save Claude settings. An empty field uses the value from the environment the app was launched with.

Only if your credentials file is outside the default location and you point to it with GOOGLE_APPLICATION_CREDENTIALS, set that with launchctl setenv before opening the app, then reopen it. Only CLOUD_ML_REGION, ANTHROPIC_VERTEX_PROJECT_ID and GOOGLE_APPLICATION_CREDENTIALS are passed from the app to its internal execution process.

gitleaks, osv-scanner, zizmor and Trivy

None of these tools is bundled with the app. The app looks for them on PATH and in the Homebrew locations /opt/homebrew/bin and /usr/local/bin. The easiest way to install them is with Homebrew.

brew install gitleaks osv-scanner zizmor trivy

zizmor and Trivy are used from 0.3.0.

  • gitleaks looks for keys and passwords in the code and in the git history. Values it finds are redacted.
  • osv-scanner checks dependencies listed in lockfiles for known vulnerabilities, and the AI checks whether the vulnerable code is actually called. By default only the local vulnerability database is used and nothing is sent over the network. If you allow it in Settings, the database is downloaded for each scan. Lockfile contents and code are never sent.
  • zizmor looks for mistakes in the settings of committed GitHub Actions workflows and actions. It runs in offline mode, and version 1.25.0 or later is required.
  • Trivy looks for potential problems in IaC configuration files such as Terraform, Dockerfile and Kubernetes. It is off by default. Turn on “Check IaC configuration with Trivy” under “IaC configuration checks” in Settings to use it for all projects from the next scan. It reads a copy of the committed files inside an isolated environment without network access. Modules referenced from outside are not checked, and Trivy’s ignore comments in the files still apply. Version 0.76.0 or later is required.

Once installed, the versions found are shown in Settings.

Verifying the app

You can check in Terminal that the dmg you downloaded has not been altered and that the app is signed by RUBY JOBS K.K.

Compare the SHA-256

shasum -a 256 ~/Downloads/Bugoon-Security_VERSION_aarch64.dmg

Check that the value matches the one listed under Download and the sha256 in /latest.json.

Check the signature and notarization

spctl -a -vv "/Applications/Bugoon Security.app"

The app is signed by RUBY JOBS K.K. and notarized by Apple if the output includes all three of these:

  • accepted
  • source=Notarized Developer ID
  • origin=Developer ID Application: RUBY JOBS K.K. (MY6U279MM8)

The bundled claude (Anthropic's Claude Code) is included unmodified, as signed by Anthropic.

What is not guaranteed

Bugoon Security cannot find every security risk, nor reproduce and confirm every one. AI findings and repro tests can be wrong. We make no warranty of any kind, including for any damage arising from your use of the App. See sections 4 and 5 of the Terms of use.

  • Finding nothing does not prove there is no problem. AI reviews miss things.
  • No longer reproduces (shown as Resolved in the app) means that the check which reproduced the finding no longer holds at that commit. It does not prove the code is safe.
  • This app does not change your code. Whether and how to fix something is for your project to decide.
  • Only repositories on your own computer that you or your team maintain may be reviewed. The app is not for examining other people's systems.

Reviews sent to Claude and handoffs to GitHub issues can contain code and finding details. Review the content before sending it. Known key formats are redacted, but not every secret can be detected. See the privacy policy for other requests such as update checks and permitted dependency downloads.

Deleting everything

Archive in the app's settings only hides a workspace and keeps its records. To delete every Bugoon Security record and key from this Mac, follow these steps in order. Deleted data cannot be recovered.

  1. Quit Bugoon Security (Quit Bugoon Security in the menu, or ⌘Q).
  2. Delete the whole folder where records are stored. It holds the database, the backups taken before migrations (backups/), and Claude's working files (claude/).
    rm -rf ~/Library/Application\ Support/jp.rubyjobs.bugoon-security
  3. Delete the keychain items whose service is jp.rubyjobs.bugoon-security (the API key and the GitHub token). Search for that name in Keychain Access and delete them, or run the following in Terminal until it reports that the item could not be found.
    security delete-generic-password -s jp.rubyjobs.bugoon-security
  4. If you registered the MCP server with claude mcp, remove it from the repository folder where you registered it.
    claude mcp remove bugoon-security --scope local
  5. To remove the app too, move Bugoon Security from Applications to the Trash.

If you set environment variables with launchctl setenv for Amazon Bedrock or Google Vertex AI, they can be cleared with launchctl unsetenv NAME (they are also cleared when the Mac restarts). If you connected GitHub, also revoke the authorization under Applications in your GitHub settings.