C

ctty command protection

Reviews ctty remote execution (batch exec and bare-host SSH), file transfers (put/get/scp), SFTP/FTP/WebDAV mutations, and local inventory w

Reviews ctty remote execution (batch exec and bare-host SSH), file transfers (put/get/scp), SFTP/FTP/WebDAV mutations, and local inventory writes (add/edit/move/import), while leaving read-only inspection unmatched.

command.ctty · v1.1.1 · Other extensions

By Community contributorExternal · opt-inCommand coverage
Protection rules
7
Permission checks
7
Mapped commands
7

Overview

What this coverage does

Reviews ctty remote execution (batch exec and bare-host SSH), file transfers (put/get/scp), SFTP/FTP/WebDAV mutations, and local inventory writes (add/edit/move/import), while leaving read-only inspection unmatched.

Key facts

Catalog ID
command.ctty
Version
v1.1.1
Kind
Command coverage
Category
Other extensions
Protection rules
7
Permission checks
7
Mapped commands
7
Maintainer
Community contributor(community, provenance recorded)
Source commit
3b129e0
Protection model
External · opt-in
External · opt-in

External coverage. It must be enabled through Guard controls; this page does not activate it.

Stated limits

  • Coverage is limited to the reviewed operations and the surrounding Guard policy.
  • A maintainer profile is not a security certification or an official upstream endorsement.

Command mapping

Every command this extension recognizes, with the catalog default floor Guard applies before workspace policy. Search the table, then open an operation for safe variants and the permission ID.

7 operations · 7 reviewed by default These are catalog defaults, not your workspace policy.

7 operations7 reviewed
Default floor

Showing 7 of 7 operations

  • Reviewed Guard intercepts the command for review before it runs.High
    • ctty exec --tags prod -- uptime
    ctty batch remote execution
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies `ctty exec` remote SSH. AUTO (safe variants): `--list-hosts`, alias `--dry-run`, and help. Normal exec without those flags stays REVIEW.
    Documented safe variants
    Command helpCommand short helpExec list-hosts preview (no SSH)Exec dry-run alias for list-hosts (no SSH)skip this operation when they are the documented preview or help form.
    Permission ID
    command.ctty.permission.exec
  • Reviewed Guard intercepts the command for review before it runs.High
    • ctty ftp rm lab-nas /pub/old.txt
    ctty FTP remote mutation/download
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies headless FTP mutations and downloads: `ctty ftp get|put|mkdir|rm|rmdir|rename`. Read-only list/search/info/ls are not matched.
    Documented safe variants
    Command helpCommand short helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.ctty.permission.ftp-mutation
  • Reviewed Guard intercepts the command for review before it runs.High
    • ctty prod-web -- uptime
    ctty bare-host remote execution
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies host-first remote execution and interactive SSH (`ctty <host>`, `ctty <host> <cmd>`, `ctty <host> -- <cmd>`). Safe variants clear every known top-level Cobra subcommand so `search`/`info`/`sftp`/… do not inherit this rule.
    Documented safe variants
    Known ctty subcommand `add` (not bare-host exec)Known ctty subcommand `browse` (not bare-host exec)Known ctty subcommand `completion` (not bare-host exec)Known ctty subcommand `edit` (not bare-host exec)Known ctty subcommand `exec` (not bare-host exec)Known ctty subcommand `ftp` (not bare-host exec)Known ctty subcommand `get` (not bare-host exec)Known ctty subcommand `import` (not bare-host exec)skip this operation when they are the documented preview or help form.
    Permission ID
    command.ctty.permission.host-exec
  • Reviewed Guard intercepts the command for review before it runs.High
    • ctty add --name web1 --hostname 10.0.1.10 --user root --tags prod
    ctty local inventory mutation
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies `ctty add|edit|move|import`. `import --dry-run` clears this rule via a safe variant.
    Documented safe variants
    Command helpCommand short helpImport dry-run previewskip this operation when they are the documented preview or help form.
    Permission ID
    command.ctty.permission.inventory-write
  • Reviewed Guard intercepts the command for review before it runs.High
    • ctty sftp rm prod-server /tmp/old.log
    ctty SFTP remote mutation
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies `ctty sftp mkdir|rm|rmdir|rename`. Read-only `sftp ls --format json` is not matched.
    Documented safe variants
    Command helpCommand short helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.ctty.permission.sftp-mutation
  • Reviewed Guard intercepts the command for review before it runs.High
    • ctty put web-server ./app.tar.gz /srv/www/app.tar.gz
    ctty remote file transfer
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies `ctty put`, `ctty get`, and `ctty scp` (upload and download).
    Documented safe variants
    Command helpCommand short helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.ctty.permission.transfer
  • Reviewed Guard intercepts the command for review before it runs.High
    • ctty webdav rmdir nextcloud /Documents/TempDir
    ctty WebDAV remote mutation/download
    Default floor
    Reviewed by default. Guard intercepts the command for review before it runs.
    Detector mode
    review
    What it matches
    Identifies headless WebDAV mutations and downloads: `ctty webdav get|put|mkdir|rm|rmdir|rename`. Read-only list/search/info/ls are not matched.
    Documented safe variants
    Command helpCommand short helpskip this operation when they are the documented preview or help form.
    Permission ID
    command.ctty.permission.webdav-mutation

