Atlantiraptor Docs

MacOS.System.Packages

Type: Client

Parses system_profiler output to enumerate installed macOS applications with metadata.

Implied permissions: EXECVE

Parameters

Name Type Default Description
Length int 100000000 Size (in bytes) of output that will be returned

Source

Defined in artifacts/definitions/MacOS/System/Packages.yaml.

name: MacOS.System.Packages
description: |
  Parses `system_profiler` output to enumerate installed macOS
  applications with metadata.

parameters:
  - name: Length
    description: Size (in bytes) of output that will be returned
    type: int
    default: "100000000"

implied_permissions:
  - EXECVE

sources:
  - precondition: |
      SELECT OS From info() where OS = 'darwin'
    query: |
        LET packages = SELECT parse_json(data=Stdout) AS Json
          FROM execve(argv=[
            "system_profiler", "-json", "SPApplicationsDataType"
          ], length=Length)

        SELECT  _name AS Name,
                get(field="version") AS Version,
                path AS Path,
                lastModified AS LastModified,
                obtained_from AS ObtainedFrom,
                get(field="signed_by") AS SignedBy,
                arch_kind AS _Architecture
        FROM foreach(
           row=packages[0].Json.SPApplicationsDataType)

Edit this page on GitHub

© 2026 Atlant Security EOOD. Atlantiraptor is free software under the GNU Affero General Public License v3. It is based on Velociraptor by Velocidex, and keeps its copyright notices. Velociraptor is a trademark of its owner; Atlantiraptor is not affiliated with or endorsed by it.