Arachne docs Home Open app

Get started

Quickstart

Sign in, connect a repository, scan it, run a verified fix and open the pull request: the whole loop on the public demo repository in about ten minutes.

This walkthrough uses the public demo repository aadhi0612/arachne-demo, which pins requests==2.30.0. That version is affected by GHSA-j8r2-6x86-q33q (CVE-2023-32681: requests can leak Proxy-Authorization headers to the destination server on redirect), fixed in 2.31.0. The same steps work for your own public repositories once they are on the allowlist (see Current limits).

What you need

  • An email address you can receive a verification code at.
  • About ten minutes. A fix job usually starts within a minute and runs for a few minutes in CodeBuild.
  • One of your three free monthly uses. It is only consumed if you actually open the PR.

1. Sign in#

  1. Open the appGo to arachne.withaadhi.com/app. You are sent to the sign-in page.
  2. Create an account or sign inSign-in is email and password (Cognito hosted login). New accounts verify their email with a code before the first sign-in; Arachne refuses an unverified email.
  3. Land on the dashboardYou get a personal organisation automatically. The header shows your usage meter, for example 0 of 3 used this month (resets Dec 1, 2026).

2. Connect a repository#

  1. Open the Connect tab and pick your source controlGitHub, GitLab (gitlab.com or an operator-approved self-hosted host), Bitbucket Cloud, Azure DevOps, or Any Git for any other public HTTPS Git server.
  2. Enter the repositoryEither the short form (owner/repo, group/project, workspace/repo, org/project/repo) or paste the repository URL; Arachne normalises both. Any Git takes the https:// clone URL.
  3. Choose accessPublic repository needs no token. Add a token lets Arachne open pull/merge requests; see Connecting repositories for the exact scopes.
  4. Click Connect repositoryArachne checks the address, detects whether the repository is public, and adds it as a project. Connecting never writes to the repository. Hatchling allows 3 connected repos.

Connect GitHub in one click#

On the Connect tab, choose GitHub and press Continue with GitHub. A small window opens on github.com; approve access there and it closes by itself. Arachne then lists your repositories (name, owner, public or private, language, default branch and last push). Search the list, tick the repositories you want, and press Connect selected. Nothing to type, no token to create.

Operators: create the GitHub OAuth App#

Continue with GitHub stays off until the deployment has an OAuth App. In GitHub, go to Settings, Developer settings, OAuth Apps, New OAuth App (create it under the organisation that should own it) and enter:

FieldValue
Application nameArachne
Homepage URLhttps://arachne.withaadhi.com
Authorization callback URLhttps://arachne.withaadhi.com/auth/github/callback

Generate a client secret, then store both values in AWS Secrets Manager (Terraform creates the two secrets empty; it never overwrites the values you set):

aws secretsmanager put-secret-value --secret-id <prefix>/github_oauth_client_id --secret-string '<client id>'
aws secretsmanager put-secret-value --secret-id <prefix>/github_oauth_client_secret --secret-string '<client secret>'

No redeploy is needed: the app reads them when a person opens the Connect tab. Organisations that restrict third-party OAuth apps must approve Arachne before their members can create repositories there.

Connect GitLab in one click#

On the Connect tab, choose GitLab and press Continue with GitLab. A small window opens on gitlab.com; approve access there and it closes by itself. Arachne then lists your projects (path, public or private, default branch and last activity). Search the list, tick the projects you want and press Connect selected. It works exactly like the GitHub flow above, and a connected project behaves exactly like one connected by URL.

Operators: the GitLab OAuth application#

Continue with GitLab stays off until the deployment has an OAuth application. In gitlab.com go to Preferences, Applications, Add new application (or the group's or admin area's Applications page) and enter:

FieldValue
NameArachne
Redirect URIhttps://arachne.withaadhi.com/auth/gitlab/callback
ConfidentialYes (leave ticked)
Scopesapi, read_api, read_user, read_repository, write_repository, profile, email (Arachne requests only api read_user at sign-in)

Store the Application ID and Secret in AWS Secrets Manager (Terraform creates the two secrets with the placeholder not-configured; it never overwrites the values you set):

aws secretsmanager put-secret-value --secret-id <prefix>/gitlab_oauth_client_id --secret-string '<application id>'
aws secretsmanager put-secret-value --secret-id <prefix>/gitlab_oauth_client_secret --secret-string '<secret>'

No redeploy is needed. The secret names can be overridden with GITLAB_OAUTH_CLIENT_ID_SECRET_NAME and GITLAB_OAUTH_CLIENT_SECRET_SECRET_NAME.

Connect Bitbucket in one click#

On the Connect tab, choose Bitbucket and press Continue with Bitbucket. A small window opens on bitbucket.org; approve access there and it closes by itself. Pick a workspace, and Arachne lists its repositories (name, public or private, default branch and last update). Search the list, tick the repositories you want and press Connect selected. It works like the GitLab flow above, and a connected repository behaves exactly like one connected by URL.

