Kyvvu

Policy · critical

Restrict outbound to approved domains

Domain allowlist restricting step.resource targets to approved internal endpoints. Blocks calls to unknown external domains.

The policy

A few lines of YAML in your repository.

Part of Data exfiltration guard. Assign the pack, or copy this policy into a manifest of your own.

Verdict
Critical: the step is blocked before it runs, and an incident is opened.
Checked
Before every step, against everything the agent did earlier in the task.
Rule
domain_allowlist
- name: "Restrict outbound to approved domains"  description: |    Domain allowlist restricting step.resource targets to approved    internal endpoints. Blocks calls to unknown external domains.    IMPORTANT: Replace these example domains with your actual    approved endpoints before production use.  rule_type: domain_allowlist  params:    allowed_domains: ["internal.example.com", "api.example.com"]    target_kinds: ["step.resource"]  severity: critical  enforcement_point: step_execution

Why it matters

IMPORTANT: Replace these example domains with your actual approved endpoints before production use.

How the rule works

domain_allowlist: For steps of the listed types, checks that properties.target.host is in the allowlist (equal to a listed domain or a subdomain of one). A listed step with an absent, empty or unparseable host is a violation (fails closed); raw IPs only match an exact listed string; steps of other types are not evaluated.

  • allowed_domains: ["internal.example.com","api.example.com"]. Allowed domains; subdomains of a listed domain are also allowed.
  • target_kinds: ["step.resource"]. Action kinds the rule applies to (e.g. step.resource, step.exec, step.message); other steps pass.

In these packs

From Kyvvu's open policy library at github.com/Kyvvu/manifests, Apache 2.0.

Next

Watch it decide.

In your browser

Try it in the playground

The policy is loaded. Add the steps your agent takes and watch the engine decide, step by step.

On your machine

Five minutes, no account

kyvvu try runs a demo agent against the bundled baseline. Then assign this pack from the dashboard or the CLI.

For security teams

See it on your agents

A 30-minute demo on the agents you actually run, with the policies that fit them.