Lab workbench · Common Criteria · AI systems
AI Protection Profile workbench
We are building a Common Criteria Protection Profile for products that contain AI. Every definition and requirement comes from an established standard. This wiki holds the method, the module design, the sources, and — later — the PP itself.
01Where we are
0AI modules and packages we write
0existing PPs and packages we reuse
0standards we still need a copy of
✓PP anatomy understood
✓Catalogue v1.0 reviewed
✓Standards version-checked
✓2 products chosen
✓Module set v0.2
◐Protocol + first module (AIM-IN)
All modules drafted
PP-Configuration per product
Full AI PP document
02AIPP architecture
AI is treated as several modules, not one PP. Existing PPs cover the platform and the application; we write only the AI-specific PP-Modules and packages on top of the Application Software PP. Click any block for its details.
Module set v0.203The two target products
Product A · AI OCR
Hezar Persian OCR
Open-source Iranian Persian OCR (Apache-2.0): CRAFT text detector + CRNN recogniser.
Product AProduct B · LLM chatbot
Dorna chat
Part AI's Persian-tuned Llama 3.1 model, deployed as a chatbot with history and optional retrieval.
Product BFaded blocks are modules the product does not trigger.
04Map of this wiki
§1 Foundations
Anatomy of a PP
The justification chain, document layout, modular CC. §2 FoundationsCatalogue v1.0 (input)
The colleague's 45-module catalogue and our review. §3 DesignModule set v0.2
Rules, architecture, every module, traceability. §4 DesignTarget products
Features → modules → TOE boundary, per product. §5 SourcesStandards register
Latest editions, roles, what we still need. §6 MethodPP-Module protocol
12 fixed steps for writing each module. §7 MethodRoadmap
Progress and next steps. §8 LibraryReports
Downloadable long-form PDFs. §A LibraryTerminology
0 terms, searchable.Press / anywhere to search the whole wiki.
05What changed in v0.2
- Decision: AI is modelled as several PP-Modules and packages on the Application Software PP v2.0, not as one PP.
- Scope: narrowed from 13 catalogue products to two Iranian open-source products: Hezar OCR and Dorna chat.
- Modules: the catalogue's 45 modules were reduced to 20 entries (10 that we write), with two additions the catalogue lacked: inference-data lifecycle (AIM-DATA) and AI life-cycle assurance (AIA-LC).
- Standards: every source version-checked. Newer editions found: ISO/IEC 15408:2026 and 18045:2026, ISO/IEC 27090:2026, OWASP LLM Top 10 2026, NIST SP 2400-102 draft.
- Method: a fixed 12-step protocol for writing every PP-Module, with a dossier template and a progress tracker.