Operators: the Bitbucket OAuth consumer#

Continue with Bitbucket stays off until the deployment has an OAuth consumer. In Bitbucket go to the workspace's Settings, OAuth consumers, Add consumer and enter:

FieldValue
NameArachne
Callback URLhttps://arachne.withaadhi.com/auth/bitbucket/callback
This is a private consumerYes (tick it, so the consumer has a secret)
PermissionsAccount: Read. Repositories: Read, Write and Admin (Bitbucket requires Admin to create a repository; without it Create Bitbucket repository is refused, while listing and connecting still work). Pull requests: Read and Write.

Store the consumer's Key and Secret in AWS Secrets Manager (Terraform creates the two secrets with the placeholder not-configured; it never overwrites the values you set):

aws secretsmanager put-secret-value --secret-id <prefix>/bitbucket_oauth_client_id --secret-string '<key>'
aws secretsmanager put-secret-value --secret-id <prefix>/bitbucket_oauth_client_secret --secret-string '<secret>'

No redeploy is needed. The secret names can be overridden with BITBUCKET_OAUTH_CLIENT_ID_SECRET_NAME and BITBUCKET_OAUTH_CLIENT_SECRET_SECRET_NAME.

Connecting repositories#

ProviderRepositoryToken for pull/merge requestsPR status
GitHubowner/repo or URLFine-grained personal access token limited to this one repository: Contents read and write, Pull requests read and write (Metadata read is added automatically).Live-tested
GitLabgroup/project (subgroups allowed) or URL; optional self-hosted host (self-hosted is manual only: the one-click sign-in is gitlab.com)Project access token, role Developer or higher, scope api (merge requests need the API; write_repository alone only covers git push).Beta
Bitbucket Cloudworkspace/repo or URL (one-click sign-in available; Bitbucket Server and Data Center are not supported yet)Repository access token with repository:write and pullrequest:write. App passwords are deprecated by Atlassian and not supported.Beta
Azure DevOpsorg/project/repo or https://dev.azure.com/org/project/_git/repoPersonal access token for that organisation with Code (Read & write) (vso.code_write, which covers pushes and creating pull requests). Pull Request Threads is only for comments and is not needed.Beta
Any Githttps:// clone URL on a public host nameNone: there is no pull request API. Verified fixes are exported as a patch.Patch only

Beta means the GitLab, Bitbucket and Azure DevOps pull/merge request code is verified against each vendor's documented API request and response shapes with mocked HTTP, not yet against a live account.

Public and private repositories

Monorepos: a scan finds dependency files in any folder (not inside node_modules or vendor) and lists each folder it checked. "Fix this folder" runs the fix job inside that folder, and the PR or patch carries the real repository paths. Over MCP, pass path (for example services/api) to fix_submit and propose_version.

Private repositories: connect with Continue with GitHub, GitLab or Bitbucket, or paste a token. Arachne clones the repository with that token for scans and fix jobs. In a fix job the token is read with temporary credentials scoped to that one secret for 15 minutes; the build role holds no tenant secret and the token is never passed to the sandbox that runs your code. Azure DevOps and Any Git private repositories are open-PR only for now.

No token? Download the patch#

Every verified fix has a Download patch button on its job page, and Open PR offers it whenever a pull request can't be opened (no token, Any Git, or the provider refused). Apply it from the repository root:

git switch -c remediation/<job-id>
git apply --check arachne-<job-id>.patch && git apply arachne-<job-id>.patch
git commit -am "Remediate vulnerable dependencies"
git push -u origin HEAD   # then open the pull/merge request as usual

3. Scan it#

On the dashboard, click Findings next to the project, then Scan now. Arachne clones the repository, detects the ecosystem, reads the declared dependencies and matches each against the advisory database. Scans are free and never count against your allowance.

For the demo you should see a row like:

PackageVersionAdvisoryFixKEVEPSS
requests2.30.0GHSA-j8r2-6x86-q33q2.31.0(a small probability)

Tip

Findings are sorted most urgent first: anything in CISA's Known Exploited Vulnerabilities list, then by EPSS (the probability of exploitation in the next 30 days).

4. Click "Fix this"#

Fix this appears on findings that have a known fixed version. It queues one fix job for the project: the job plans upgrades for every fixable vulnerable dependency it finds, not only the row you clicked.

5. Read the evidence#

When the job is done, the page shows the outcome, a confidence label and three sections:

