iOS readiness, story 2 (static checks). mobsfscan already covers ATS,
Keychain accessibility, weak hashes/ciphers, TLS and web views; this
adds what it does not.
- Own semgrep rules in new packs (rules/cra_semgrep_swift.yaml,
rules/cra_semgrep_objc.yaml, both in RULE_PACKS):
cra-ai-14-swift-secret-in-userdefaults (UserDefaults.standard or a
suite, directly or through a local), cra-ai-14-swift-secret-in-appstorage
(@AppStorage) and cra-ai-14-objc-secret-in-userdefaults (a regex rule:
semgrep has no Objective-C parser). A key or value naming a password,
token, key, credential or session id, never a literal flag or number.
Test cases beside them (semgrep --test: 20/20). Mapped to cra-ai-14;
ids come out bare through #463's bare_rule_id, which a test pins.
- pipeline/ios_config.rs (scanner ios-config, stage 4): every Info.plist
(Apple's DOCTYPE allowed) and the pbxproj INFOPLIST_KEY_* settings,
outside Pods/Carthage/build:
- ios-custom-url-scheme (Low, CWE-939): CFBundleURLTypes schemes;
- ios-sensitive-permission (Info, CWE-250): one per access granted
(location, camera, microphone, contacts, photos, calendars,
Bluetooth, local network, health, motion, speech, tracking);
- ios-permission-without-usage-string (Low): a request in Swift or
Objective-C no usage string covers, at the call; judged only when
the tree holds a plist or Xcode project (not an Expo app.json).
The first two are an inventory, bound to no control: cra-ai-2 and
cra-ai-17 stay not code-checkable.
- Dashboard label "iOS-App-Einstellungen"; docs (scanning, tools).
- Nightly fixture mobile/ios-app-settings (all six findings); the
ios-insecure baseline gains the password Store.swift keeps in
UserDefaults, a true positive mobsfscan missed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
Minimal .NET/C# support for epic #445 (N1-N5): detection of solutions/projects and target frameworks, NuGet SBOM without build or restore (pkg:nuget purls for OSV, unresolved-dependency warning, end-of-support frameworks), own C# semgrep rule pack, .NET configuration and key-file checks, .NET build output and restored packages not counted as own code. Fixture fixtures/dotnet/framework48, docs .NET-Projekte (DE/EN).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Every member of a tenant could use Prüfwerk fully, whatever their org
role: nothing but manual findings checked org_roles. A FINANCE user
could create and delete targets, start scans and triage findings.
Now, as decided on 30.09.2026:
- IT_ADMIN, USER: read and write.
- CXO, LEGAL: read only. GET/HEAD/OPTIONS plus the POSTs that only
read (OSCAL assess, pentest report export, code chat, help chat).
- FINANCE or no role: no access.
- Agent: one middleware (api::role_gate) right after the JWT one
refuses with 403 {"error":"forbidden_role","access":...}. It is
classified by route template, so ids do not matter. Support sessions
(TenantContext.staff) and requests without a tenant context
(platform service API, Werkbank runner and admin APIs, health) are
unchanged. Manual findings stay IT_ADMIN-only.
- Core: ProductAccess and TenantContext::product_access.
- Dashboard: a role without access sees a "no access" page (DE/EN)
with a link back to the portal, and no server function runs for it.
Read-only roles get a read-only note, and write actions (add target,
scan, edit, delete, triage, tokens, MCP servers, pentest control,
graph/embedding builds, notification dismiss) are hidden. The direct
MCP server functions check the role, and access tokens are withheld
from read-only roles.
- MCP server: unchanged. Its tokens are tenant-bound and carry no
roles, its tools only read, and creating a token now needs write
access.
- Docs: the roles table in Getting Started.
- The crates are at version 0.4.4.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
The dashboard, the docs site and the pentest report no longer load
Google Fonts, so no visitor's IP goes to Google (platform/portal#65,
privacy release gate 4).
- Dashboard: Geist and Geist Mono (variable woff2, SIL OFL 1.1) are
embedded and served at /fonts/geist.woff2 and /fonts/geist-mono.woff2;
main.css declares them with @font-face under the same family names.
- Docs: the same woff2 files are bundled by Vite from the theme; the
Google Fonts links in config.mts are gone.
- Pentest report: preconnects and the Google Fonts stylesheet removed;
a system font stack instead, with a test that the report references
no external resource.
- The crates are at version 0.4.3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB