A hijacked agent can only do what its tools allow. Why shell blocklists fail, how allowlists leak, and a test you can add ...
If a Word document opens but you cannot type in it, Word has most likely put it in Protected View or marked it read-only.