There is a difference between asking an assistant to find a missing invoice and letting it clean an entire shared drive. The second request may move or delete something your team still needs. Security guidance from NIST and OWASP gives a practical starting point: identify the agent, restrict permissions and require confirmation before high-impact actions. Here is a test you can perform without putting real records at risk.
Start with a disposable folder
Create a test folder containing clearly fake files. Include similarly named invoices, an archived item, an empty directory and one file that should never be touched. Write the expected outcome before giving any instruction to the agent.
This is a demonstration design, not a report of an incident at a Caribbean firm. Do not place real personnel files, customer records or accounting data into the trial.
Give the agent the smallest useful permission
NIST's February 5 concept paper focuses on identity, authorization and auditability for software and AI agents. The practical lesson is to identify exactly which tool and account is acting and what it can access.
Use read-only permissions first. If the task requires writing, confine writes to the test folder. Deny deletion, network sharing and access to unrelated team folders until those actions are independently justified.
How the process works
Source-linked conceptual explanation; no measured performance implied.
Limit
Start with read-only access to fictional files.
Preview
List every proposed move, overwrite and deletion.
Approve
A named person signs off before tool-level changes.
Restore
Test audit logs and rollback on the test folder.
Sources: NIST — Identity and authority of software agents ↗ · OWASP — Top 10 for Agentic Applications 2026 ↗
A dry run is not the same as a promise
Ask the tool to list proposed changes: source path, target path, reason, possible duplicates and files it would leave untouched. Check that plan against the test manifest. An agent saying it has checked everything is not independent evidence.
OWASP's agentic security guidance discusses tool misuse, privilege abuse and goal hijacking. Treat downloaded text, document contents and messages from external parties as untrusted task data rather than new instructions with authority.
Require approval for irreversible changes
Once the test plan matches the expected outcome, have a person approve each deletion or bulk move. Preserve backups and log each action with the authorised identity, timestamp and affected path. Use a reversible move-to-quarantine when possible.
A confirmation dialog is not enough if the agent has already acted. Place the permission boundary in the tools and accounts, not only in the assistant's prompt.
Evidence, proposal and unknowns
Interpretive distinctions grounded in cited sources; not a measurement.
Documented
NIST and OWASP publish guidance on identity, tool permissions and high-impact actions.
Proposed
A dry-run and reversible test folder are the recommended control.
Not established
No product or workflow is certified safe by this article.
Sources: NIST — Identity and authority of software agents ↗ · OWASP — Top 10 for Agentic Applications 2026 ↗
Measure the failures too
Check whether the test recovers from ambiguous file names, missing folder access and malicious instructions hidden in documents. Then repeat after a model or connector update. Count attempted unauthorised actions even if permissions blocked them.
The final gate is simple: no write access to real records until the dry run, containment controls and restoration steps are demonstrated to the responsible owner. Passing this exercise does not prove that a product is generally secure.
How to check this claim
Source-linked conceptual explanation; no measured performance implied.
Find source
Open the named primary publication and confirm its actual date.
Check scope
Distinguish laboratory, pilot and operational conditions.
Test failure
Ask what missing data, permissions or errors could change.
Identify owner
A human institution remains responsible for the decision.
Sources: OWASP — Context isolation and least-privilege controls ↗ · OWASP — Agent Control Standard announcement ↗
For file-handling AI, start read-only, require an explicit proposed-change list, then approve reversible actions inside a confined folder.