Tool state mapping

No per-tool overrides are declared. Command defaults above resolve through the workspace Guard policy unless a later policy layer changes them.

Runtime identity

Catalog ID
command.ctty
Guard enforcement ID
command.ctty
Source path
contributions/extensions/command.ctty.json
Contribution digest
sha256…15642d

Action classes

ctty remote execution commandctty bare-host remote execution commandctty remote transfer commandctty remote delete commandctty remote write commandctty local inventory mutation command

Technical profile

No independent profile published

This extension has no current independent technical profile. Catalog facts and any legacy launch remain separate and are not presented as profile evidence.

FAQ

Frequently asked questions

Reviews ctty remote execution (batch exec and bare-host SSH), file transfers (put/get/scp), SFTP/FTP/WebDAV mutations, and local inventory writes (add/edit/move/import), while leaving read-only inspection unmatched. The listing declares 7 rules and 7 permission checks. 7 operations · 7 reviewed by default. Coverage is limited to these reviewed operations and the surrounding Guard policy.

External · opt-in: External coverage. It must be enabled through Guard controls; this page does not activate it. Enabling state is always controlled through Guard policy, never from this directory.

This listing entered the catalog as a community contribution through a public pull request with recorded provenance. Credit is attribution only. A verified publisher profile and the claim flow verify authority separately; neither is an upstream endorsement or a HOL safety certification.

No. Every listing documents source, activation model, maintainer identity, and stated limitations so you can evaluate coverage before enabling it. Review the stated limitations and the exact source tree before relying on any single control.

7 operations · 7 reviewed by default. Examples: ctty exec --tags prod -- uptime (reviewed by default); ctty ftp rm lab-nas /pub/old.txt (reviewed by default); ctty prod-web -- uptime (reviewed by default); ctty add --name web1 --hostname 10.0.1.10 --user root --tags prod (reviewed by default); ctty sftp rm prod-server /tmp/old.log (reviewed by default); ctty put web-server ./app.tar.gz /srv/www/app.tar.gz (reviewed by default); ctty webdav rmdir nextcloud /Documents/TempDir (reviewed by default). These are catalog defaults, not your workspace policy.

External coverage. It must be enabled through Guard controls; this page does not activate it. Enablement is managed through your workspace's Guard policy and controls — never from this directory. Open the install guidance for the setup flow, then adjust the command coverage for command.ctty in Guard's policy surface.

The matching action is stopped at Guard's pre-action boundary before it executes, and the decision is recorded with evidence your workspace can review. Exact behavior follows your Guard policy combined with this entry's 7 rules and 7 permission checks.

No. Guard is local-first: interception, decisions, and evidence stay on your machine unless your workspace explicitly configures cloud features. This page is documentation only — it never executes a command or changes protection state.

Guard runs locally alongside the major AI coding agents and MCP-capable harnesses, so this coverage applies wherever Guard intercepts actions. See the supported harness guides at https://hol.org/guard/harnesses for per-tool approval behavior and limitations.

Guard has a free local tier that includes command interception, evidence, and the policy controls this listing documents. Team plans add shared policy, review queues, and audit surfaces. Current plans: https://hol.org/guard/pricing

Open an issue or pull request against the hol-guard repository, where the canonical catalog lives: https://github.com/hashgraph-online/hol-guard Listings are corrected through the same public review process that adds them.

Yes. Community extensions are merged through public pull requests with recorded provenance, and you can claim the publisher page for a contribution you maintain through the Publisher Studio.

The command mapping table is the audit trail for covered commands and catalog default floors. Pair it with the reviewed rule and permission counts, the per-tool state mapping, and the exact source tree linked from View exact source at the reviewed commit. Guard records enforcement decisions with evidence locally, so what ships matches what you reviewed.