mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 06:45:22 +00:00
[GH-ISSUE #4302] [Feature] Interpret Info.plist entry points and capabilities per bundle #1706
Open
opened 2026-10-16 21:09:17 +00:00 by bsakaguchi
·
0 comments
No Branch/Tag specified
main
codex/procedure-reference-stacked
release-please--branches--main--components--rea-agents
release-please--branches--main--components--rea-agents--release-notes
codex/kuna-independent-retry
codex/byte-search-overlay-coverage
codex/open-failure-target-receipt
codex/kuna-xref-evidence
codex/ghidra-ambiguous-procedure-recovery
codex/function-source-bundle
codex/trace-function-integration-prototype
codex/snapshot-source-closure
codex/recorded-evidence-array-pages
codex/evidence-recovery-redesign
codex/trace-feature-address-scope
codex/call-discovery-scope
codex/ghidra-literal-candidate-evidence
codex/decompile-directory-independent-retry
codex/retry-provenance-base
codex/value-flow-capability-experiment
codex/ghidra-containing-instruction
cursor/readme-discord-button-ef9f
dependabot/github_actions/actions/setup-node-7.1.0
dependabot/github_actions/actions/upload-artifact-7.0.2
dependabot/npm_and_yarn/npm-minor-and-patch-d8d97ce6df
codex/kuna-1989
fix/8559-native-ui-fixture-ownership
fix/8555-go-verifier-mcp-ownership
codex/provider-capability-recovery
fix/8642-rizin-target-stdin
codex/ghidra-memory-effect-scope
codex/ghidra-annotation-entry-selector
codex/ghidra-readonly-recovery
codex/ghidra-regex-verifier-recovery
codex/evidence-discovery-view-guidance
fix/8545-bulk-append-overflow
fix/8428-navigation-refusal-alternatives
codex/address-context-recovery
codex/matching-member-limitations
codex/unknown-scope-contract
codex/evidence-view-guidance
feat/8373-native-trace-views
codex/ghidra-snapshot-verifier-binding
codex/elf-export-visibility
codex/evidence-view-recovery
codex/native-reference-cli-help
codex/provider-candidate-observation-scope
codex/kuna-session-verification
codex/ghidra-switch-lifetime-guidance
codex/pseudocode-paging-discovery
codex/clarify-evidence-view-support
codex/kuna-xrefs-selector-recovery
codex/context-capacity-recovery
codex/evidence-closure-large-links
codex/same-function-evidence-identity
codex/ghidra-verifier-inspected-jdk
codex/audit-guided-workflows
codex/crash-prompt-retained-dossiers
codex/analysis-view-error-recovery
codex/kuna-verifier-target-selection
codex/ghidra-selected-project-call-coverage
codex/docs-native-analysis-scope
codex/ghidra-java-socket-boundary
codex/ghidra-retained-snapshot-verifier
codex/ghidra-search-inventory-facts
fix/8284-zero-argument-parameter-bindings
fix/8198-ui-action-handler-offset
fix/8257-elf-entry-label-identity
fix/8304-deferred-output-schema-projection
fix/8277-call-path-computed-target-uncertainty
fix/pr-8089-conflicts
fix/ci-static-duplicate-export
dependabot/npm_and_yarn/lint-staged-17.6.0
dependabot/github_actions/actions/download-artifact-8.0.2
dependabot/npm_and_yarn/write-file-atomic-8.0.0
dependabot/npm_and_yarn/canonicalize-5.1.0
dependabot/github_actions/actions/cache/restore-6.1.0
dependabot/npm_and_yarn/toon-format/toon-4.4.0
dependabot/github_actions/actions/deploy-pages-5.0.1
codex/review-fixes-pr-2403
codex/review-fixes-pr-2400
codex/process-terminal-width
codex/test-brittleness-cleanup
verify/7167-browser-connect-macos
fix/7167-browser-connect
feat/native-matching-allowance-setting
feat/browser-scenario-dry-run
test/managed-caller-parameters-20261024
codex/parser-fortythird-boundaries
fix/6926-pinvoke-platform-decorations-20261023
fix/6889-har-body-encoding-20261023
fix/6888-sqlite-schema-budget-20261023
fix/dependency-security-gates-6708
cursor/evidence-overwrite-rebase-b4ac
feat/4057-verify-native-exports
fix/windows-acl-observer-overhead-20261022
cursor/erlang-beam-restack-4476
cursor/pe-certificate-review-bf32
fix/6116-javascript-application-fs-errors
fix/6061-unmapped-runtime-script-unknown
feat/browser-scenario-summary
fix/pe-certificates
codex/verify-3407
cursor/rebase-5699
cursor/rebase-5352
cursor/rebase-5600
cursor/fix-cli-schema-omission-10a8
codex/audit-hopper-shutdown-reasons-20261021
fix/demangle-swift-omitted-record
fix/nib-boolean-value-types
cursor/cancellation-partial-observation-a5ac
fix/ib-object-limit-reasons
fix/electron-fuse-limit-advice
fix/kuna-doctor-dangling-cache
fix/fixed-budget-refusal-advice
fix/js-ipc-listener-dedup
fix/js-return-member-provenance
fix/dmg-integrity-retry-advice
fix/ida-doctor-readiness
fix/kuna-version-probe-output-drain
fix/legacy-swift-runtime-name-matching
fix/dylib-lazy-load-commands
fix/browser-scenario-startup-cancel
fix/swift-nested-punycode-classification
fix/compare-unselected-scopes
fix/objc-method-budget-coverage
fix/dmg-mounted-root-observations
audit/ci-tests-20261019-round2
release/6.7.0
fix/wabt-cleanup-retry-resolution
fix/electron-fuse-elf-pe-architecture
fix/native-plist-descriptor-ownership
fix/kuna-caller-cleanup-ownership
experiment/atomic-codemode-20261016
review/first-contributor-3776
fix/call-resolution-full-read-cycles
fix/member-mutation-selection-repeat
experiment/atomic-re-tools-20261015
perf/member-mutation-lazy-origins
perf/static-network-mutation-index
fix/hopper-startup-lifecycle
audit/3050-windows-proof-20261015
feat/windows-window-capture-2183
audit/3049-windows-proof-20261015
audit/3735-macos-fixtures-20261015
fix/batch-decompile-null-pseudocode
fix/kuna-inventory-honors-jobs
experiment/browser-codemode-tool-design-20261015
fix/hopper-clean-runtime-argv
codex/review-2049-27f1b367
review-fixes/pr-2787-routing
fix/3360-scoped-this-emitters
fix/3367-replaced-global-effects
fix/3838-compact-any-value-items
test/hopper-download-probe-20261015
codex/windows-runtime-creation-red-green-20261015
codex/windows-readonly-root-red-green-20261015
codex/windows-root-share-red-green-20261015
codex/exp-1685-win-mcp-startup
codex/bug-sweep-20261015
investigate/2190-windows-package-phases
investigate/3543-macos-cli-deadline
perf/3281-reverse-tools-feedback-quality
fix/3406-hopper-doctor-fixture
fix/3341-wrapper-require-test-context
fix/3301-owned-uninstall-fixtures
fix/3164-compiler-input-ownership
fix/pcap-cleanup-stdout-newline-20261014
perf/interface-builder-summary
codex/review-fixes-pr-1977
fix/ghidra-effective-jvm-platform
fix/docs-turkish-rust-link-20261013
fix/main-maintenance-ci-20261010
fix/recover-binary-session-process-effects
codex/review-fixes-pr-2457
codex/ci-required-cancellation-gate
fix/main-format-baseline-20261013
fix/setup-preserve-entry-fields
cursor/restore-main-checks-1ffc
fix/ghidra-bridge-hashmap-import
codex/shared-ci-jadx-json-default-20261013
codex/shared-ci-ghidra-test-groups-20261013
codex/shared-ci-java-fixture-format-20261013
codex/fix-intrinsic-invocation-boundaries
test/release-preflight-reusable-jobs
test/js-parameter-provenance-expectation
fix/linux-hopper-verification-current
test/2419-ghidra-elf-probe-size
followup/pr-1544-native-ida
codex/fold-pr-2230-contribution
docs/readme-responsible-use
fix/issue-2064
fix/issue-2050
fix/issue-2053
fix/issue-1968
fix/issue-1945
experiment/codemode-bridge-20261011
fix/tool-effects-negative-wording-1904-20261012
fix/1842-electron-interop-provenance
feat/recover-javascript-multi-input
refactor/website-i18n-prep
fix/nativeaot-pe-virtual-extent
fix/browser-verifier-ci-hang
fix/pe-resources-input-selection
docs/beginner-friendly-guides
docs/beginner-setup-guide
fix/javascript-analysis-worker-1563
fix/1649-ghidra-duplicate-names
fix/javascript-export-keys-integration-1369
test/maintenance-boundary-contracts-20261011
review/javascript-export-keys-1369
review/process-live-progress-1483
test/javascript-1495-growth-ratio
fix/ci-escape-timing
docs/normalized-terminal-geometry-1450
release/6.3.0
archive/release-6.3.0-pr1381
release/6.2.0
fix/electron-preload-dynamic-override
fix/javascript-self-referential-bundler-edges
release/6.1.0
cursor/grok-client-cherry-pick-0b56
feat/signature-posture
feat/dyld-shared-cache
feat/artifact-integrity-policy
feat/pkg-inventory
release/6.0.0
chore/sync-release-5.0.0
release/5.0.0
cursor/cloud-agent-node-787e
fix/javascript-xhr-open-endpoints
review/pr-711-realpath-fallback-wording
cleanup/replay-confinement
codex/test-suite-performance
codex/issue-foundations
codex/address-open-issues-2026-07-20
agent/javascript-vite-rollup-esbuild-adapters
agent/process-cleanup
agent/triage-integration
agent/unknown-commands-registry
feat/mcp-identity-metadata
morlvps/issue_cleanup
codex/installer-redesign
morl/roadmap-investigation-core
morl/roadmap-investigation-docs
release-please--branches--main--components--rea
rea-agents-6.8.0
rea-agents-6.7.0
rea-agents-6.6.0
experiment/atomic-codemode-wait-runtime-20261016
rea-agents-6.5.0
rea-agents-6.4.0
rea-agents-6.3.0
rea-agents-6.2.0
rea-agents-6.1.0
rea-agents-6.0.0
rea-agents-5.0.0
rea-agents-4.1.0
rea-agents-4.0.1
rea-agents-4.0.0
rea-agents-3.2.1
rea-agents-3.2.0
rea-agents-3.1.0
rea-agents-3.0.0
rea-agents-2.7.0
rea-agents-2.6.0
rea-agents-2.5.1
rea-agents-2.5.0
rea-agents-2.4.0
rea-agents-2.3.0
rea-agents-2.2.0
rea-agents-2.1.0
rea-agents-2.0.0
rea-agents-1.7.0
rea-agents-1.6.0
rea-agents-1.5.0
rea-agents-1.4.0
rea-agents-1.3.0
rea-agents-1.2.0
rea-agents-1.1.0
rea-agents-1.0.0
rea-agents-0.5.0
rea-agents-0.4.0
rea-agents-0.3.0
rea-0.2.1
rea-0.2.0
Labels
Clear labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
Mirrored from GitHub Pull Request
question
roadmap
triage
No labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
question
roadmap
triage
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
morluto/rea#1706
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @coygeek on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/4302
Before submitting
Area
Native analysis or decompilation
Current limitation
For an Apple app and each nested bundle,
inspect_plistshould report the entry points and capabilities that bundle's Info.plist declares, with Apple's documented meaning: URL schemes, queried schemes, document types, type declarations, activity types, Services, background modes and tasks, usage descriptions, the extension point, and the effective App Transport Security (ATS) policy under Apple's precedence rules, including pinned domains. Platform- and device-suffixed variants fold into their base key with qualifiers visible. The raw plistvaluestays unchanged.An analyst needs to know how other software can reach an app and its extensions, which background modes and protected resources it declares, and what network-security policy it configures. REA 6.5.0 (tag
rea-agents-6.5.0, commit3b79af28e80785afce9f5998d8f03289402a1847) does not interpret any of these keys.inspect_plistreturns the plist as raw JSONvalueplus fivebundlestrings (identifier, executable, name, version, short version).project_apple_application_graphlists each bundle'sinfo_plist_path, states that it does not parse plist semantics, and sends agents toinspect_plist"for CFBundleExecutable, identifiers, and declared services", which that tool returns only as raw JSON.Observed with the release build on macOS 27.0.1 (26A434) arm64, Node.js v26.10.0, using a self-built
./fixture/Demo.app(a copy of/bin/lsasContents/MacOS/Demo) whoseContents/Info.plistdeclaresNSAppTransportSecuritywithNSAllowsArbitraryLoads = true,NSAllowsArbitraryLoadsInWebContent = trueand an emptyNSExceptionDomainsentry forexample.com, plusUIBackgroundModes = [audio, teleport]andUISupportedInterfaceOrientations~ipad:The result echoes the ATS dictionary verbatim and reports
limitations: []. Nothing says that Apple ignoresNSAllowsArbitraryLoadson iOS 10 and later and macOS 10.12 and later whenNSAllowsArbitraryLoadsInWebContentis present, or thatexample.comis exempt from the global keys. An agent readingNSAllowsArbitraryLoads: truecan wrongly conclude that ATS is off everywhere.teleportis returned exactly like the documented modeaudio, andUISupportedInterfaceOrientations~ipadappears as an unrelated top-level key. A nested appex's Info.plist can be selected with--relative-path, but itsNSExtensionPointIdentifieris likewise a raw string.Use cases
No response
Desired outcome and success criteria
inspect_plist(CLIinspect-plistand MCP) gains an interpreted section next to the unchangedvalueandbundle. Each result covers one bundle's Info.plist, named bysource_path; to cover the app and every nested bundle, the agent inspects eachinfo_plist_paththatproject_apple_application_graphlists, using the existing path or--relative-pathinput. The graph stays an execution-free inventory projection.Info.plistwith a dictionary root; for any other plist the section says it was not applied and why, so a launchd or preferences plist is never read as Info.plist declarations.value. Each item carries its exact source key path, the Apple key it was read as, and a short documented meaning.CFBundleURLTypes(schemes, name, role),LSApplicationQueriesSchemes,CFBundleDocumentTypes(content types, name, role, document class,LSHandlerRank),UTExportedTypeDeclarationsandUTImportedTypeDeclarations(identifier, conformances, tags; an identifier in both lists notes that the exported declaration takes precedence),NSUserActivityTypes,NSServices(menu item, message, port name, send and return types, key equivalent), and theNSExtensionPointIdentifierofNSExtension.UIBackgroundModes,BGTaskSchedulerPermittedIdentifiers, and eachNS*UsageDescriptionkey with the protected resource it names and the string as written in this file.CFBundleTypeRoleorLSHandlerRankis reported with Apple's documented default (None,Default), marked defaulted rather than declared.CFBundleTypeRole,LSHandlerRank,UIBackgroundModes) are marked documented or outside Apple's documented values; none are dropped. TheNSExtensionPointIdentifierkey page is not exhaustive, so extension points are marked listed or not listed on that page, never invalid. A usage-description-shaped key that Protected resources does not list is reported as such.CFBundleURLSchemesas a string) is reported as malformed with its raw value while the rest of the result succeeds; undocumented subkeys inside a covered entry are reported raw as undocumented.[key name]-[platform]~[device]key whose qualifiers are among Apple's listed values is grouped under its base key, each variant keeping its qualifiers and exact source key, and covered keys are interpreted per variant. REA does not choose which variant applies at run time. A suffix with unlisted qualifiers is not folded and is reported as an unrecognized qualifier.NSAllowsArbitraryLoadsapplies and the other global exceptions are ignored; on iOS 10 or later and macOS 10.12 or later,NSAllowsArbitraryLoadsis ignored (NO) whenNSAllowsArbitraryLoadsForMedia,NSAllowsArbitraryLoadsInWebContentorNSAllowsLocalNetworkingis present. Other global keys are reported with their values.NSExceptionRequiresForwardSecrecyYES,NSExceptionMinimumTLSVersionTLSv1.2), subdomain inclusion, and the statement that global keys do not apply to it, even when its dictionary is empty. EachNSPinnedDomainsentry reports subdomain inclusion and its CA and leafSPKI-SHA256-BASE64values, with the rule that when both are given ATS requires a match in each category.Acceptance criteria
./fixture/Demo.appwithCFBundleURLTypes(schemedemo, roleEditor),LSApplicationQueriesSchemes = [othertool], aCFBundleDocumentTypesentry (rankOwner, roleViewer),NSCameraUsageDescriptionandUIBackgroundModes = [audio, teleport], the section reports each declaration with its meaning, marksaudiodocumented andteleportoutside Apple's documented values, andvalueis identical to the release build's.NSAllowsArbitraryLoadsandNSAllowsArbitraryLoadsInWebContentboth true,example.commapped to an empty dictionary), the section reports global arbitrary loads asNOfor iOS 10 or later and macOS 10.12 or later andYESfor iOS 9.0 and macOS 10.11, names the rule for each, and reportsexample.comas exempt from global keys with forward secrecyYESand minimum TLSTLSv1.2marked defaulted.NSPinnedDomainsentry with one CA and one leafSPKI-SHA256-BASE64value is reported with both values and the match-each-category rule.inspect-plist ./fixture/Demo.app --relative-path Contents/PlugIns/Share.appex/Contents/Info.plistreports extension pointcom.apple.share-servicesas listed on the key page. A second appex declaringcom.apple.networkextension.packet-tunnelis reported as not listed, not invalid. The app's own result does not include either./System/Applications/Stickies.app, the section reports theNSServicesentry with messagemakeStickyFromTextServiceand its send types, reports itsNSExecutablesubkey raw as undocumented, and reports the document type's absentLSHandlerRankasDefault, marked defaulted./System/Applications/Calculator.app,UISupportedInterfaceOrientations~ipadandUISupportedInterfaceOrientations~iphoneare grouped underUISupportedInterfaceOrientationswith device qualifiersipadandiphoneand their exact source keys.NSUserActivityTypes-amiga~toasteris not folded and is reported as an unrecognized qualifier.CFBundleURLSchemesas a string is reported as malformed with the raw value, and the tool still returns success with the rest of the section./tmp/rea-fixture/other.plist(absolute path input) returns the section as not applied, with the reason, and the samevalueas the release build.inspect_plisttool description and its documentation name the section and the key families it covers.Expected interaction with targets
Read existing files or captured data
Target and scope details (optional)
Affected area
inspect_plist(CLIinspect-plistand MCP): its result schema, tool description and documentation.project_apple_application_graphoutput does not change.Non-goals
PrivacyInfo.xcprivacy) and their checks.InfoPlist.stringsor string catalogs..appex,.framework,.xpc) as direct targets; this request uses the existing relative-path selection from the app.value.Verification available so far
I can suggest a sample or manual check
Verification details (optional)
No response
Alternatives considered
project_apple_application_graph: rejected for this request, because the graph projects inventory Evidence (paths and hashes) and documents that it does not parse plist semantics; it would have to start reading plist bytes.inspect_plistalready reads and decodes them.Possible direction
No response
References
Apple documentation (corpus fetched 2026-09-30):
I." https://developer.apple.com/documentation/bundleresources/information-property-list[key name]-[platform]~[device]", where "platformanddeviceare optional qualifiers that restrict the value for the key to the platform or device"; platformsfreebsd hpux iphoneos linux macos solaris tvos visionos watchos windows, devicesappletv applevision applewatch iphone ipad mac. https://developer.apple.com/documentation/bundleresources/managing-your-app-s-information-property-listEditor,Viewer,Shell,QLGenerator,None, defaultNone: https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleurltypes/cfbundletyperole . Defining a custom URL scheme: "URL schemes offer a potential attack vector into your app" and "If multiple apps register the same scheme, the app the system targets is undefined." https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-appLSApplicationQueriesSchemeshas no key page in the corpus; canOpenURL says "you must declare the URL schemes you pass to this method by adding theLSApplicationQueriesSchemeskey to your app’sInfo.plistfile". https://developer.apple.com/documentation/uikit/uiapplication/canopenurl(_:)CFBundleTypeRole: valuesEditor,Viewer,Shell,QLGenerator,None, defaultNone. https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundledocumenttypes/cfbundletyperoleOwner,Default,Alternate,None, defaultDefault. https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundledocumenttypes/lshandlerrankaudiotovoip), https://developer.apple.com/documentation/bundleresources/information-property-list/bgtaskschedulerpermittedidentifiers , and Protected resources for usage descriptions: https://developer.apple.com/documentation/bundleresources/protected-resourcesNOused instead—if any of the following keys are present": NSAllowsArbitraryLoadsForMedia, NSAllowsArbitraryLoadsInWebContent, NSAllowsLocalNetworking. https://developer.apple.com/documentation/bundleresources/information-property-list/nsapptransportsecurity/nsallowsarbitraryloadsYES(https://developer.apple.com/documentation/bundleresources/information-property-list/nsexceptionrequiresforwardsecrecy) andTLSv1.2(https://developer.apple.com/documentation/bundleresources/information-property-list/nsexceptionminimumtlsversion).com.apple.values in 35 rows (com.apple.ctk-tokensappears twice), includingcom.apple.share-services: https://developer.apple.com/documentation/bundleresources/information-property-list/nsextension/nsextensionpointidentifier ; the packet tunnel provider page usescom.apple.networkextension.packet-tunnel, which that list omits: https://developer.apple.com/documentation/networkextension/nepackettunnelproviderREA source at the release tag; main
d52a488changes only default plist path resolution in these files:github.com/morluto/rea@3b79af28e8/src/native/parsers/plist.ts (L252-L266)github.com/morluto/rea@3b79af28e8/src/domain/native/nativeInspection.ts (L162-L175)github.com/morluto/rea@3b79af28e8/src/contracts/native/nativeToolContracts.ts (L111-L117)github.com/morluto/rea@3b79af28e8/src/domain/apple/appleApplication.ts (L448-L449)github.com/morluto/rea@3b79af28e8/docs/apple-application-analysis.md (L3-L8)info_plist_path:github.com/morluto/rea@3b79af28e8/src/domain/apple/appleBundleAnatomy.ts (L21-L43)Related: merged PR #3774 changed how
inspect_plistpicks its default plist; this request adds interpretation and leaves selection alone. Searches for Info.plist URL schemes,CFBundleURLTypes, App Transport Security, usage descriptions,NSExtensionPointIdentifierandinspect_plistsemantics found no existing request.