SPB Git

Repository Public

mobsf.json 8.2 KB 214 lines json

1{2  "description": "MobSF (Mobile Security Framework) static analysis of the compiled iOS application. Self-hosted only: the container runs on our own machine with no network at all (--network none); the hosted service is never used.",3  "image": "opensecurity/mobile-security-framework-mobsf",4  "tag": "v4.6.9",5  "digest": "sha256:14646df326970ba21558c3c67e0a4ab9e9d92f7938ecb7b1a780c8cc536e16b0",6  "version": "4.6.9",7  "licence": "GPL-3.0 (tool run as a separate program; nothing of it is linked into QYVORA)",8  "mode": "ssh",9  "modes": {10    "ssh": "docker runs on `host`, reached with `ssh <host>`; the .ipa is copied there with scp and removed afterwards",11    "local": "docker runs on this machine (the Docker daemon must already be running; the audit never starts Docker Desktop)"12  },13  "host": "BHS128",14  "container": "qyvora-mobsf",15  "network": "none",16  "startup_timeout_s": 240,17  "scan_timeout_s": 1800,18  "keep_image": true,19  "remove_container_after_run": true,20  "severity_map": {21    "high": "high",22    "warning": "medium",23    "info": "info",24    "secure": "info",25    "good": "info",26    "hotspot": "info"27  },28  "triage": {29    "macho/rpath": {30      "status": "accepted-risk",31      "severity": "info",32      "justification": "The only runpath is @executable_path/Frameworks, which Xcode adds to every iOS application. It points inside the signed, sandboxed bundle, and the bundle embeds no framework. binary_checks.py verifies both facts on every run."33    },34    "macho/code_signature": {35      "status": "false-positive",36      "severity": "info",37      "justification": "Artefact of the audit build: the archive is built with CODE_SIGNING_ALLOWED=NO on purpose. The distributed build is signed by the release pipeline; binary_checks.py re-checks the signature when given a signed build."38    },39    "macho/encrypted": {40      "status": "false-positive",41      "severity": "info",42      "justification": "cryptid 0 is the state of every binary before the App Store applies FairPlay encryption. Not a property of the code."43    },44    "binary/Binary makes use of insecure API(s)": {45      "status": "accepted-risk",46      "severity": "info",47      "justification": "_fopen, _memcpy and _sscanf are imported by code the Swift compiler and runtime link statically; the repository contains no C, Objective-C or C++ source except the reviewed DIT shim Sources/QyvoraCSupport/dit.c, which calls none of them (sysctlbyname only), and no Swift call to these functions (checked by binary_checks.py: source scan against the reviewed list). Justification text updated on 2026-12-04 when the shim was added for QYV-CRY-004; the disposition itself is unchanged and awaits the owner's re-confirmation."48    },49    "binary/Binary makes use of malloc function": {50      "status": "accepted-risk",51      "severity": "info",52      "justification": "malloc is imported by the Swift runtime support code; the project has no manual allocation in C (its only C file, the reviewed DIT shim Sources/QyvoraCSupport/dit.c, allocates nothing). Memory safety comes from Swift (bounds-checked arrays), not from calloc."53    }54  },55  "binary_checks": {56    "expected_hosts": [57      "amoy.polygonscan.com",58      "api.avax-test.network",59      "api.avax.network",60      "api.bitcore.io",61      "api.coingecko.com",62      "api.devnet.solana.com",63      "api.kraken.com",64      "api.mainnet-beta.solana.com",65      "api.nileex.io",66      "api.routescan.io",67      "api.shasta.trongrid.io",68      "api.testnet.solana.com",69      "api.trongrid.io",70      "arb1.arbitrum.io",71      "arbiscan.io",72      "arbitrum-one-rpc.publicnode.com",73      "arbitrum-sepolia-rpc.publicnode.com",74      "avalanche-c-chain-rpc.publicnode.com",75      "avalanche-fuji-c-chain-rpc.publicnode.com",76      "base-rpc.publicnode.com",77      "base-sepolia-rpc.publicnode.com",78      "base-sepolia.blockscout.com",79      "basescan.org",80      "bch.loping.net",81      "blockbook.bch.zelcore.io",82      "blockbook.doge.zelcore.io",83      "blockbook.ltc.zelcore.io",84      "blockchair.com",85      "blockstream.info",86      "bsc-dataseed.bnbchain.org",87      "bsc-rpc.publicnode.com",88      "bsc-testnet-dataseed.bnbchain.org",89      "bsc-testnet-rpc.publicnode.com",90      "bscscan.com",91      "eth-sepolia.blockscout.com",92      "eth.blockscout.com",93      "eth.drpc.org",94      "ethereum-rpc.publicnode.com",95      "ethereum-sepolia-rpc.publicnode.com",96      "etherscan.io",97      "explorer.optimism.io",98      "explorer.solana.com",99      "git.spboucher.ai",100      "litecoin.atomicwallet.io",101      "litecoinspace.org",102      "mainnet.base.org",103      "mainnet.optimism.io",104      "mempool.space",105      "nile.trongrid.io",106      "nile.tronscan.org",107      "optimism-rpc.publicnode.com",108      "optimism-sepolia-rpc.publicnode.com",109      "optimistic.etherscan.io",110      "polygon-amoy-bor-rpc.publicnode.com",111      "polygon-amoy.drpc.org",112      "polygon-bor-rpc.publicnode.com",113      "polygon.drpc.org",114      "polygonscan.com",115      "qyvora.spboucher.ai",116      "sepolia-optimism.etherscan.io",117      "sepolia-rollup.arbitrum.io",118      "sepolia.arbiscan.io",119      "sepolia.base.org",120      "sepolia.basescan.org",121      "sepolia.etherscan.io",122      "sepolia.gateway.tenderly.co",123      "sepolia.optimism.io",124      "shasta.tronscan.org",125      "snowtrace.io",126      "solana-rpc.publicnode.com",127      "spboucher.ai",128      "tbch4.loping.net",129      "testnet-explorer.optimism.io",130      "testnet.bscscan.com",131      "testnet.snowtrace.io",132      "tron-rpc.publicnode.com",133      "tronscan.org",134      "www.apple.com"135    ],136    "cleartext_allowed": [137      "http://www.apple.com/DTDs/PropertyList-1.0.dtd"138    ],139    "allowed_library_prefixes": [140      "/System/Library/Frameworks/",141      "/usr/lib/libobjc.A.dylib",142      "/usr/lib/libSystem.B.dylib",143      "/usr/lib/swift/"144    ],145    "expected_frameworks": [146      "AVFoundation",147      "Accessibility",148      "Charts",149      "CoreFoundation",150      "CoreGraphics",151      "CoreImage",152      "CoreTransferable",153      "CryptoKit",154      "Foundation",155      "LocalAuthentication",156      "Security",157      "SwiftUI",158      "Symbols",159      "UIKit"160    ],161    "expected_usage_descriptions": [162      "NSCameraUsageDescription",163      "NSFaceIDUsageDescription"164    ],165    "allowed_bundle_files": [166      "Qyvora",167      "Info.plist",168      "PkgInfo",169      "Assets.car",170      "PrivacyInfo.xcprivacy",171      "embedded.mobileprovision",172      "_CodeSignature/CodeResources",173      "AppIcon*.png"174    ],175    "public_test_mnemonics_sha256": {176      "ecb0e7ba498c5920991f0b3483e91f7abafa9ecc6bd82a9a51494589592b1a8f": "BIP-39 reference test vector (\"legal winner … yellow\", Trezor python-mnemonic vectors.json), used as fixed input of the PBKDF2 benchmark in Sources/QyvoraBenchmarks/Catalogue.swift:351. Public constant, never a wallet of this application."177    },178    "reviewed_native_sources": {179      "Sources/QyvoraCSupport/dit.c": "The only C of the engine (added for QYV-CRY-004 / QYV-AUD-003): reads the capability hw.optional.arm.FEAT_DIT with sysctlbyname and reads / writes the PSTATE.DIT flag with one mrs and two msr instructions. No pointer arithmetic, no buffer, no allocation, no string function.",180      "Sources/QyvoraCSupport/include/qycsupport.h": "Header of the same target: four function declarations."181    },182    "banned_imports": [183      "_gets",184      "_strcpy",185      "_strcat",186      "_sprintf",187      "_vsprintf",188      "_system",189      "_popen",190      "_rand",191      "_srand",192      "_random",193      "_srandom",194      "_drand48",195      "_arc4random",196      "_arc4random_buf",197      "_arc4random_uniform",198      "_CC_MD5",199      "_CC_MD4",200      "_CC_MD2",201      "_CC_SHA1",202      "_tmpnam",203      "_mktemp",204      "_dlopen",205      "_ptrace_deny"206    ]207  },208  "notes": [209    "The API key is random, generated for each run and passed to the container in MOBSF_API_KEY; it dies with the container.",210    "With --network none the container has only a loopback interface: no port is published, the REST API is called from inside the container (docker exec), and MobSF cannot reach any external service (update check, App Store lookup, domain reputation and geolocation are therefore skipped: stated in the report).",211    "Only the unsigned .ipa is submitted. No source code is submitted."212  ]213}214
Files main
Menu

Theme