What this is for
This page explains whatgw-cli discover finds on a machine and how each artifact is scored. The inventory is broad — the whole agent extension surface, not just skills — and the scoring is layered: a primary engine, plus offline augmentation passes designed to catch the evasion techniques that beat file-only scanners.
The inventory surface
discover --deep walks the machine and records every AI artifact it finds:
Risk levels
Every scored artifact is normalized to one of five levels, ordered lowest to highest:
High and Critical are the flagged levels — the ones the dashboard badges and
vet blocks on by default.
Scoring engines
gw-cli scores with one of two engines. It auto-detects which is available and prints the active engine in its output.
- SkillSpector (recommended)
- Built-in (default)
NVIDIA SkillSpector — a thorough analysis engine. When present on the machine, A thorough engine can emit hundreds of findings per artifact — use
gw-cli uses it automatically. Install it once:gw-cli vet ... --summary for a per-category digest instead of the full per-line dump.env, non-TLS http:// endpoints, and shell-launch commands. Hooks and commands are scored with shell + network heuristics; subagents are flagged for overly broad tool grants.
Offline augmentation
On top of the primary engine, every scan record runs through offline augmentation passes. These counter the techniques research has shown beating file-only scanners (including SkillSpector), and they need no network:So a hardcoded token in an MCP config, a
curl … | bash hidden with invisible characters, or a known malicious indicator all surface as findings — even against an artifact crafted to slip past a plain file scan.External-reference index
Beyond flagging suspicious links, the scanner builds a typed, persisted index of every external resource an artifact points the agent at — the durable graph the drift watcher diffs and a future network trust-scorer will enrich. Each reference records its kind (URL, repository, npm/PyPI package, release download, remote skill/instructions, paste host, wallet address), a coarse host class (vendor, code host, registry, paste, free-tier/throwaway, IP), its version spec, and whether it is pinned to an exact version/tag/commit. Only the host/package identity and version metadata are stored — never a raw URL that might carry a token. The offline external-reference classifier turns high-signal references into findings:Post-approval drift
An artifact that scored clean can be edited — or silently auto-updated — into something malicious after you first trusted it (a rug-pull / TOCTOU). On every scan the mutation watcher diffs the fresh record against the last-stored (approved) baseline for that path and raises drift findings:
This is the on-endpoint-detectable half of the flagship supply-chain attack (CVE-2025-54136).
discover prints a one-line summary (Post-approval drift: N change(s)…) when anything drifted.
Install-lifecycle & CI-workflow analysis
The highest-severity confirmed payloads often hide in install plumbing rather than the skill body. A dedicated pass inspects each artifact’s files:Metadata, posture & MCP scope
Three more offline passes catch risks that live in the declaration and environment around a skill rather than its code:Skills that ship with an AI tool
Some AI tools install skills of their own, for example Anthropic’sdocx, xlsx and pptx
skills in Claude Desktop. Scored like any downloaded skill, they would read High or Critical on
every machine that runs the tool. Guardway tells them apart, but location alone never quiets a
skill: a modified copy in a vendor’s folder is exactly where an attacker would hide one. The
folder says which tool ships the skill; the skill’s content hash decides how it is scored.
Each skill in one of these folders gets one of three results:
A skill with the same name in any other folder, such as
~/.claude/skills/xlsx, is scored like
any other skill. Line endings are ignored when hashing, so the same release matches on macOS,
Linux and Windows.
How the list of known releases stays current. The agent carries a built-in list, and it pulls
a signed list from the console that adds new releases without an agent update. A release joins
the signed list when the same content is seen in the tool’s own folder on at least 10 machines
across at least 3 organizations, counting only organizations older than 30 days and machines older
than 7 days. Agents pick up a new list within 6 hours.
Claude Desktop connected folders
Claude Desktop’s Chat and Cowork can work in folders a person connects to them. Desktop runs those commands inside its own virtual machine with each connected folder mounted read-write, so they never pass through Live guard: a credential read there is neither recorded nor blocked. The agent reads which folders Desktop has granted from Desktop’s own settings and lists each one as an add-on row, whose detail is one of:- no credential files found: the folder was listed in full.
- credential files: …: the folder holds credential files, such as
.env, cloud credentials, private keys or registry tokens. This raises Claude Desktop folder holds credentials (GOV-DESKTOP-SHARE, see Endpoint Policy). - scan incomplete, not readable, or outside the scanned home, not scanned: the folder was not listed in full, so nothing is claimed about it. Unknown is never shown as clean.
- It reads file names only. No file in the folder is opened.
- The listing is bounded: 4 levels deep, 5,000 entries and 300 ms per folder, and 2 seconds for
every folder together. Symlinks are not followed, and dependency and build folders
(
node_modules,.git,targetand similar) are skipped. - A folder outside the homes it reads, such as another volume or a network share, is listed and not walked.
- A folder disconnected in Desktop, or whose chat was deleted, leaves the list at the next scan.
- On a shared machine, the managed install reads every person’s Desktop settings.
- On macOS, a folder under Desktop, Documents or Downloads can be listed only when the agent has Full Disk Access; without it, the folder reads as not readable.
- It does not see what Desktop’s agent did in the folder. This is a list of what Desktop can reach, not monitoring of Chat or Cowork.
AI tools working on another computer
An AI tool can work on another computer instead of this one: VS Code’s or Cursor’s Remote-SSH, a vendor tunnel, GitHub Codespaces, a Kubernetes pod, or a Claude Desktop SSH environment. The tool’s agent, terminal, file edits and usually its model requests then run on that computer, so Live guard on this machine neither sees nor blocks them. The agent notices these sessions and lists each person, tool and computer as an add-on row, which the console shows as not scanned · works on another computer. It raises AI tool working on another computer (GOV-REMOTE-SESSION, see Endpoint Policy).
Each session has a state:
A computer named only in a tool’s recently opened list is counted as a known target, not a session.
The agent recognizes VS Code and its forks (VS Code Insiders, VSCodium, Cursor, Windsurf, Kiro,
Antigravity, Trae, Positron) and Claude Desktop from their saved state, and their connections
while they run. For each session it reports the tool, the kind of connection, the name the person
uses for the computer, the address, login name, port and jump host from the person’s SSH
settings, the remote folders, and a network class (local network, mesh VPN, a cloud provider,
public, or unknown) taken from the address alone.
What the agent does, and does not do:
- It reads the tools’ own settings and the person’s SSH settings. It never runs
ssh, looks a name up, or connects to the other computer. - It never reads keys,
known_hosts, identity files, or the arguments of a proxy command. - An
sshsomeone types in a terminal is not a session, nor is agitfetch,scp,sftporrsyncthe tool runs over SSH. - A local dev container and WSL are on the same machine, so they raise no finding.
- On a shared machine, each person’s sessions are kept in their own home.
- A session shorter than one scan that leaves nothing in the tool’s settings can be missed.
- It does not see what happens on the other computer. This is a record that the session exists, not monitoring of it.
Signed-in accounts
For each AI tool, the agent reads the tool’s own sign-in, read-only. It keeps three things:- the domain of the account’s email, never the address
- the plan, such as Pro or Team
- how the tool signed in, for example in a browser, through your company’s single sign-on, or with an API key
How the console labels an account
Only the email’s domain decides the label, with one exception for personal Microsoft accounts, described below. The plan doesn’t: a gmail.com account on a Team plan is Personal. Neither does how the tool signed in.
The console gives the reason with the label, for example gmail.com is a personal email
provider, acme.com is one of your company domains or acme-labs.com isn’t one of your
company domains. On an Unknown sign-in, Owners and Admins can choose Add domain to company
domains (see Company domains).
Personal Microsoft accounts. Anyone can open a personal Microsoft account with a work address,
and your company doesn’t manage that account. When Microsoft Copilot is signed in to one, the
console labels it Personal even if the address is on one of your company domains, with the
reason A personal Microsoft account that uses an address at acme.com. A work or school account
is labeled by its domain like any other sign-in. This needs agent 0.2.255 or later.
Personal sign-ins raise the machine’s risk score, and so do sign-ins with no email, except a company
sign-in the agent recognized itself (Kiro through your identity provider, Junie Enterprise).
Corporate and Unknown sign-ins don’t.
What each tool reports
A signed-in tool that reports no domain is Signed in, no email, even when it signed in through
your company’s identity provider.
Claude Desktop keeps its sign-in encrypted, so the agent reads only which account it last
signed in to. When that is Claude Code’s account, Claude Code’s identity is shown for both. When it
is a different account, Claude Desktop shows as Signed in, no email.
Microsoft Copilot is Microsoft’s Copilot app (not GitHub Copilot). It can hold a personal
Microsoft account and a work or school account at once; the agent reports the person once, at the
personal one when there is one. The plan says which kind each is (Microsoft account or work or
school account). Only the two settings files that name the accounts are read, never the rest of
the app’s profile.
Junie keeps its sign-in in the operating system’s keychain, which the agent never reads. Its
own log says whether it is signed in, how (JetBrains Account, JetBrains Enterprise, a Junie API key
or your own provider key) and the license; that is all Junie’s row shows.
In the console’s Tools inventory, No sign-in means the agent read the tool’s sign-in and found
none; Not checked means the agent does not read that tool’s sign-in at all (for example VS Code
or Slack).
Kiro records no email, so its rows show no domain. Its plan (Free, Pro, Pro+ or Power) comes
from the account’s monthly credit limit.
On the machine
The agent’s own screens still use the agent’s built-in rule for now: the local dashboard, the Glass Bar on macOS, the tray on Windows and Linux, andgw-cli discover. That rule also weighs the plan and how the tool signed in. A Team
or Enterprise plan, or a company sign-in, reads as corporate even with a personal email, and so
does any email domain outside the agent’s own list of personal providers, which doesn’t include
Apple’s hidden addresses (privaterelay.appleid.com, private.icloud.com). An individual plan with no
email reads as personal. So the machine and the console can label the same account differently.
OWASP Agentic Skills Top 10
Every rule Guardway raises is tagged with the OWASP Agentic Skills Top 10 item it detects (AST01–AST10), and the CLI + dashboards compute a compliance level per machine from those findings. Guardway has detection-side coverage of all ten items — it detects and reports; it never blocks or sandboxes.Compliance scoring
Each item is scored from the findings present on the machine:
A machine’s compliance % = (PASS = 1 · ATTENTION = 0.5 · FAIL = 0) across the ten items ÷ 10.
gw-cli scan prints each finding’s AST tag (e.g. META-UNDECLARED-NET … (AST04)); the local dashboard shows an OWASP panel; the Guardway console rolls it up across the fleet.
AST vs ASI — two different OWASP frameworks. The endpoint side (this CLI) maps to the Agentic Skills Top 10 (AST) — threats in installed skills at rest. The platform Agents page maps to the Agentic Security Initiative (ASI) — threats in a running agent. They are complementary, not the same list:
AST07 Update Drift and AST09 Governance have no runtime equivalent; ASI06 Memory Poisoning and ASI10 Rogue Agents have no static-skill equivalent. AST is the risk at rest (the leading indicator); ASI is the live exploitation — e.g. an over-privileged skill (AST03) is what a running agent later abuses (ASI03).Governance (AST09)
Inventory only governs if new arrivals are surfaced. Rungw-cli approve after reviewing a discover run to record the current skills, commands, subagents, and MCP configs as the approved baseline (path + content hash → <data-dir>/approved.json). From then on discover flags anything new or changed outside that baseline:
Governance is opt-in and local — no baseline file, no findings. Until you run
approve, AST09 reads as ATTENTION (“no approval baseline”); a baseline with no violations makes it PASS.
Vet verdicts
gw-cli vet collapses an artifact’s overall risk into a single headline verdict word plus one-line advice. The mapping:
The process exits non-zero at or above
--fail-on (default high), so you can gate an install:
Limits
- The built-in engine over-flags by design; install SkillSpector for production-grade scoring.
- Detection is static — it inspects files, it does not execute them. Drift detection catches the local mutation of an approved artifact (the on-endpoint half of a TOCTOU/rug-pull); confirming that a remote URL’s served content has flipped, or judging live runtime intent, requires the network and is out of scope for on-endpoint static analysis.
- Drift needs a baseline: the first scan of an artifact establishes it, so drift findings appear from the second scan onward. Keep the inventory fresh (see
schedule) so the baseline stays current. - On Windows, some app-config paths (e.g. the Claude desktop app under
%APPDATA%) are still being added; Claude Code and project-folder artifacts are covered today. - Claude Desktop’s Chat and Cowork run outside Live guard. The agent reports the folders they can reach and whether those hold credential files, not what was done there.
Related
- CLI Reference —
discover,scan, andvetflags. - Local Dashboard — where these findings are shown.
- Overview — install and the end-to-end flow.
- Personal Email Providers — the domains that are always Personal.
- Organization — your company domains.