Before you start
1
Docker
Docker Engine 24 or newer with Docker Compose v2 (Docker Desktop on macOS and Windows). Check with
docker compose version.2
A machine with room to scan
At least 4 CPU cores, 4 GB of RAM (8 GB recommended) and 20 GB of free disk.
3
A domain you are allowed to scan
A domain you own, or one you have written permission to test. OASM will actively probe everything it finds under it.
- Download OASM
The oasm-docker repository contains everything needed to run the whole platform with Docker Compose.
- Generate your secrets
OASM refuses to start with default secrets. Generate three random values and put them in .env:
Leave
BASE_URL empty while you run OASM on localhost.
- Start the platform
make pulls the images and starts every service: the web console, the core API, three scan workers, PostgreSQL, Redis, object storage and a geo-IP service. Without make, run docker compose pull && docker compose up -d; on native Linux, first set DOCKER_GID in .env to the output of stat -c '%g' /var/run/docker.sock.
When the containers are up, check that the API is ready:
The command returns a healthy response. The first start can take a minute while the database is prepared.
- Create your admin account
Open http://localhost:6276/init-admin. The Create your first admin form appears only once, on a fresh installation.
- Enter your email address and a password of at least 8 characters, confirm the password, and click Create account.
- OASM takes you to the sign-in page. Sign in with the same email address and password.
You are signed in as the platform administrator.
- Create your workspace
A workspace holds everything you scan and find, and the people who work on it. OASM asks you to create the first one straight after you sign in. Keep the suggested name or type your own, then click Create workspace.
The Start discovery page opens.
- Add your domain and start discovery
On the Start discovery page, choose Root domain, enter your domain — for example example.com — and click Start Discovery.
That is all you have to do. Adding a domain target starts OASM’s built-in domain discovery workflow on its own. The bundled workers then run four tools, each one working on what the previous one found:
The target page opens and shows Discovering assets… while the first discovery runs.
- Watch the scan
Open Jobs Registry in the sidebar to see every tool execution: each job waits for a free worker, runs, and finishes as completed or failed. A small domain usually finishes within a few minutes; a large one with hundreds of subdomains takes longer.

- Explore what OASM found
When the run is finished, open Assets. Every row is a web service OASM found, with its host, port, title, status code, technologies, TLS certificate and a screenshot. The tabs above the list pivot the same inventory by host, port, IP address, technology or certificate, and Graph shows how it all connects.

- Find your first vulnerabilities (optional)
Discovery maps what you expose; it does not attack it. To check the services for known vulnerabilities, open your target, go to the Vulnerabilities tab and click Fast scan. OASM runs Nuclei against every live web service it found.
Findings appear in the target’s Vulnerabilities tab and on the Vulnerabilities page, each with its severity and the evidence the scanner saw.
What you just did
In ten minutes you went through the core loop of OASM:
How OASM works follows the same journey and explains what happens at each stage, and what comes after it.
Troubleshooting
A container keeps restarting
A container keeps restarting
Run
docker compose logs core-api. The most common cause is a missing or default secret: check that ENCRYPTION_KEYS, BETTER_AUTH_SECRET and OASM_CLOUD_APIKEY are set to random values of at least 32 characters, then run make again.Jobs stay waiting and never run
Jobs stay waiting and never run
Open Workers: the bundled workers should be connected. If they are not, run
docker compose logs oasm-worker. A permission denied error on the Docker socket means DOCKER_GID does not match the group of /var/run/docker.sock on your host.The scan finished but found almost nothing
The scan finished but found almost nothing
Discovery only finds what is publicly reachable. A domain without public subdomains or open web ports yields a small inventory — that is a good result. Check the job list for failed jobs, and see Targets for what each target type discovers.
I can't open /init-admin
I can't open /init-admin
The page is only available until the first admin exists. If an admin was already created, sign in at http://localhost:6276/login instead.
Next steps
Understand how it works
The mental model behind what you just saw.
Keep it scanned
Create a project to rescan your assets on a schedule.
Invite your team
Add members and give them the right permissions.
Get alerted
Send new assets and findings to Slack, Telegram or a webhook.
Ask the AI agent
Connect a model and ask questions about your attack surface.
Go to production
Public URL, secrets, backups, scaling and upgrades.
