All plugins

hermes-windows-firewall

Answer "what does the Windows firewall let through, and for whom" on Windows: every rule from the registry store the firewall service itself keeps, each row in plain words -- allow or block, inbound or outbound, TCP/UDP/ICMP or a protocol number, local and remote ports, the program or service the rule is scoped to, which profile it belongs to (Domain, Private, Public or any) and whether it is switched on -- plus the three profiles' firewall switches and default actions, with values the registry did not write reported as null and attributed to Windows' builtin defaults rather than invented. Built-in rules name themselves indirectly (@FirewallAPI.dll,-32765); the words are resolved from the resource in the machine's own language, and references that will not resolve stay as written. Details one rule in full: addresses with scope words (the local subnet, any address), edge traversal, the embedding group, the description, and fields the parser does not model (TTK2_22 is on real machines) passed through verbatim rather than dropped. netsh labels localize with the display language, the registry does not -- which is why the plugin goes there: no netsh, no PowerShell, no WMI. Use it for "is port X open", "what may this exe do", and "is the firewall actually on". Read-only: registry values are enumerated and resource strings resolved, nothing is enabled, disabled, added or removed; no network calls of its own, no file writes, no elevation. The whole store answers in hundredths of a second (795 rules in 0.07 s on the writing machine); the plugin declares no Python dependencies. Windows only. Disclosure - the tools report every rule's action, direction, protocol, ports, addresses, program, service and name, and the profile switches, to the model; treat the output like the firewall page of Windows Security.

Yicheng-MarkToolsv0.1.0Updated 13 days ago

About

Answer "what does the Windows firewall let through, and for whom" on Windows: every rule from the registry store the firewall service itself keeps, each row in plain words -- allow or block, inbound or outbound, TCP/UDP/ICMP or a protocol number, local and remote ports, the program or service the rule is scoped to, which profile it belongs to (Domain, Private, Public or any) and whether it is switched on -- plus the three profiles' firewall switches and default actions, with values the registry did not write reported as null and attributed to Windows' builtin defaults rather than invented. Built-in rules name themselves indirectly (@FirewallAPI.dll,-32765); the words are resolved from the resource in the machine's own language, and references that will not resolve stay as written. Details one rule in full: addresses with scope words (the local subnet, any address), edge traversal, the embedding group, the description, and fields the parser does not model (TTK2_22 is on real machines) passed through verbatim rather than dropped. netsh labels localize with the display language, the registry does not -- which is why the plugin goes there: no netsh, no PowerShell, no WMI. Use it for "is port X open", "what may this exe do", and "is the firewall actually on". Read-only: registry values are enumerated and resource strings resolved, nothing is enabled, disabled, added or removed; no network calls of its own, no file writes, no elevation. The whole store answers in hundredths of a second (795 rules in 0.07 s on the writing machine); the plugin declares no Python dependencies. Windows only. Disclosure - the tools report every rule's action, direction, protocol, ports, addresses, program, service and name, and the profile switches, to the model; treat the output like the firewall page of Windows Security.

hermes-windows-firewall

Answer "what does the Windows firewall let through, and for whom" on
Windows, from inside Hermes.

win_firewall_table({"query": "python"})
win_firewall_table({"direction": "in", "active": True})
win_firewall_detail({"name": "NETDIS-SSDPSrv-Out-UDP-Active"})

The firewall question, answered without opening Windows Security: every rule
in the store the firewall service itself keeps, each row in plain words, plus
the three profile switches.

What the tools report

FieldWhere it comes from
id, nameThe rule's value name in the store; built-in names are @FirewallAPI.dll,-N references, resolved to the machine's own language in-process, unresolvable ones kept as the raw reference
activeActive=TRUE/FALSE -- a switched-off rule matches nothing, and says so
action, directionAllow/Block, In/Out, enum-shaped words that do not translate
protocolThe number Windows stores (6, 17, 47) named (TCP, UDP, GRE); unknown numbers stay numbers
local_ports, remote_portsAs written: 2869, 1024-65535, any
program, serviceThe rule's App/Svc scope; %SystemRoot% expanded, the raw form kept beside it; a service rule's svchost is called out as the host, not the actor
profilesDomain, Private, Public or any (the store writes StandardProfile where the UI says Private)

