xcode-security-audit
Skill1 starsChanged 16 days agoMITView on GitHub
Audit or harden security-oriented Xcode build settings and capabilities. Use for compiler diagnostics, static analysis, Enhanced Security adoption, or unexplained security-setting exceptions in Apple-platform projects. Excludes certificate and profile management, notarization, ATS, and privacy manifests.
In this repository57 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-loginSkill
- animateSkill
- app-intentsSkill
- app-store-connectSkill
- architectSkill
- arenaSkill
- blast-radiusSkill
- codebase-designSkill
- code-qualitySkill
- correctSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- eli5Skill
- engineering-principlesSkill
- gauntlet-loopSkill
- gh-stackSkill
- goal-swarmSkill
- grillingSkill
- grill-with-docsSkill
- handoffSkill
- howSkill
- improve-codebase-architectureSkill
- ios-hapticsSkill
- koubouSkill
- mergeSkill
- orchestrationSkill
- prototypeSkill
- prSkill
- react-best-practicesSkill
- react-doctorSkill
- reframeSkill
- repo-cleanupSkill
- researchSkill
- retroSkill
- review-fix-loopSkill
- reviewSkill
- review-sweepSkill
- seoSkill
- setup-sreestackSkill
- show-dont-tellSkill
- showroomSkill
- snipsnap-do-choresSkill
- snip-snapSkill
- swift-testing-modernizationSkill
- swiftuiSkill
- tddSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- ui-designSkill
- uikitSkill
- verifySkill
- wayfinderSkill
- web-component-inspirationSkill
- whySkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Set the outcome: Keep repository source unchanged during an audit.
- Distinctive: line 19
Inventory the build graph: Read Inventory and findings.
- Distinctive: line 38
Adopt in compatible batches: Read Adoption and verification.
- Distinctive: line 44
Record durable exceptions: Update an existing security decision record when the repository has one.
- Distinctive: line 53
Keep declared configuration, effective configuration, and the built product separate.
- Very specific: line 65
Use app-store-connect for signing, export, notarization, and distribution.
- Distinctive: line 66
Treat C bounds safety as separate source migration work.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Xcode Security Audit
Inspect the effective configuration before editing its source. Choose the
fastest reliable surface for each step: native Xcode project tools when exposed,
xcodebuild for repeatable inventory and validation, or Xcode through computer
use when its project or capability editor is simpler and safer.
Workflow
- Set the outcome. Keep repository source unchanged during an audit. When the user asks to enable or harden settings, adoption is authorized within the named project and targets. Keep generated project files under their generator's control.
- Inventory the build graph. Read Inventory and findings. Identify the workspace or project, schemes, configurations, targets, product types, platforms, languages, configuration files, entitlements, generators, and binary dependencies. Record the selected Xcode version.
- Capture the effective baseline. Query effective settings for every relevant target and configuration. Before adopting changes, run the project's normal build or use a current equivalent CI result. If the current baseline fails, report that separately from security findings.
- Classify findings. Distinguish:
- an effective protection that is already active;
- a relevant setting that is absent or explicitly disabled;
- a deliberate exception with a recorded rationale;
- a setting unsupported by this Xcode, platform, product, or language;
- an advanced adoption that changes compilation or runtime behavior.
- Report before mutation. Name the affected target and configuration, the effective value, where it is defined, the proposed value, the protection it adds, compatibility risks, and the validation required. For an audit-only request, stop after the report.
- Adopt in compatible batches. Read Adoption and verification. For Enhanced Security, also read Enhanced Security. Change the existing source of truth, preserve conditional settings and inheritance, then build and verify each batch before continuing.
- Record durable exceptions. Update an existing security decision record when the repository has one. Create a concise record only when the work produces decisions future audits cannot infer from configuration. Include the target, configuration scope, decision, rationale, owner if known, and a condition or date for reconsideration.
Invariants
- Effective settings, not raw project-file text, determine the audit result.
- Keep declared configuration, effective configuration, and the built product separate. Each proves a different part of the result.
- Language-specific diagnostics apply only to targets that compile that language.
- Experimental analyzers, bounds-safety modes, hardware memory tagging, and runtime hardening are explicit adoption choices with their own validation.
- A successful build proves configuration compatibility. Exercise affected app workflows on a representative destination when runtime behavior changes.
- Preserve a user-authored
NOor exception until its rationale is understood. Report an undocumented exception as a finding rather than silently removing it.
Use app-store-connect for signing, export, notarization, and distribution.
Treat C bounds safety as separate source migration work. This skill may identify
it as a follow-up, but does not enable it as part of a general settings audit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

