Skip to content

[v2] Implement ShadowNetwork Simulator #658

Description

@SHAURYASANYAL3

Phase 3: State Lattice (DB & Network)

The Context

Agents reaching out to the internet must be strictly controlled to prevent data exfiltration. The Network Shadow Model analyzes outbound requests prior to execution.

Tasks

  • Build a ShadowNetwork class that accepts a NetworkAction and outputs a MutationResult.
  • Simulate payload boundaries: track target domain, method, and payload size.
  • Implement Network-specific StateInvariant checks:
    • domain_whitelist_only: Enforce strict destination boundaries.
    • no_pii_exfiltration: Run regex/pattern matching against the payload to detect emails, SSNs, or keys before they leave the system. (Again, pure regex, no LLMs).

Part of Epic #651

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions