Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skilljail/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def evaluate_activation(
F.append(Finding("R1", "exfil-chain", esc,
f"session already read sensitive class(es) {sorted(prior_reads)} via {readers}; this skill adds egress to {novel} — the agent's context could carry secrets to a new destination",
{"prior_classes": sorted(prior_reads), "novel_hosts": novel, "readers": readers}))
# egress-then-read: this skill reads secrets, and earlier skills already have egress elsewhere
# egress-then-read: this skill reads secrets, and earlier skills can already reach hosts this skill cannot
if declared_reads and prior_egress:
novel = _hosts_not_covered(sorted(prior_egress), set(policy.net_allow))
if novel:
Expand Down
Loading