Routes to a free penetration test
- Do it yourself with open-source tools. The most common route. Quality depends on your time and skill, and on whether your tools can prove findings rather than just list them.
- Use an open-source autonomous pentester. Tools such as Pentest-Swarm run the recon, exploitation and reporting loop for you, with a local model so there is no API bill.
- Run a vulnerability disclosure programme. A published security.txt and a clear safe-harbour policy invites researchers to report issues they find. It is not a test, but it costs nothing and catches real bugs.
- Ask your platform. Some cloud providers, accelerators and security vendors offer credits or free tiers. Read what is actually included before relying on it.
A one-weekend free pentest plan
Pick a staging environment that mirrors production and that you own. Create two ordinary user accounts and one admin account. On day one, inventory everything exposed (subdomains, ports, API endpoints) and run known-issue checks. On day two, focus on what scanners miss: can user A read or edit user B's data, can an ordinary user call admin functions, can a user set fields like role or is_admin when registering, and does any endpoint fetch a URL you supply. Write each confirmed issue down with the exact request that proves it.
What a free test can and cannot tell you
- It can find real, exploitable bugs, especially access-control flaws in APIs, injection, exposed secrets and misconfiguration.
- It can give you a baseline to fix before paying for a formal test, which makes the paid test cheaper and more useful.
- It cannot give a customer, insurer or auditor an independent opinion. A self-run report is evidence of diligence, not third-party assurance.
- It cannot guarantee coverage. Absence of findings means the tools did not find anything, not that nothing is there.
Spotting a 'free pentest' that is really a scan
Be wary of offers that need only a domain name, return a PDF within minutes and contain mostly header, TLS and version findings. That is an external vulnerability scan. It has some value, but it is not a penetration test: nobody logged in, nobody chained issues together, and nothing was proven. A real test asks for scope, credentials and rules of engagement before it starts.
Running a free penetration test with Pentest-Swarm
Pentest-Swarm is open source under AGPL-3.0 and can run entirely on your machine with a local model, so the software and the model cost nothing. It goes beyond scanning by attempting exploitation and verifying findings.
- Install:
npm install -g @armurai/pentestswarm, then launch the guided TUI withpentestswarm run. - Choose Ollama or LM Studio as the provider for zero API cost; no data leaves the machine.
- Rehearse on a bundled lab (crAPI, Juice Shop, VAmPI or DVGA) before touching your own staging environment.
- Point it at your authorised target with an explicit scope:
pentestswarm scan staging.example.com --scope staging.example.com --safe-mode --swarm. - Review the findings with their evidence, severity and CVSS, fix, and rerun to confirm.
Where it falls short
A free, self-run Pentest-Swarm test is still a self-assessment. The free edition deliberately limits its most powerful capabilities, the concurrent swarm scheduler is alpha, and local models are generally less capable than frontier cloud models, so expect to review results carefully. If a contract or compliance programme requires an independent report, use a human-led firm or Armur's managed service with human-reviewed reports, and treat the free run as preparation.
Questions
Do any companies offer free penetration testing?
Occasionally, as trials or programme credits, but scope is usually narrow. Read what is included; many 'free pentests' are automated external scans rather than authenticated testing.
Is a free self-run pentest good enough for SOC 2?
SOC 2 does not prescribe a specific pentest, but auditors and customers often expect an independent one. A self-run test is useful preparation; check with your auditor before relying on it.
What is the cheapest way to start?
Run an open-source autonomous tool with a local model against a lab, then against your own staging environment. The cost is your time and hardware.