wei18/apple-dev-skills · apple-dev-skills/skills/build-time-secret-injection/SKILL.md

build-time-secret-injection skillF

build-time-secret-injection is agent-read markdown (skill) from wei18/apple-dev-skills: Use when introducing an AdMob production ID (`GADApplicationIdentifier` / `GADBannerUnitID`), ASC API `.p8` key, or any "ships in binary but must stay out of public-repo PR diffs" identifier into an Apple build. Codifies the xcconfig + Info.plist `$()` substitution + `Bundle.main` read pattern, paired with `secrets/.env` for CLI tooling; multi-app `CI_PRODUCT` dispatch + built-bundle smoke-test. Build-time injection mechanism, not the repo-hygiene baseline; for secret-leak prevention (gitleaks, .

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add wei18/apple-dev-skills/build-time-secret-injection@git:20260907.22bb903
Exact content
mdr add wei18/apple-dev-skills/build-time-secret-injection@sha256:47811e23228ae8d0

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5ze22jk75vf6s2nc.svg)](https://markdownregistry.com/a/art_5ze22jk75vf6s2nc)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260907.22bb903 latest2026-09-07 22bb903 11,880 BF view · diff
git:20260907.9f24f992026-09-07 9f24f99 11,506 BF view · diff
git:20260904.f6860662026-09-04 f686066 11,483 BF view · diff
git:20260625.c4efb932026-06-25 c4efb93 11,576 BF view · diff
git:20260625.5602be82026-06-25 5602be8 11,701 BF view

Audit of the latest version

F  15 of 17 checks passed. Deterministic, no model, same answer every run.
  • FAIL, critical: No instruction to send local credentials anywhere (matched: upload task you run (from `secrets/.env)
  • fail: No instruction to read or print local credentials (matched: read pattern, paired with `secrets/.env)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11880 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

wei18/apple-dev-skills · 19 stars · license MIT · pushed 2026-09-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5ze22jk75vf6s2nc
GET https://markdownregistry.com/api/v1/resolve?ref=wei18/apple-dev-skills/build-time-secret-injection
GET https://markdownregistry.com/api/v1/blob/47811e23228ae8d0bdbdfe0a324098f15704fdf02a38f24948ddb2cfb1135b88