The PharosScan security scan
Every app hosted on Pharos is checked for files and pages that should not be public. This page is for the people who own those apps, and for anyone who sees PharosScan in a web server log.
Image scanning works in layers. The optional scan steps in the generated GitHub workflow give you fast feedback and are advisory. The scan that decides runs on our server after you push. We keep only your current and previous image. An image with too many fixable high or critical vulnerabilities, or any committed secret, is removed from our registry and we email you. The running container is not stopped, so redeploy a fixed build. This is a check, not a certification.
What you will see in your logs
- User agent:
PharosScan/1 (+https://app.pharos.autera.com.au/scan/) - GET requests only. Never POST, never a login, nothing that changes data.
- At most 60 requests per scan, about one a second, only to your app's own platform address.
- A scan runs after each successful deploy, then once a week. The owner can also press Scan again, up to three times an hour.
- We keep a masked snippet of at most 200 characters for a finding: names stay, every value after an = or : is replaced by ***. We never keep whole pages.
What it looks for
| Check | Severity | Paths |
|---|---|---|
| Your .env file can be downloaded | high | /.env /.env.local |
| Your git folder can be downloaded | high | /.git/config /.git/HEAD /.DS_Store |
| Your database file can be downloaded | high | /db.sqlite3 /database.sqlite3 /backup.sql /dump.sql /backup.zip |
| Your Django settings file can be downloaded | high | /settings.py /manage.py |
| Your Dockerfile can be downloaded | medium | /Dockerfile /docker-compose.yml |
| Your list of packages can be downloaded | low | /requirements.txt /Pipfile /pyproject.toml |
| A server information page is public | high | /phpinfo.php /server-status |
| Your metrics are public | medium | /metrics /actuator |
| A configuration file with secrets can be downloaded | high | /config.json |
| Your static folder lists its files | medium | /static/ /media/ |
| Django debug mode | high | a provoked 404 page |
| The Django admin | high or info | /admin/ /admin/login/ |
| Public API documentation | info | /docs /redoc /openapi.json /swagger |
| An API that answers without a login | low | /api/ |
| robots.txt that points at sensitive paths | low | /robots.txt |
| Security headers and software versions | low | response headers of / |
| Cookie flags | low | Set-Cookie headers of / |
| A security.txt file | info | /.well-known/security.txt |
The launch checklist
The same scan also reads your home page like a search engine would, and gives friendly tips for being found and shared. These are advice only: they are never security findings and they never block a deploy. It makes up to 6 extra GET requests.
| Tip | Severity | Paths |
|---|---|---|
| Page title and description | low | / |
| One main heading, page language, viewport and canonical link | low | / |
| Link previews (Open Graph title, description, image) | low | / |
| robots.txt that allows crawling | low or info | /robots.txt |
| A sitemap | info | /sitemap.xml |
| A favicon | info | /favicon.ico |
| http:// sends visitors on to https:// | low | http://your app, port 80 |
| Unknown pages answer 404 | low | a made-up page |
| Home page size and speed | low or info | / |
Want it on a live app of your own? Host it with us, and the checklist runs after every deploy.
A file counts as exposed only when its content looks like what the name says, for example a .env with KEY=value lines. A site that answers every path with the same page is not flagged.
Results show on the Security tab of the app, with how to fix each one. We email the owner when a new high problem appears, and never for low or information findings.
Think the scan is misbehaving? Write to pharos@autera.com.au.