cyberneticlibrary

Audit AdMob SDK isolation

admob-isolation-auditworkflowsetup L20
wei18/Sudoku
What it does

Scan and enforce AdMob SDK isolation invariant across Packages

Best for

Enforcing third-party SDK isolation contracts as a pre-PR check when monetization changes risk breaching encapsulation.

Inputs
  • · repo_root
  • · expected_bridge_file
Outputs
  • · audit_report
  • · violation_list
Requires
  • · ripgrep
  • · git
Preconditions

AdMob bridge file identified; repo structure stable

Failure modes
  • · Bridge file moved
  • · Scan pattern mismatch
  • · False positives on canImport
Trust signals
  • · Two-scan approach (import + canImport)
  • · Violation detection with file paths
  • · Expected bridge validation