Safely cleanup test artifacts from ServiceNow (dry-run enabled by default for safety)
AI agents call snow_cleanup_test_artifacts to permanently remove resources in Serac — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Cleaning up artifacts is a destructive operation that removes data from ServiceNow. The explicit mention of a dry-run default safety mechanism strongly implies that when dry-run is disabled, the tool permanently deletes test artifacts. This makes it Destructive. Severity is high because misuse (e.g., accidentally disabling dry-run) could irreversibly remove test data across a ServiceNow environment.
From the tool's definition 'cleanup test artifacts' implies deletion/removal of data; 'dry-run enabled by default for safety' confirms the non-dry-run mode performs irreversible removal
Attacks that exploit this kind of access
Safely cleanup test artifacts from ServiceNow (dry-run enabled by default for safety). It is categorised as a Destructive tool in the Serac MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Serac MCP server in PolicyLayer and add a rule for snow_cleanup_test_artifacts: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Serac. Nothing to install.
snow_cleanup_test_artifacts is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the snow_cleanup_test_artifacts rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for snow_cleanup_test_artifacts. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
snow_cleanup_test_artifacts is provided by the Serac MCP server (serac-labs/serac). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
snow_cleanup_test_artifacts is one line of Serac's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →