Ready answers to the questions security and procurement teams ask before approving a tool like SafeAI. Short answers here; the full detail is in the security model (Security model) and the architecture (Architecture). If your questionnaire asks something not covered, send it to hello@safecadence.com.
At a glance
| Question | Answer |
|---|---|
| Where does it run? | On your own server (a VM, the appliance image, or a container), inside your network. SafeCadence hosts nothing for it. |
| Does any data go to SafeCadence? | No. SafeAI sends nothing to SafeCadence: no telemetry, no usage data, no configurations. |
| Is there a licence check, and does it call home? | There is one, and it contacts nobody. SafeAI counts 90 days from its first start and checks a key you paste in (an extension or a licence) against public keys built into it, on your server. To ask for a key you give SafeCadence a code yourself, in your browser or by email: it holds a random identifier for the installation, the day it first started, the version and the number of devices. Without a licence SafeAI keeps watching the network at reduced capacity; it never stops reading devices, never deletes anything and never blocks its own backups or restore (Administrator guide, Licence). |
| Does it need internet access? | No. It installs and upgrades from a signed bundle and runs fully offline (tested with every packet to the internet dropped). It connects out only to services you configure: cloud and identity-provider APIs, and optionally single sign-on, ServiceNow, alert channels and an AI model. |
| What is "Provider health" allowed to reach? | Only the cloud providers you already connected, with the account you already saved, read-only: Microsoft Graph (/admin/serviceAnnouncement), Azure Resource Manager (Microsoft.ResourceHealth/events), the AWS Health API (health.us-east-1.amazonaws.com), Google's Service Health API (servicehealth.googleapis.com) and Alert Center (alertcenter.googleapis.com), each over verified TLS with redirects refused. No public status page and no other host. For Google's Service Health API the access token is asked for with the cloud-platform scope, because that API accepts no read-only scope; what the token can do stays limited to the roles you gave the service account. A provider's text is treated as untrusted: tags removed, shortened, shown as plain text, never given to an AI model. Turn it off in Settings (provider_health.enabled) and nothing is read. |
| What is "Cloud links" allowed to reach, and what does it keep? | Only AWS, through the AWS connection you already made, with read-only calls: ec2:Describe* (regions, VPN connections, customer and virtual private gateways, Transit Gateway attachments and peerings, VPC peerings, NAT gateways) and directconnect:DescribeConnections and DescribeVirtualInterfaces. The code refuses to send anything that is not a Describe call. Nothing is created or changed in the account. AWS's answers contain secrets (the VPN tunnels' pre-shared keys inside the customer gateway configuration, and BGP keys); SafeAI never copies those fields, so they are not in its files, pages, logs or alerts. Names and messages from AWS are treated as untrusted text: tags removed, shortened, shown as plain text, never given to an AI model. Turn it off in Settings (cloud_links.enabled) and nothing is read. |
| What does "Cloud links" read in Azure and Google Cloud? | GET requests only, with the accounts you already saved. Azure Resource Manager (Reader role): the subscription's resource list filtered to VPN connections, then each connection and its local network gateway, ExpressRoute circuits, Virtual WAN VPN gateways, virtual networks (for their peerings) and NAT gateways. A resource id from Azure's answer is used only as a path on the same API host, and only when it has the form of a Microsoft.Network resource id. Google Compute Engine API (a cloud-platform.read-only token): VPN tunnels, Cloud Routers and their status, Interconnect attachments, networks. Fields that are or were secrets (Azure sharedKey, an ExpressRoute serviceKey, Google sharedSecret, sharedSecretHash, pairingKey) are never copied; tests plant values in them and check that none reaches SafeAI's files or pages. |
| What does "Cloud numbers" read, what does it cost, and what does it keep? | Two read-only CloudWatch calls through the AWS connection you already made: ListMetrics (which figures exist for which link) and GetMetricData (the figures: bytes, connections, errors, round-trip time). No log content, no packet content, no addresses of who talks to whom. Nothing is created in the account: no alarms, no probes, no dashboards. AWS bills GetMetricData, so the feature is off until an administrator turns it on, and the page states how many metrics a month SafeAI would ask for. The figures are kept on the SafeAI server in numbers/numbers.db (5-minute points 35 days, hourly 455 days), are not in backups, and never leave the server except as the alert text you configured. Normal, drift and forecast are arithmetic; no figure is given to an AI model. |
| What does SafeAI read from CloudTrail, and what does it keep? | One read-only call, cloudtrail:LookupEvents, for changes only (not reads), for one region and the 30 minutes before a cloud link went down or a number jumped. Never on a schedule. It keeps the event name, time, the user or role name, and the names of the resources touched, for the events that launch or stop machines or change the network. AWS's full record of each event can contain request parameters; SafeAI reads it for two counts and drops it, so it is not in SafeAI's files, alerts or logs (a test checks this with a planted secret). User and role names from your AWS account do appear in SafeAI's alerts and page; send those alerts only where that is acceptable. Nothing from CloudTrail is given to an AI model. |
| What does "Cloud numbers" read in Azure and Google Cloud? | GET requests only, with the accounts you already saved, and only after an administrator turned cloud numbers on. Azure Monitor: for each link's resource, the list of figures it has (metricDefinitions) and then those figures (metrics); the resource id comes from SafeAI's own reading of the link and is used only when it has the form of a Microsoft.Network resource id, and a connection name is put in the query only when it is made of plain name characters. Google Cloud Monitoring (monitoring.googleapis.com, a new host for the Google Cloud connection, used only for this): the timeSeries list for a fixed set of figures per project. Figures only: byte and packet counts, connection counts, availability percentages. |
| What does "just before" read in Azure and Google Cloud? | Azure: one GET of the subscription's Activity Log for the 30 minutes before an event, with the Reader role. Google Cloud: one read of the project's Admin Activity audit log for the same window through the Logging API (logging.googleapis.com, which the Google Cloud connection already uses); Google defines that read as a POST, and it changes nothing. As for AWS: only when an event starts, never on a schedule; kept are the operation name, time, who, and the name of what was touched; request details in the log entries are not kept (tests plant a secret in them and check). Caller names and service account addresses from your tenant appear in SafeAI's alerts. |
| What does "Sources and destinations" do in AWS, and what does it keep? | Only when an administrator turned it on. One CloudWatch Logs Insights search of the flow log group you named, for one link and a window of minutes: logs:StartQuery, then logs:GetQueryResults, and logs:StopQuery if AWS does not finish in 40 seconds. StartQuery is not a read-only API name and is not in SecurityAudit, so you grant it; it starts a search, reads log lines and changes nothing in the account. AWS bills the search by bytes scanned, which SafeAI shows. Only validated IPv4 ranges and addresses that SafeAI itself read from AWS are put into the query text. The result (pairs of private and public addresses with byte counts, and AWS's names for your machines) is kept for the last search of each link in state/cloud_flows.json, shown to signed-in users and put in the alert when a jump triggered it. Not given to an AI model. |
| What does "Routing links" send to our devices, and how often? | Display commands only, from fixed templates, over the read account, to a device whose host key SafeAI knows: the platform's commands for interfaces and for OSPF and BGP neighbours (on Cisco IOS: show ip interface brief, show ip ospf neighbor, show ip bgp summary, and where the configuration has a port channel, HSRP or VRRP: show etherchannel summary, show standby brief, show vrrp brief), and only on devices whose configuration has one of these. Each read goes through the same guard as a state snapshot. One sign-in per routing device every 15 minutes by default (settable 1 to 60), plus one when that device or its neighbour logs a neighbour or interface line, at most once a minute per device. A log line never changes what SafeAI shows: it only makes SafeAI ask the device. Kept in state/net_links.json: per device the interface states and neighbour addresses with their states, and when each neighbour was last seen up. Not given to an AI model. An operator can make SafeAI forget a neighbour; that is logged. |
| Does "Traffic against normal" read anything new from our devices? | No. It keeps and judges the interface rates the traffic reader already reads for the network map (traffic.enabled, off by default). It adds no command and no sign-in. Kept in numbers/numbers.db, beside the cloud numbers: for each interface that has an address, traffic in and out as a point per read for 35 days and an hourly figure for 455 days; in state/net_numbers.json, which interfaces are far from normal now. Interface names and rates only; no addresses, no packet contents. Not given to an AI model. |
| Can SafeAI change our cloud network? | Only in AWS, only when an administrator turned on cloud_apply.enabled (off by default) and Fixes, and only as the reverse of a change SafeAI itself recorded: security group rules and IPv4 routes in route tables. It will not re-open a security group to the whole internet, and it applies nothing that is not a rule or a route. Each undo needs the five conditions, an administrator's approval (two people by default) held by AgentGuard against the hash of the exact steps, and a change window. SafeAI assumes a separate IAM role you create (write_role_arn) for 15 minutes; the read identity only calls sts:AssumeRole on it; no write key is stored. The role needs seven actions: ec2:AuthorizeSecurityGroupIngress, RevokeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupEgress, CreateRoute, ReplaceRoute, DeleteRoute. Every step is first sent as a dry run; then applied; then verified by SafeAI's own re-read and the incident's symptom test, and reversed if either fails. Each applied step is in the audit log and in AgentGuard's record. Tested against a stand-in only. |
| Does SafeAI ever create anything in our cloud accounts? | In one case, and only after an administrator turned it on (cloud_path.enabled, off by default): the question "can one resource reach another" put to AWS's own path analysis (Reachability Analyzer). For each question SafeAI calls ec2:CreateNetworkInsightsPath and ec2:StartNetworkInsightsAnalysis, reads the result with ec2:DescribeNetworkInsightsAnalyses, then calls ec2:DeleteNetworkInsightsAnalysis and ec2:DeleteNetworkInsightsPath. The two objects are a stored question and its answer, tagged safeai-question; AWS sends no packet and no route, rule, gateway or machine is changed. None of this is possible with the SecurityAudit policy: you attach AWS's managed policy AmazonVPCReachabilityAnalyzerFullAccessPolicy, whose only actions beyond reading are creating, tagging and deleting these two kinds of object. AWS bills each analysis. If a delete fails, the result names what was left behind. Only an operator can ask; the source and destination must match AWS's resource id formats, the protocol must be tcp or udp, the port a number, the region a region name, before anything is sent. Kept in state/cloud_path.json: the last 20 questions with AWS's answer (resource ids, names AWS gave them, AWS's reason codes), who asked and when. Not given to an AI model. Everything else SafeAI does in AWS, Azure and Google Cloud is reading. |
With auth=instance-role, where do the AWS credentials come from? |
From AWS itself: the short-lived credentials of the IAM role attached to the machine SafeAI runs on, fetched by the AWS library from the machine's metadata service (or, if set, the standard AWS environment variables of the SafeAI container). No access key is saved in SafeAI's vault. The option must be set on the connection by an administrator; without it a saved key is required as before. What SafeAI can do in AWS is then exactly what that role allows, so give it a read-only policy. |
| Sub-processors | None. SafeCadence does not process your data. If you choose a cloud AI model, that provider receives redacted text under your own agreement with them. |
| Can it change my devices? | Not unless an owner turns on approved fixes. Then only built-in fixes, each approved by a person (by default not the proposer), sent with a separate write account, inside a change window, checked by a fresh read and rolled back if the problem is still there. |
| Does it sit in the traffic path? | No. It never sees user traffic; it reads configurations and state, and receives the logs devices send it. |
| Is there an AI that acts on its own? | No. Findings, explanations, checks and fixes are fixed code. An AI model is optional and off by default; it can only suggest causes or answers that SafeAI then checks, and can't run a command or choose a fix. |
AI agents you connect (from 2.9.84)
SafeAI can be the door through which AI agents and automations you run reach what it knows (Administrator guide, "AI agents"). Nothing is reachable this way until an administrator registers an agent.
| Question | Answer |
|---|---|
| Can an AI agent change a device through SafeAI? | No. An agent can read, and, if an administrator allowed it, file a change request. It never reaches a device, never holds a device account and never runs a command. A request is approved by people, never by the agent or its owner; a person then makes the change, and SafeAI records and checks it. |
| How is an agent identified? | By its own key, one per agent, sent with every call. The key is 256 random bits, shown once, and SafeAI keeps only its SHA-256. Keys end after 90 days by default (at most a year). There is no session and no cookie: every call is checked on its own. |
| What can someone do with a stolen key? | What that one agent can do, until the key is replaced, the agent is suspended, or the key ends: read the devices named for that agent, and file change requests if it is allowed to. They cannot approve anything, change a device, reach another device, sign in to the console or use any other API. Replacing the key or suspending the agent takes effect on the next call. |
| What limits an agent? | The clients, sites or devices named for it ("everything" has to be chosen), enforced twice: each list is filtered to its devices, and every answer then passes the filter client accounts pass, which replaces any other device's name or address. It can never do more than its owner: SafeAI checks the owner's account and role again on every call, and refuses the agent when the owner is removed or lowered. It may make 60 calls a minute by default. |
| What is recorded? | Every call, answered or refused, with the time, the agent, the address, what was asked and why it was refused, in a hash-chained record; every change to the register in a second one and in the audit log. Keys are never written to any log. A flood of identical refusals is counted, not written line by line, so it cannot fill the disk. Health checks both records, and an administrator can download a signed evidence file. |
| What does SafeAI tell us about our agents? | It warns, on the page and by one alert, when an agent's owner can no longer answer for it, when it is unused, when its key is expiring, when one key is used from several addresses, when many of its calls are refused, and when calls arrive with a key nobody registered. |
| What does the MCP interface add to the attack surface? | One more address for the same door: the same key, limits, filter, allowance and record. Tools only; SafeAI never sends a request to the agent and offers no resources or prompts. No session is issued. A call from a web page at another address (an Origin that is not SafeAI's own) is refused. Requests without a console session are at most 64 KB. |
| Is an AI model involved in any of this? | No. Who is let in, what is filtered, what is flagged and what is counted are fixed rules. |
| What does a public demo show of our agents? | Only if you turn the public demo on: a visitor can look at the register, each agent's page and the report, without key hints, addresses or signed files, and can change nothing. A read-only demo copy answers no agent key at all and records nothing sent to it (from 2.9.85). |
| What can't SafeAI see? | An agent that reaches your devices some other way, with its own credentials. SafeAI records what an agent does through SafeAI, and the page says so. |
| What is not done yet? | A key is a bearer secret: it is not bound to an address or a client certificate. There is no OAuth sign-in for agents. Tested on the SafeCadence lab and with the official MCP client library, with no customer's agents yet. |
Data
| Question | Answer |
|---|---|
| What does it collect? | Device configurations (with secrets removed), device state from display-only commands, addresses and MAC tables for inventory, and the log lines devices send it (only when log storage is on). From computers with the agent: the output of fixed read-only scripts, and for AI tools only names and settings. Never user traffic, files, prompts or conversations. |
| Secrets in configurations | Removed before anything is stored and replaced by a keyed fingerprint, so a changed secret is noticed without keeping it. A configuration that still contains a certain secret is refused, not stored. Redaction is pattern-based; a secret in an unknown form could be stored, so SafeAI lists lines that look like one on its Health page. |
| Where is it stored? | On the SafeAI server, under /var/lib/safeai. |
| Encryption at rest | Saved device passwords and API keys: encrypted (Fernet: AES-128-CBC with HMAC-SHA256) with a key on the server. Console passwords: PBKDF2-SHA256 hashes. Encrypt the server's disk with your usual tooling for everything else. |
| Encryption in transit | Console and API: HTTPS, TLS 1.2 or later. Agents and site collectors: mutual TLS. Devices: SSH (host keys pinned), HTTPS with certificate checks (your CAs or a pinned fingerprint). Syslog is not encrypted (plan: syslog over TLS). |
| How long is data kept? | Stored logs, flows, traffic, devices-on-the-network, user-experience tests: 30 days by default (each 1 to 400 days). Connection records: 7 days. Nightly backups: the last 14. Audit log: 20 files of 20 MB. Configuration copies and change records: kept as the change history, with no automatic expiry in this release. |
| Backups | Contain no keys by default, so a stolen backup can't decrypt saved passwords or sign anyone in. The keys are exported separately for a restore on a new server. |
| Deleting data | safeaictl uninstall --purge deletes everything SafeAI stored. Removing a device in the console stops reading it. |
| Data residency | Wherever your server is. |
Access
| Question | Answer |
|---|---|
| Authentication | Local accounts with two-step sign-in (TOTP), or single sign-on with OpenID Connect (Entra ID, Okta, Keycloak …). |
| MFA | Required for approvers and above by default; an owner can require it for everyone. With SSO, SafeAI can insist the identity provider reports a second factor. |
| Roles | Five roles, each checked by the server: viewer, operator, approver, administrator, owner. MSPs can limit accounts to one client. |
| Separation of duties | Two-person approval for every change (on by default): nobody approves their own proposal. Optionally only SSO accounts may approve. A new or re-passworded local account can't approve for 24 hours. |
| Sessions | Server-side, 12 hours, HttpOnly/Secure/SameSite=Strict cookies; ended at once on sign-out, password or role change. |
| Brute force | Sign-in limited per address and per address-and-account; slow password hashing; ten wrong second-factor codes pause the account and alert. |
| Audit trail | Every sign-in and administrative action, every fix step and every AI question, in a hash-chained audit log that SafeAI checks for tampering. Changes and their reviews are tamper-evident too. Send alerts to your SIEM for evidence that holds against the server's own administrators. |
The software
| Question | Answer |
|---|---|
| Release integrity | Every release bundle is signed (Ed25519). Upgrades refuse an unsigned or older bundle; the first install is checked against a fingerprint SafeCadence gives you separately. |
| Runtime hardening | Runs as a container with its own unprivileged user, a read-only file system, every Linux capability dropped, no privilege escalation, memory and process limits. |
| Dependencies | Python 3.12 with a small, pinned set of libraries; the agent is Go with one dependency, vendored. Every bundle lists its full package inventory (PACKAGES.txt). |
| Patching | Security fixes ship as signed releases; you upgrade with one command, which takes a backup first and rolls back by itself if the new version doesn't start. Supported releases: see the support policy. |
| The agent | Never listens on the network and never runs commands it is sent; only signed, built-in actions, and fixes only where that computer's own administrator allowed them. Runs as root/SYSTEM because it reads every user's AI-tool settings and the system's security settings. |
| Testing | An automated test suite of more than 650 tests runs on every release, plus scenario tests on the SafeCadence lab network. |
Not done yet
We'd rather you hear it from us:
- No independent penetration test yet.
- No SOC 2 or ISO 27001 report yet.
- No software bill of materials in a standard format (SPDX or CycloneDX) yet;
PACKAGES.txtlists every package today. - Agent binaries and the Local AI Security Check are not yet code-signed for Windows and macOS.
- No high availability: SafeAI is one server.
- Syslog is not authenticated or encrypted; restrict the syslog port to your devices and log server.
Reporting a vulnerability
Email hello@safecadence.com with "Security" in the subject: what you found, how to reproduce it, and the SafeAI version. We acknowledge within 3 business days, keep you updated while we fix it, and credit you in the release notes if you'd like. Please give us a reasonable time to ship a fix before disclosing it publicly.
These pages are the documentation that ships inside SafeAI 2.9.85.1, the version you download. Something unclear or wrong? Tell us.