Skip to content

Tool review

A tool has a definition: its name, description, inputs and hints. An AI client reads the definition to decide when to call the tool. A bad definition can tell the AI client to do something harmful.

Cyproxy makes a fingerprint of each definition. A tool runs only when its definition is the approved definition.

Tool review, with the approved and the new description

States of a tool

stateDiagram-v2
    [*] --> Approved: Cyproxy sees the tools of an integration for the first time
    [*] --> OnHold: the server lists a new tool later
    OnHold --> Approved: you approve the tool
    Approved --> Changed: the definition changes
    Changed --> Approved: you compare and approve
    OnHold --> Blocked: you block the tool
    Approved --> Blocked: you block the tool
    Changed --> Blocked: you block the tool
    Blocked --> Approved: you approve the tool
State Can it run? AI clients see it?
New: on hold No No
Approved Yes Yes
Changed: on hold No No
Blocked No No

Rules

  • Cyproxy approves the tools of an integration when it sees them for the first time.
  • After that, a new tool or a changed tool goes on hold.
  • Cyproxy asks a server for its tools again at least every 5 minutes while the server is in use.
  • A server cannot unblock its own tool. Only you can.
  • If a server that you run moves to a different address, the review starts again. An example is your Splunk.
  • If Cyproxy cannot get the tool list of a server, it does not call the server.

Review a tool

  1. Open Governance → Tool review.
  2. Read the description and the inputs. For a changed tool, compare Approved and Now.
  3. Select the type: Read tool or Write tool.
  4. Select Approve tool or Block.

To approve all new tools of a server, select Approve N new tools. Read the descriptions first.

Cyproxy shows hidden characters in a definition as codes, for example ⟨U+202E⟩.

Read tools and write tools

Cyproxy gives each tool a type:

  • A read tool gets data. It runs without approval.
  • A write tool creates, sends, changes or deletes data. Each call needs approval.

If the type is not clear, the tool is a write tool.

Cyproxy uses the hints that the server gives and the words in the tool name:

  • Cyproxy looks at all words in the tool name. get_user is a read tool. delete_all__get_status is a write tool.
  • A word such as delete in the name makes a write tool, also when the server says that the tool only reads.
  • Some read tools are marked as write tools. Change the type when you review the tool.

Your decision replaces the type that Cyproxy gave. If an update later makes a tool look like a write tool, it becomes a write tool again.

What tool review cannot do

Tool review detects a change to the name, description, inputs or hints. It cannot detect a change in what the tool does on its server. Approvals, data protection and the audit log limit the damage in that case.