Answer: Check the session purpose where the tool writes and return the decision without the external action when the purpose is "eval". Eval sessions carry `purpose: "eval"`, so the tool call stays in the trajectory while the external action is skipped. Status: Confirmed Entry: tool/cursor/permissions-and-security/prevent-eval-side-effects Revision: 1 Digest: sha256:ec80466383c2bb2a (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:26Z Last changed: 2026-11-13T03:08:26Z Last verified: 2026-11-20T12:32:40Z Next check: 2026-11-21T12:32:40Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of eval purpose value | eval | [1] | 2026-11-20 check location | where the tool writes | [1] | 2026-11-20 action to avoid | without the external action | [1] | 2026-11-20 trajectory behavior | The tool call stays in the trajectory | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/evals.md". https://cursor.com/docs/agent-sdk/evals.md Role: primary. Accessed: 2026-11-20T12:32:40Z Quote: "Eval sessions carry `purpose: "eval"`." (Supports: eval purpose value) Quote: "Check it where the tool writes, and return the decision" (Supports: check location) Quote: "without the external action" (Supports: action to avoid) Quote: "The tool call stays in the trajectory, so the eval can still assert that the agent chose to post." (Supports: trajectory behavior) Snapshot SHA-256: 582c4d2c88f54719b10b46b027c5bd4b4de34bb4e6b57d84dc80bd00a1c00a5b (captured 2026-11-13T03:08:26Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:26Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:40Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:40Z Last attempt: 2026-11-20T12:32:40Z Notes and limitations: Extracted automatically from a single official source (section "Keep side effects out of eval sessions"). Related: https://latestn.com/tool/cursor/permissions-and-security/protect-public-webhooks How do I protect public webhook endpoints in Cursor's Agent SDK? https://latestn.com/tool/cursor/permissions-and-security/request-user-tokens-scope How do I request the namespace:user_tokens:write scope for a Cursor Origin app installation? https://latestn.com/tool/cursor/permissions-and-security/restrict-cloud-agent-repositories How do I restrict which repositories Cursor Cloud Agents can reach? https://latestn.com/tool/cursor/permissions-and-security/origin-migration-api-authentication How do I authenticate requests to the Cursor Origin Migration API? https://latestn.com/tool/cursor/permissions-and-security/origin-repository-visibility What visibility options exist for Cursor Origin repositories and how are personal repos handled? https://latestn.com/tool/cursor/permissions-and-security/permissions-vs-sandbox-json What is the difference between permissions.json and sandbox.json in Cursor? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:26Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/permissions-and-security/prevent-eval-side-effects/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/permissions-and-security/prevent-eval-side-effects POST: https://latestn.com/dispute/tool/cursor/permissions-and-security/prevent-eval-side-effects with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/permissions-and-security/prevent-eval-side-effects?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I keep side effects out of Cursor eval sessions? Revision 1, last verified 2026-11-20T12:32:40Z. https://latestn.com/tool/cursor/permissions-and-security/prevent-eval-side-effects (accessed 2026-11-21T09:58:51Z). @misc{LatestN_tool_cursor_permissions_and_security_prevent_eval_side_effects_r1, title = {How do I keep side effects out of Cursor eval sessions?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/permissions-and-security/prevent-eval-side-effects}}, note = {Revision 1; digest sha256:ec80466383c2bb2a; last verified 2026-11-20T12:32:40Z; accessed 2026-11-21T09:58:51Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/permissions-and-security/prevent-eval-side-effects