Index of every page on this site: llms.txt
All skills
sinyu1012 avatar

/ios-hidden-feature-audit

@ad37973
Run it yourself

Audit and remediate hidden, dormant, or undocumented functionality under Apple App Review Guideline 2.5.19. Use for iOS, Flutter, and React Native distribution isolation, internal tools, remote configuration, localized resources, and archive checks.

  • 14 files
  • 59.5 KB
  • Updated last month
  • GitHub
Use this Skill: https://skilld.dev/gh/sinyu1012/ios-hidden-feature-audit/ios-hidden-feature-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈69 tokens for metadata: the name and description. ≈1.7k when used: this file. ≈9.3k more on demand in 10 files.

Description uses 3.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈276 characters, or 3.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Apple App Review 2.5.19: Hidden Feature Audit

Connect each capability to its purpose, compiled artifacts, access paths, side effects, and verification evidence. Preserve production behavior and authorized internal testing. This workflow does not guarantee approval.

Scope and evidence

  • Read project instructions, git status, and build entrypoints. Review the working diff when changes are uncommitted.
  • Respect read-only audits and plan-only requests. Implement when authorized; honor code-only verification without starting builds or devices. This skill does not authorize commits, pushes, uploads, or production configuration changes by itself.
  • Separate the main app, flavors, extensions, Watch targets, shared packages, and Android. Do not generalize one project's exceptions into another project's requirements.
  • Verify policy claims against Apple's current guidelines, record the date, and disclose when live verification is unavailable. Read policy and evidence for interpretation limits.
  • Broad terms such as debug, mock, test, purchase, and entitlement are investigation clues, not a published Apple keyword blacklist. Social posts and rejection timing do not establish Apple's detection methods.
  • Use accurate semantic names. Renaming, encoding strings, or concealing entrypoints does not remedy undocumented functionality. Preserve compatibility when renaming legitimate business concepts.
  • Distinguish compile-time exclusion, runtime denial, and hidden UI. Receipt checks and passwords do not remove code from an artifact.

Audit and decide

  1. Locate the actual distribution pipeline: schemes, configurations, CI, SDK management, export options, and resource processing. Release and TestFlight labels alone do not identify included capabilities.
  2. Search original sources with rg: Swift, Objective-C, Dart, JS, generated protocols, SPM, Pods, local frameworks, JSON/ARB, native strings/xcstrings, templates, and assets. Follow UI/gesture/deep link/route → service → preferences/remote configuration → native channel → resources.
  3. Prioritize purchase/entitlement overrides, simulated data writes, arbitrary execution, remotely replaced functionality, and reviewer-specific behavior. Then inspect developer pages, test login, network settings, deep links, background channels, residual resources, and naming. Classify legitimate business features separately.
  4. Record what is compiled, accessible, and read from historical settings for Debug, internal Release, production candidate via TestFlight, the same candidate via App Store, and Android. Use project templates; mark unknowns explicitly.
  5. Prefer compile-time exclusion for capabilities with no production purpose. Retained diagnostics require a documented purpose, access policy, and truthful review notes. A limited developer page is a project decision, never a default exemption.

For purchase testing, release CI gates, and remote-feature review access, use submission checks. Prefer StoreKit testing over app-level entitlement overrides where it covers the scenario; verify production purchase retention as well as test-code exclusion.

For changes, read the relevant sections of implementation, including native boundaries, startup behavior, and versioned configuration migration.

Verify and report

  • Trace switches through to their actual consumers. Check direct routes, background access, historical preferences, and missing native implementations.
  • Run targeted analysis, existing lint, code generation checks, and diff validation. Validate scanner changes with isolated positive, negative, and malformed fixtures rather than only checking syntax.
  • When builds are authorized, scan the current unencrypted shipping .app, including all Mach-O files, frameworks, extensions, Watch apps, and resources. Old builds, dSYMs, and simulator artifacts are not substitutes.
  • Read artifact scanning before using the read-only helper:
    python3 <skill-dir>/scripts/scan_bundle.py <App.app-or-Archive.xcarchive>
    python3 <skill-dir>/scripts/scan_bundle.py <App.app> --policy <project-policy.json> --profile app-store
    Inventory mode is not a policy pass. Adapt the example policy to project-specific markers; broad keywords are only counted.
  • A release CI gate must use an adapted project policy, block upload on scan failures or errors, and check the current artifact. Inventory-only success is insufficient.
  • Verify production business capability retention, production test-code exclusion, and internal test capability retention separately. For purchases, combine stable, path-scoped artifact evidence with functional purchase/restoration checks; a class-name match alone is insufficient.
  • Regress affected real login, purchases/restoration, networking, and data sync. Include TestFlight-to-store upgrades and missing/null/false/empty settings. Device-specific behavior requires device evidence.
  • Report source findings, executed checks, current artifact evidence, device checks, and policy verification separately. Findings need severity, location, trigger, consequence, and a narrow remedy.
  • Update project rules, capability/naming mappings, scanner policies, test instructions, and review notes. Explain non-obvious entrypoints proactively; a plan to explain them only if asked is not completed disclosure.

Operational lessons

  • Exclusion must cover implementations, registration, generated protocols, and resources—not just visible controls.
  • A production candidate installed through TestFlight cannot regain code that was compiled out. Retained tools remain in the same binary later submitted to the store.
  • Tool-access checks should not add unnecessary waits to normal startup. Network configuration policy is a separate product decision; retained historical proxy or staging settings can affect store upgrades.
  • A restored test-login switch must reach its consumer without bypassing authentication or expanding previously Debug-only behavior.
  • Share in-flight environment queries, but distinguish transient failure from a confirmed denial and allow bounded retry.
  • Versioned configuration migration must preserve old clients, explicit null semantics, caches, and flavor-specific behavior.
  • Resolve the project's actual matching Flutter/Dart toolchain in CI; do not hardcode a developer machine path or silently upgrade SDKs.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ad37973. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month

README badge

README badge for sinyu1012/ios-hidden-feature-audit