win_firewall_detail adds the sentence of what the rule does, addresses with
scope words (the local subnet, any address), edge traversal, the embedding
group and description in the machine's language, and every field the parser
does not model -- passed through verbatim rather than dropped (TTK2_22 is
on real machines).

The three profile rows carry each profile's firewall switch and default
actions. A value the registry did not write is null: Windows then applies
its builtin default (firewall on, inbound blocked, outbound allowed), which
the tools attribute as the default it is, never as a measured fact.

Read-only, and why it goes through the registry

Nothing is enabled, disabled, added or removed: the tools enumerate registry
values and resolve resource strings; there is no firewall call at all.

The registry answers in hundredths of a second on this machine (795 rules in
0.07 s). netsh advfirewall labels its output in the machine's display
language -- a Chinese Windows prints Chinese value words -- so parsing it
means parsing a locale that changes with the install. The store under
HKLM\SYSTEM\...\FirewallPolicy is where the firewall service itself keeps
the rules, and its data either is enum-shaped or is the user's own words.

Windows only

The plugin imports nowhere but on Windows: winreg is guarded, and on a
machine without it the tools answer with a clear error instead of crashing.
Windows-only is declared in the manifest.

Testing

python -m pytest tests/ -- unit tests fake the registry through an injected
opener, the display-word resolver through an injected loader, and the
winreg-less import behind a blocker; live tests check the real machine.
VALIDATION.md records the evidence.

README from the reviewed commit c106812; it updates when the author re-pins.

More by Yicheng-Mark

18 plugins by Yicheng-Mark in the catalog.