SectionWhat to check (demo values)
PlanOne row per package: requests 2.30.0 -> 2.31.0 with status fix_found. The resolver picks the lowest version that fixes every known advisory, respects the package-age cooldown and does not jump a major version without asking.
GatesFive rows, each with a status: clean_room_reinstall, build, independent_rescan, test_delta, policy. All pass means the outcome is verified.
DiffThe exact change that would be pushed. For the demo it is a small edit to the dependency manifest (and lockfile, where there is one).

The outcome reads verified with confidence high: deterministic dependency-only change. If you see failed or unverifiable instead, nothing can be opened and your use has already been returned. What each gate checks.

6. Approve, then open the PR#

  1. Approve PRRecords your decision on the job's open_pr approval. (Reject instead and the reserved use goes back.)
  2. Open PRArachne re-checks that the job is verified and approved, pushes a branch named remediation/<job-id-prefix>-<project> with exactly the reviewed files, and opens the pull request. The PR body is the evidence bundle: plan, gate results and confidence.
  3. DoneA "Pull request opened" card links to the PR, and the meter now reads 1 of 3 used. Review and merge it on GitHub as you would any PR.

Warning

Opening the PR is the step that spends a use. Opening the same job's PR again returns the existing PR and does not count twice.

Starting a new project (no repository yet)#

On the Connect tab, the Start a new project card sets up a project that has no repository. Pick a language, name the project and list the packages you need, one per line (requests or flask==3.0.0). Arachne generates only the basic setup, never application code:

LanguageManifest
Pythonrequirements.txt
JavaScript (npm)package.json
Java (Maven)pom.xml
Gogo.mod
Rust (Cargo)Cargo.toml
PHP (Composer)composer.json
Ruby (Bundler)Gemfile
.NET (NuGet)<project>.csproj
Dart (pub)pubspec.yaml
Swift (SwiftPM)Package.swift
Erlang (rebar3)rebar.config

The files appear in a read-only preview with a tab per file. Copy one, or download everything as a .zip. Nothing is stored, and nothing is pushed anywhere unless you create a GitHub repository, GitLab project or Bitbucket repository from it (below). If version data is not available for a package (for example the registry is unreachable, or Swift, which has no package registry), Arachne leaves it unpinned and says so in the README; it never invents a version. Any other language gets a clear language not supported yet answer that lists the supported ones.

Vulnerability check#

Under the preview, Vulnerability check lists every advisory that affects the pinned versions: its id, severity and the version that fixes it. A clean result reads No known vulnerabilities. A package Arachne could not check (no advisory data, or left unpinned) is labelled as such and is never reported as clean.

Create a GitHub repository#

After Continue with GitHub, Create GitHub repository creates a new repository in your own account (or an organisation you belong to), private or public, and pushes the generated files in one commit. It uses your GitHub sign-in, never Arachne's own credentials. The name is checked strictly; if it is already taken Arachne creates nothing and tells you. It never overwrites, force-pushes or deletes. GitHub adds its own first commit when a repository is created, so the history is that commit plus one Arachne commit holding every file. Then Connect it adds it as a project and, for a public repository, Scan it opens its findings.

Create a GitLab project#

Under the generated files, Create it on lets you choose GitHub, GitLab or Bitbucket. After Continue with GitLab, Create GitLab project creates a new project on gitlab.com in your own namespace (or a group you belong to), private or public, with GitLab's initial README, and pushes the generated files in one commit (the README is replaced by Arachne's). It uses your GitLab sign-in, never Arachne's own credentials, refuses a name that is taken without creating anything, and never overwrites, force-pushes or deletes. Connect it and Scan it then work as for GitHub. Over the API this is the same POST /v1/scaffold/publish with "provider": "gitlab" added (default github).

Create a Bitbucket repository#

Under the generated files, Create it on also offers Bitbucket Cloud. After Continue with Bitbucket, choose one of your workspaces (Bitbucket has no default one) and Create Bitbucket repository creates a new repository there, private or public, and pushes the generated files as one commit on main. The name may use letters, numbers, hyphens and underscores. Creating a repository needs the Repositories: Admin permission on the operator's consumer. It uses your Bitbucket sign-in, never Arachne's own credentials, refuses a name that is taken without creating anything, and never overwrites, force-pushes or deletes. Connect it and Scan it then work as for GitHub. Over the API this is the same POST /v1/scaffold/publish with "provider": "bitbucket" and "owner": "<workspace>" added.

The same thing is available over the API for a signed-in person (a read-only role is enough): GET /v1/scaffold/languages, POST /v1/scaffold with {"language": "python", "project_name": "demo", "packages": [{"name": "requests"}, {"name": "flask", "version": "3.0.0"}]}, and POST /v1/scaffold/zip for the archive. Up to 50 packages; names are validated strictly for each ecosystem.

Do the same from your AI assistant#

Everything above except the approval can be driven over MCP: repos_affected scans, fix_submit queues the job, job_status shows the gates, and pr_open opens the PR once you have approved it in the web app. Start with Install & connect.