# QuillShield GitHub App: a security check on every Solidity pull request

URL: https://shield.quillaudits.com/integrations/github/

The QuillShield GitHub App checks each pull request in your Solidity repository against the security graph from your last full QuillShield audit, and posts a GitHub Check, a commit status and one pull request comment that it updates in place. Make that check required in branch protection or a ruleset, and a pull request with a High or Critical finding, or one at the threshold you set, cannot merge.

Last updated 3 December 2026. 6 minute read. By the QuillAudits Team.

## What does the QuillShield GitHub App do?

The App clones your repository for audits and checks, receives GitHub's pull request and push events, and publishes the result of each check back to GitHub. A check compares the pull request with the security graph from your last full audit, and each pull request it checks gets four things:

- A GitHub Check named QuillShield Check, which fails at the severity you set.
- A commit status.
- One pull request comment, updated in place when the pull request changes.
- A report in QuillShield for every check, kept when the pull request gets new commits.

It is for teams that keep Solidity in a Foundry project on GitHub and want every change between audits checked before it merges. On GitLab.com, QuillShield does the same through a project webhook, because there is no GitLab App.

## What permissions does the QuillShield GitHub App ask for?

| Permission | Access | What QuillShield uses it for |
| --- | --- | --- |
| Metadata | Read | Basic information about the repository |
| Contents | Read | Cloning the code for audits and checks |
| Pull requests | Read and write | Listing pull requests and posting the comment |
| Checks | Read and write | Publishing QuillShield Check |
| Commit statuses | Read and write | Posting the commit status |

The App reads your code and writes only checks, statuses and pull request comments. It does not ask for the Administration or Workflows permissions, so it can't push commits or change your branch rules. The install needs user authorization on GitHub, and QuillShield refuses an installation ID on its own.

## How do I install the QuillShield GitHub App?

