<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Automator",
  "identifier" : "/documentation/Automator/AMError/Code/actionMalwareError",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Automator"
    ],
    "preciseIdentifier" : "c:@E@AMErrorCode@AMActionMalwareError"
  },
  "title" : "AMError.Code.actionMalwareError"
}
-->

# AMError.Code.actionMalwareError

An error that indicates the action has been identified as malware by XProtect.

```
case actionMalwareError
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)