ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)
Go aiai-agentsautonomous-agentsbug-bountydockergolanglinuxllmmcpnextjspenetration-testingpentestpostgresqlreareactred-teamsecuritysecurity-automationsqlitetypescript
chore: keep untrusted-output boundary off until isolated smoke test
BaaRai62571c9b341a
diff --git a/agent/chat.go b/agent/chat.goindex 05128b3..ae52ee8 100644--- a/agent/chat.go+++ b/agent/chat.go@@ -160,9 +160,6 @@ func (c *ChatAgent) Chat(ctx context.Context, agentKey, sessionID, message strinSettlement: wrapupSettlement(agentKey, nil),NonStreaming: c.nonStreaming(), // when this profile selects non-streaming, use Provider.CompleteMaxTokens: c.maxTokens(), // 0 = send no cap, the server's default decides-- // Frame tool results as untrusted data (nonce-tagged); see harness/untrusted.go.- UntrustedOutputBoundary: true,}if c.guard != nil {opts.Hooks = c.guard.Hooks()diff --git a/agent/mainagent.go b/agent/mainagent.goindex b05d60c..94585fb 100644--- a/agent/mainagent.go+++ b/agent/mainagent.go@@ -169,9 +169,6 @@ func (m *MainAgent) Chat(ctx context.Context, taskID int64, mainSeg int, as *db.Settlement: wrapupSettlement("mainagent", nil),NonStreaming: m.nonStreaming(), // when this profile selects non-streaming, use Provider.CompleteMaxTokens: m.maxTokens(), // 0 = send no cap, the server's default decides-- // Frame tool results as untrusted data (nonce-tagged); see harness/untrusted.go.- UntrustedOutputBoundary: true,}if m.tx != nil { // persist raw human↔AI conversation; one accumulating file per segmentopts.Transcript = m.txdiff --git a/agent/planner.go b/agent/planner.goindex 637e04f..7f53f80 100644--- a/agent/planner.go+++ b/agent/planner.go@@ -457,9 +457,6 @@ func (p *Planner) Plan(ctx context.Context, taskID int64, as *db.AssetStore, tsSettlement: settle,NonStreaming: p.nonStreaming(), // when this profile selects non-streaming, use Provider.CompleteMaxTokens: p.maxTokens(), // 0 = send no cap; the server default decides-- // Frame tool results as untrusted data (nonce-tagged); see harness/untrusted.go.- UntrustedOutputBoundary: true,}if p.tx != nil { // persist raw LLM conversation; one accumulating file per task's planneropts.Transcript = p.txdiff --git a/agent/worker.go b/agent/worker.goindex 77a0842..93b5863 100644--- a/agent/worker.go+++ b/agent/worker.go@@ -526,9 +526,6 @@ func (w *Worker) execute(ctx context.Context, name string, taskID int64, as *db.Todos: actool.NewTodoStore(), // session-level scratch todos (TodoWrite), pure planning, discarded on exitNonStreaming: w.nonStreaming(), // when this profile selects non-streaming, use Provider.CompleteMaxTokens: w.maxTokens(), // 0 = send no cap; the server default decides-- // Frame tool results as untrusted data (nonce-tagged); see harness/untrusted.go.- UntrustedOutputBoundary: true,}if hooks != nil { // typed-nil guard: only set when concrete (avoids harness panic)opts.Hooks = hooks