1. Create a git project for the repository. In QuillShield, open Projects, then New project, Git import and Browse GitHub, and pick the repository.
2. [Run a full audit](https://shield.quillaudits.com/register) of the CI base branch, which starts as the repository's default branch. It becomes the baseline that every check compares against, and it comes with five pull request checks.
3. Open CI/CD Checks at [shield.quillaudits.com/ci](https://shield.quillaudits.com/ci), go to Setup & automation and install the QuillAudits GitHub App on the repository or the organization. Authorize it when GitHub asks.
4. Switch on Scan Pull Requests. Scan Every Commit also checks pushes to branches that have no open pull request. Both switches start off.
5. Set Fail check on to Critical, High or above (the default), Medium or above, or Low or above. A new threshold applies to later checks, and older reports keep theirs.
6. On GitHub, add or edit the branch protection rule or ruleset for the base branch, require status checks to pass before merging, and select QuillShield Check.

Our guide [How to add smart contract security checks to CI on GitHub](https://shield.quillaudits.com/guides/check-every-pull-request-on-github/) walks through each screen and the common problems. The QuillShield docs cover [Connect GitHub](https://www.quillaudits.com/quillshield/guides/guides/connect-github) and [CI/CD Checks](https://www.quillaudits.com/quillshield/guides/guides/ci-cd-checks) in full.

## Is there a GitHub Action for QuillShield checks?

You don't need one. The App starts checks from GitHub's own events, with no workflow file in your repository. If you can't install an App on the repository, CI/CD Checks has a second path under Setup, Use GitHub Actions: a workflow that you copy into the repository.

- It needs two repository secrets, `QUILLAUDITS_API_KEY` and `QUILLAUDITS_ORG_ID`. An owner or admin of your QuillShield organization creates the key.
- It runs on pull requests to the base branch, on pushes to that branch and on manual runs, asks the QuillShield API for a check and waits for the result.
- It does not check out or run your code. QuillShield finds the baseline and imports the change itself.
- Adding it takes write access on the GitHub repository.
- GitHub doesn't give repository secrets to workflows on pull requests from forks, so the workflow skips those, and the QuillShield docs point fork pull requests to the App.
- Its checks use the five included checks first. After that, a check requested with an API key spends from the organization owner's wallet.

The App, the workflow and the dashboard's Run CI Scan button all start a check with the same API request. The [CI/CD Checks API docs](https://www.quillaudits.com/quillshield/developers/ci-cd-checks) describe it: a `POST` to `/v1/ci/scans/trigger` with an API key as the bearer token, the `X-Org-Id` header and `X-QuillShield-Client: ci`. API keys act as an admin of the organization.

**The body of a check request to /v1/ci/scans/trigger, from the CI/CD Checks API docs** `trigger-request.json`

```
{
  "project_id": "01...",
  "pull_request_number": 42,
  "fail_on": "high"
}
```

## What do QuillShield pull request checks cost?

Each full audit of a GitHub or GitLab.com repository comes with five pull request checks on that project. After those, a check costs $5 for up to 50 added lines of Solidity and $0.10 for each added line after that, so a change that adds 150 lines costs $15. A renamed or moved Solidity file counts at its full length. These are the [pricing page](https://shield.quillaudits.com/pricing/) figures, as of November 2026.

The switches only run checks and never start a paid full audit. When a change adds new .sol files, more than 150 added Solidity lines or more than 5 changed .sol files, the check still runs and its report recommends a new full audit. That recommendation does not block the merge.

## What are the limits of the QuillShield GitHub App?

- A check needs a completed full audit, with its security graph, on an ancestor of the commit it checks. Without one, the check returns HTTP 409 and doesn't run.
- Blocking a merge needs branch protection or rulesets on your GitHub plan, with QuillShield Check required.
- Checks need a GitHub or GitLab.com repository. A project uploaded as a zip, a folder or a single .sol file gets a full audit and no checks.
- A `.solidity-review.yml` file, `@quillshield` commands and merge queue orchestration are not supported.
- QuillShield supports Solidity in Foundry projects today, and it does not replace a manual audit. You can [request a manual audit from QuillAudits](https://www.quillaudits.com/smart-contract-audit).

To start full audits from a script instead, use the [QuillShield CLI](https://shield.quillaudits.com/integrations/cli/). Our [Foundry page](https://shield.quillaudits.com/integrations/foundry/) covers what a project needs before the baseline audit, and a coding agent can do the setup with the prompt in our guide [How do I add QuillShield pull request checks to a Foundry repo?](https://shield.quillaudits.com/guides/pull-request-checks-from-an-agent/), while a person installs the App and creates the key. To run full audits from an agent, use the [QuillShield MCP server](https://shield.quillaudits.com/integrations/mcp/).

## FAQ

### What can the QuillShield GitHub App change in my repository?

Only checks, commit statuses and pull request comments. It reads your code and metadata, and it does not push commits or change branch rules.

### What is the QuillShield check called in branch protection?

QuillShield Check. Require that name on the protected branch, and compare it with the check name shown on one of your own pull requests.

### Does the GitHub App start a paid full audit?

No. The switches only run pull request and commit checks. When a change is large, the report recommends a full audit, and you decide whether to start one.

### Does QuillShield check merge requests on GitLab?

On GitLab.com, yes. QuillShield registers a project webhook through your GitLab connection, then posts a commit status named QuillShield Check and one note on each merge request it checks. On the GitLab Free plan that status can't be required the way a GitHub check can, and self-managed GitLab is not supported, as [Connect GitLab](https://www.quillaudits.com/quillshield/guides/guides/connect-gitlab) in the docs explains.

### Can I use a GitHub Actions workflow instead of the App?

Yes. Copy the workflow from Use GitHub Actions on the CI/CD Checks setup page and add the secrets `QUILLAUDITS_API_KEY` and `QUILLAUDITS_ORG_ID`. Pull requests from forks don't receive secrets, so they need the App.

## Sources

- [Connect GitHub, QuillShield docs, QuillAudits](https://www.quillaudits.com/quillshield/guides/guides/connect-github) · checked 3 December 2026
- [CI/CD Checks, QuillShield docs, QuillAudits](https://www.quillaudits.com/quillshield/guides/guides/ci-cd-checks) · checked 3 December 2026
- [CI/CD Checks API, QuillShield docs for developers, QuillAudits](https://www.quillaudits.com/quillshield/developers/ci-cd-checks) · checked 3 December 2026
- [Connect GitLab, QuillShield docs, QuillAudits](https://www.quillaudits.com/quillshield/guides/guides/connect-gitlab) · checked 3 December 2026
- [Why isn't my integration working?, QuillShield docs, QuillAudits](https://www.quillaudits.com/quillshield/help-center/integrations/why-isnt-my-integration-working) · checked 3 December 2026
