{"id":17844374,"url":"https://github.com/nowsecure/node-macho-entitlements","last_synced_at":"2025-06-25T21:36:42.595Z","repository":{"id":142394260,"uuid":"64709019","full_name":"nowsecure/node-macho-entitlements","owner":"nowsecure","description":"NodeJS library to extract the entitlements from MACH-O or FAT-MACH-O binaries","archived":false,"fork":false,"pushed_at":"2016-08-04T13:37:05.000Z","size":3,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-17T15:42:39.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lab.nowsecure.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nowsecure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-01T23:43:43.000Z","updated_at":"2024-07-01T09:52:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"d535062e-5cfb-44d6-9c63-d3319aa895fe","html_url":"https://github.com/nowsecure/node-macho-entitlements","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowsecure%2Fnode-macho-entitlements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowsecure%2Fnode-macho-entitlements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowsecure%2Fnode-macho-entitlements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowsecure%2Fnode-macho-entitlements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nowsecure","download_url":"https://codeload.github.com/nowsecure/node-macho-entitlements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566124,"owners_count":20473436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T21:30:18.762Z","updated_at":"2025-03-20T06:32:15.983Z","avatar_url":"https://github.com/nowsecure.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"macho-entitlements\n==================\n\nNodeJS library to extract the entitlements from MACH-O or FAT-MACH-O binaries\n\nAuthor\n------\n\nSergi Alvarez \u003cpancake@nowsecure.com\u003e\n\nExample\n-------\n\nExample:\n\n```xml\n$ node test.js TestApp\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n\u003cplist version=\"1.0\"\u003e\n  \u003cdict\u003e\n    \u003ckey\u003eapplication-identifier\u003c/key\u003e\n    \u003cstring\u003e7TCWUMRD7U.com.e4bf058462-1-42\u003c/string\u003e\n    \u003ckey\u003ecom.apple.developer.team-identifier\u003c/key\u003e\n    \u003cstring\u003e7TCWUMRD7U\u003c/string\u003e\n    \u003ckey\u003eget-task-allow\u003c/key\u003e\n    \u003cfalse/\u003e\n    \u003ckey\u003ekeychain-access-groups\u003c/key\u003e\n    \u003carray\u003e\n      \u003cstring\u003e7TCWUMRD7U.com.e4bf058462-1-42\u003c/string\u003e\n    \u003c/array\u003e\n  \u003c/dict\u003e\n\u003c/plist\u003e\n```\n\nExample\n-------\n\nThe API exposes the `.parse` and `.parseFile` methods which load a file or a buffer and extract the entitlements of the first binary found inside the fat-mach0 or mach0.\n\n```js\n'use strict';\n\nconst machoEntitlements = require('macho-entitlements');\nconst ent = machoEntitlements.parseFile('/Applications/Twitter.app/Contents/MacOS/Twitter');\nconsole.log(ent.toString());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowsecure%2Fnode-macho-entitlements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowsecure%2Fnode-macho-entitlements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowsecure%2Fnode-macho-entitlements/lists"}