Reference
Command reference
Everything the CLI accepts. Flags compose unless noted.
Filters
| Flag | Effect |
|---|---|
--days N | Only the last N days. The fastest way to make a slow run fast. |
--project SUBSTR | Only projects whose name contains SUBSTR. |
--agent claude|codex|copilot|gemini|qwen|all | Which agents to include. Default all. |
--top N | Projects to list. Default 12. |
--root DIR | Read transcripts from DIR instead of the default locations. |
Views
| Flag | Effect |
|---|---|
--bash | Shell audit only. Skips cost entirely. |
--coach | Coaching findings only. |
--agents | Which agent platforms are installed, and whether their binaries are validly signed by the expected publisher. |
Network
New in 0.3. What the agents downloaded, cloned and fetched, read from the transcripts. Inventory only: nothing here changes the grade or the exit code unless you opt in with --network-strict or --ioc.
| Flag | Effect |
|---|---|
--network | Only the network view: an approval bar and a per-day chart, then installs, clones, top hosts, top packages, projects, and unasked downloads grouped by session with the agent’s stated reason. --network --json emits only the network object. |
--html | With --network: write the report as one offline page, actualis-network.html (never overwritten; -2, -3…), readable by you only. Charts, sortable tables, and the --json object embedded with its sha256. A content security policy blocks every fetch. |
--host HOST | Only downloads from HOST or a subdomain of it. Lists every matching item with when, approval, mode, command, reason, prompt and a trace to the transcript line. |
--package NAME | Only installs of exactly this package (npm case-sensitive, pypi by PEP 503). |
--session ID | Only sessions whose id starts with ID. |
--unasked | Only downloads that ran in a mode that never stops to ask. |
--with-prompts | With --json or --html: include the person’s last message before each download (redacted, 160 characters). |
--ioc FILE | Match every download against a known-bad list, offline: the actualis-ioc line format or OSV JSON/JSONL. A match is a high finding. See actualis --explain ioc. |
--network-strict | Make every unasked download from an untrusted source a medium finding, so --fail-on any applies. |
--network-trust HOST[/PATH],... | Trusted sources for --network-strict. Also read from ./.actualis-network-trust; the report prints that file’s path and sha256, because the agent can write it. |
Host reputation
New in 0.5. actualis never uses the network. --reputation matches the hosts in the network inventory against Google Safe Browsing hash lists cached on your disk, so it is offline. A separate, optional command, actualis-reputation, downloads those lists and checks local matches. It is the only part of Actualis that uses the network, only when you run it, and it tells you what it sends. Either pip install -U actualis or brew upgrade actualis installs it.
| Flag | Effect |
|---|---|
--network --reputation | Match every host in the inventory against the local lists. Never uses the network. Private and local hosts are skipped. New findings: reputation-listed (high), and reputation-candidate, reputation-suspicious and reputation-stale (medium). The report header shows the age of the lists. With --fail-on and absent or corrupt lists it exits 2, so a gate cannot pass because its data was missing. See actualis --explain reputation. |
| Companion command | Uses the network | Sends |
|---|---|---|
actualis-reputation update | Google Safe Browsing | Nothing about your hosts: it downloads list updates. |
actualis-reputation confirm net.json | Google Safe Browsing | 4-byte hash prefixes of local matches, mixed with decoys. |
actualis-reputation virustotal net.json | VirusTotal | Hostnames, in plain text. Opt-in. |
actualis-reputation status | Never | Nothing. Shows each list’s age and the next refresh time. |
actualis-reputation forget | Never | Nothing. Deletes the reputation cache; asks first. |
$ actualis-reputation update $ actualis --network --reputation --json > net.json $ actualis-reputation confirm net.json $ actualis --network --reputation --fail-on high # right after confirm
- It says what it sends, and asks first. Every networked run prints a
⊕🌐disclosure before the first byte goes out and asks for consent. With no terminal it sends nothing unless you pass--yes.--dry-runprints exactly what would be sent and opens no connection.--receipt FILErecords every request actually made. - You bring your own key. A free Google Safe Browsing API key, given as
ACTUALIS_GSB_KEYor with--key-command, never as an argument. VirusTotal usesACTUALIS_VT_KEY. Setup is in docs/reputation.md. - A match in the lists is only a candidate. A host counts as listed only after
confirmreturns a full-hash match less than 30 minutes old, so run the gate straight afterconfirm. Lists older than 7 days raisereputation-stale. - Non-commercial use. The Google Safe Browsing API and the VirusTotal public API are free for non-commercial use only. Every Google-based result carries “Advisory provided by Google”. Each user downloads the lists with their own key: Google’s terms do not allow sharing or redistributing them, or the key.
Explaining a number
| Flag | Effect |
|---|---|
--explain | List the topics you can ask about. |
--explain TOPIC | How a number is computed, what it assumes, and how to check it. Topics: sources, cost, cache, tickets, secrets, subagents, shell, coach, agents, refusals, vendors, suppressions, diff, verify, replay, network, ioc, gemini, qwen, reputation. Run actualis --explain for the list your build actually has. |
--why AFxxx | Why one coach finding fired, against your actual numbers. |
Output
| Flag | Effect |
|---|---|
--json | Machine-readable output. Redacted by default. See integrations. |
--share | A postable summary containing nothing identifying — no project names, branches, paths, commands or identifiers. |
--card [MODE] | Write a shareable 1200×630 SVG and PNG: supervision (default), cost or volume. Counts, four command categories and public model names only. Never overwrites. |
--style STYLE | --card layout: hero (default) or terminal. |
--out DIR | --card or --html: the directory to write into. Default: the current directory. |
--no-redact | Do not redact credentials from output. Unsafe to share or pipe to a file you forget about. |
--replay ID | Incident report for one credential fingerprint: the exposure window, every command inside it graded by proximity, and the in-session subset touching egress, credentials or a database. Works with --json as an exportable incident record. |
--aisvs | Map what was measured onto OWASP AISVS 1.0 controls — chapter C9 (agentic action) and appendix C (AI coding tools). It falsifies rather than verifies: reading outcomes cannot inspect a runtime, so a control can be shown not holding with evidence from your own transcripts, and can never be shown to pass. Anything else is reported as consistent or no evidence. |
--diff OLD.json | Compare against a saved --json report: what appeared, what went away, what changed severity. Since 0.7 it also shows findings whose assessment changed, and coverage gaps that appeared or cleared. Refuses a baseline written by a different schema version. |
Gating a pipeline
| Flag | Effect |
|---|---|
--fail-on LEVEL | Exit 3 if any unsuppressed finding is at or above critical, high or any. The verdict goes to stderr, so --json on stdout stays byte-identical. The exit code survives a pipe that closes early (| head). A mode that never evaluates the gate (--diff, --why, --replay, --watch, --mcp, --explain, --self-check and the like) refuses it with exit 2. AF013 (rate table age) and AF014 (transcripts about to expire) are reported but never gated. |
--fail-on-coverage | New in 0.7. Exit 5 if the run could not see everything it was asked to: an agent whose transcript directory exists but had nothing read, transcript files or project directories that could not be opened, over 1% of lines unparsable, --days reaching past what the agent keeps, with --ioc downloads that could not be checked, with --reputation lists over 7 days old. Exit 3 from --fail-on wins when both apply. Without it, gaps never change the exit code. Refused by the same modes as --fail-on. |
--suppress ID | Mark a finding as a false positive on this machine. It stays counted and still appears in --json, marked suppressed — a scan with many suppressions must not look like a clean one. |
--reason TEXT | Why that suppression is correct. Recorded for review. |
--suppressions | List current suppressions and where they were read from. |
Exit codes are fixed, because a pipeline depends on them: 0 clean,
1 could not run, 2 a usage error, 3 findings,
4 a failed --self-check, 5 a coverage gap with
--fail-on-coverage (3 wins when both apply), 130 interrupted.
A usage error includes two modes in one run and any flag the chosen mode would
silently drop: both are refused with exit 2, naming both flags. --reputation --fail-on with absent or corrupt lists is also 2. Findings are 3 rather than 1
deliberately — a pipeline that cannot tell a credential is exposed from
you mistyped a flag will eventually be told to ignore both.
Live monitoring
| Flag | Effect |
|---|---|
--watch | Poll for new secrets and risky commands, notifying as they appear. |
--interval SEC | Poll interval. Default 4. |
--quiet | With --watch: notify on secrets only, not every flagged command. |
Other
| Flag | Effect |
|---|---|
--verbose | New in 0.7. Print the rejected leads in the text report: IOC name matches outside the version range, placeholder credentials, and reputation candidates a fresh check cleared. |
--explain coverage | New in 0.7. How the coverage line is decided: what counts as read, unreadable or skipped, and what makes a gap. |
--self-check | Verify the privacy claims on your own machine, by executing them. It also reports when actualis-reputation last used the network. See verifying the claims. |
--service KIND | Print a launchd, systemd or newsyslog unit for --watch, with the paths already resolved. |
--completions SHELL | Print a completion script for bash, zsh or fish. Generated from the parser, so it never drifts from the flags this build has. |
--mcp | Run as an MCP server over stdio so an agent can query itself. |
--version | Print the version. |