AccessScope

AccessScope

An access-log diagnosis tool

A diagnostic tool that finds attack attempts in server logs, with evidence. It is a separate tool bundled with RoamSwitch and works on Mac and Linux.

What it does

  • Finds attack attempts in logs and shows the evidence lines
  • Finds the logs on this machine automatically
  • Sums up the overall risk and the findings in a report
  • Exclusion rules and comparison with the last run cut down what you review
  • Logs and lines it could not read are reported as “not examined”
  • For logs behind a proxy, it resolves the real client from X-Forwarded-For

Logs it reads

ApachenginxCaddyTraefikHAProxyAWS ALB・CloudFrontCloudflare・Envoy / Istio・Google CloudSSH・sudo・PAMmaildatabasesfail2banDocker・Kubernetes・PodmanmacOS unified loghost execution records (optional)

It can also check Docker container logs, read-only (you see a confirmation screen first)

Using the results

  • Reports can be saved as Markdown, JSON, SARIF or CSV
  • You can export a block list of the IPs involved (it only writes the list and blocks nothing)
  • Your own IPs and the like can be excluded, with a reason
  • Compared with the last run, it reports only new findings
  • You can export a draft of web_guard.conf for RoamSwitch Server (every suggestion is a comment; it only writes the file and applies nothing)
  • With the Linux edition of RoamSwitch, an AI assistant can obtain a summary of this diagnosis from the MCP server in read-only fashion (get_access_log_report; only logs readable by the calling user are covered, and neither the network nor an LLM is used).

Safe by design

  • It opens no listening port. It only reads logs and never changes them
  • It never raises privileges and reads only what is readable now
  • Strings from logs are shown on screen as plain text only
  • It connects only to the LLM you chose and, when you press the button, to check for Mac updates

Limits

  • Only facts recorded in the logs count as evidence. No findings is not proof of safety
  • A finding means an attempt was made, not that the attack succeeded. A User-Agent can be forged
  • Chains across logs and changes from the usual are rules of thumb, and can miss things or raise false alarms

Using the command

accessscope scan --auto --since 7d --report report.md

What it finds

Web attacks
SQL injectionpath traversalXSScommand injectionknown vulnerabilities (CVE)SSRF
Login brute force
Web loginsSSHmaildatabasesattempts from many IPs
Probing and scanning
probing for .env and similarattack toolsruns of nonexistent pathsAPI and static-file reconnaissance
Identifier walking
Receipt or order numbers swapped in one after anotherNumber walking split over many IPs
Web shells and suspected success
web-shell-like requestssuccess after repeated failuressuspected HTTP tunnel
Chains across several logs
same address in Web and SSH logsrecon turning into attackweb attacks matched with host execution records
Changes from the usual
login from an unfamiliar sourcenew User-Agentnew path
Other
floods of requests or transferscrawler impersonationAI instructions planted in logs

Measured on our own test data. Of 1142 attacks, 1136 (about 99.5%) were detected, and for 396 legitimate requests, no detection of medium or higher severity was raised. This is not a guarantee for real servers.

Screenshots

AccessScope's "Diagnose logs" screen. nginx, Apache, SSH and Docker logs have been found, and the "Diagnose" button is shown
Find the logs, pick them, diagnose
The results dashboard: the overall risk gauge, findings by severity, events by category and activity over time
Overall risk and counts by category
The list of findings. For an SQL injection, the same address in several logs, and an SSH login from an unfamiliar source, the evidence log lines and the reasons are shown
Evidence log lines and the reasons

These are the real screens filled with sample data. All IP addresses and names are fictional.

Analysis by an LLM (optional, off by default)

  • Only the summary and the supporting log lines are passed, never raw logs (a few lines per finding; with the step-by-step investigation setting, up to 14 lines per finding)
  • Secrets (keys, tokens, passwords and so on) are masked. You can read the full content before it is sent (with step-by-step investigation, only the first round can be read)
  • With the step-by-step investigation setting, before writing the report the LLM can make up to 6 read-only queries against the diagnostic results. Answers are built from the detections, evidence lines, stages, and statistics in memory; the log files are not read again.
  • "Find logs with an LLM" passes only file names and locations, never file contents
  • IPs, domains, CVE IDs and hashes in the LLM's text that are not in the material it was given are flagged as possibly invented
  • When enabled, the content goes to the service of the LLM you chose. RoamSwitch's "Zero Telemetry" statement does not cover this feature
  • If left off, the diagnostic contents never leave the device. The LLM can also be run as root, but because the LLM then runs with root privileges, we recommend running it as an ordinary user (the screen app shows a warning in the settings while it is running as root).

Get it

  • On Mac it is inside the RoamSwitch DMG (app and command; macOS 12 or later)
  • On Linux it is inside the RoamSwitch deb / rpm / tarball (the Server Edition has the command only)
  • The Mac in-app update connects to lafine.net only when you press the button, and checks the signature before installing
  • It is a separate tool from RoamSwitch, under the Apache License 2.0 (not covered by the RoamSwitch EULA)

On the device it stores the list of logs found (discovered.json), a state file for comparing with the last run, and your exclusion rules (suppress.toml). None of it is sent out. See the Privacy Policy for details.