Yicheng-Markhermes-dpapi-secretsResolve Hermes environment variables at startup from a single secret file encrypted with the Windows Data Protection API, instead of keeping provider keys in plaintext in .env or auth.json. Config is secrets.dpapi.map, an ENV_VAR -> store-name mapping (bare names or dpapi:// names) plus an optional file path (default <HERMES_HOME>/secrets.dpapi). The file is one DPAPI blob keyed by the current Windows user profile, so it is unreadable by another Windows account and worthless off the machine; it is written by the bundled CLI (python -m hermes_dpapi_secrets set NAME, value read from a prompt or stdin, never from argv) and only read at runtime. Mapped names that are missing or empty are skipped with a warning; a file that is not ours, a blob this user cannot decrypt, or a payload that is not a flat string map is reported as an error with nothing injected. Disclosure - this source decrypts a file for every Hermes process that enables it: resolved values become environment variables of the Hermes process and its children, exactly like .env entries, so anything that can read that environment can see them. User-scope encryption only (the machine-wide flag is never used and is not exposed), and the at-rest protection is a bar for backups, cloud sync and dotfiles, not a boundary against code already running as the same user. Stdlib-only (ctypes): no Python dependencies, no subprocesses, no network calls, no self-update. Windows only. Applying fetched values stays the orchestrator's job; the plugin never writes os.environ itself. Disclosure — decrypts a DPAPI-encrypted secret file (default <HERMES_HOME>/secrets.dpapi) at startup for every Hermes process that enables it, and the resolved values become environment variables of Hermes and its child processes like .env entries; the encryption is per Windows user and protects backups, cloud sync and copied files, not against other code running as the same user. Local only: no network calls, no subprocesses.CommunitytoolsYicheng-Markhermes-wincredResolve Hermes environment variables from the current user's Windows Credential Manager at startup, instead of keeping provider keys in plaintext in .env or auth.json. Config is secrets.wincred.map, an ENV_VAR -> generic-credential-target mapping (bare names or wincred:// names); each value is read with CredReadW in the current user's vault and handed to the secret-source orchestrator, which applies it with the usual precedence, provenance and conflict rules. Values may be UTF-8 or UTF-16LE (cmdkey and the Credential UI write UTF-16); anything that does not decode to text, or that contains interior NULs, is skipped with a warning instead of being injected as a mangled key. Disclosure - this source reads your Windows Credential Manager: only the generic credentials named in the map, with no enumeration of the vault. Resolved values become environment variables of the Hermes process and its children, exactly like .env entries, so anything that can read that environment can see them. The package is read-only and stdlib-only (ctypes): it never creates, updates or deletes credentials, writes no files, starts no subprocesses, makes no network calls and does not self-update. Windows only. Credential Manager is user-scoped, so this raises the at-rest bar for backups, cloud sync and dotfiles; it is not a boundary against code already running as the same user. Applying fetched values stays the orchestrator's job; the plugin never writes os.environ itself. Disclosure — when enabled, reads only the Windows Credential Manager generic credentials named in secrets.wincred.map (no vault enumeration) and injects them as environment variables of the Hermes process and its children, exactly like .env entries; read-only, stdlib ctypes, no subprocesses, no network, no file writes; user-scoped at-rest protection, not a boundary against code already running as the same user.CommunitytoolsYicheng-Markhermes-windows-appsAnswer "what is installed on this Windows machine": the software inventory behind Apps & Features, swept straight from the four Uninstall registry keys (the machine's 64-bit and 32-bit views plus the user's), so a program is found even when the Settings page hides it - a per-user install that never shows on the machine page came from the user view on the writing machine. Each row carries version, publisher, size in MB, install date and which view it lives in; the same DisplayName in two views is a 32/64-bit dual install, marked instead of listed twice. Entries the publisher asked to hide (runtime packages, update rollups) are filtered out unless asked for. Details one program with every field its publisher wrote and a reading of the uninstall command (MSI product code, setup executable, appx, script) so the next step is known before anything is run; the install folder is checked against disk. Use it for "what did that installer actually register", for inventory before a cleanup, and for "which of the two installs does uninstalling remove". Read-only: registry keys are enumerated and uninstall strings are reported, never run; no network, no file writes, no elevation. The sweep is pure registry - 102 entries in seven milliseconds on the writing machine, the whole table in ten, no PowerShell, no WMI. The plugin declares no Python dependencies. Windows only. Disclosure - the tools report program names, versions, publishers, sizes, install folders and uninstall commands, and what is hidden from Apps & Features, to the model; treat the output like the machine's own Apps & Features page.CommunitytoolsYicheng-Markhermes-windows-certificatesAnswer "which certificate on this Windows machine expired, and what am I actually trusting": walks the user's and the machine's certificate stores (MY, Root, CA) in-process through crypt32 - no certutil, no PowerShell - and lists every certificate with subject, issuer, validity window, self-signed or not, SHA-1 thumbprint and the store it lives in; the expiry arrives in words ("expired 45 days ago", "expires in 12 days") and the list is sorted with the expired and soon-expiring first. One certificate in full adds the serial number, certificate version, the signature algorithm in words, the public key's algorithm, named curve and size in bits (2048-bit RSA, P-256), and the purposes it is valid for (server authentication, code signing...; no EKU extension is reported as "does not restrict its purposes", which is what its absence means). Find it by thumbprint or by a subject substring, across the user's and the machine's copies. Use it for "why does TLS keep failing on this box", "is the root store healthy", and "which personal certificate ran out". Read-only: stores are opened read-only and only enumerated - nothing is added, removed or changed; no network, no file writes, no elevation, no child processes; 121 certificates across both contexts and all three stores walk in about 8 ms on the writing machine. Windows only. Disclosure - the tools report certificate subjects, issuers, validity windows and thumbprints, to the model; treat the output like the machine's own certificate manager page.Communitytools

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section