# Beauty label policy v1 — settings and rules. Lists live in policy/lists/*.csv (stamped below). # Verdicts are "PASS / FAIL / NEEDS_REVIEW against policy v1.1.1", never "safe/unsafe". meta: policy_version: 1.1.1 # 1.1.0 (2026-10-26, Stage 5b): rule L-ANNEX-AREA-BAN (body-area bans in column "Other"); # 1.1.1 (2026-10-27): plain CITRIC ACID no longer matches Annex V 59 (policy/annex_name_overrides.csv) name: beauty-label-policy eval_date: 2026-10-25 # rules are evaluated as of this date date_basis: placing_on_market # conservative; alternative: making_available jurisdiction: EU — Regulation (EC) No 1223/2009 (consolidated 2026-05-18); market Germany-first, labels DE/EN/FR profile_mode: universal legal_source_of_truth: reg_1223 sources: [reg_1223, reg_2026_78, reg_2026_909, reg_2023_1545, glossary_2025_1175, cosing, watchlist_omnibus_ix] sources_registry: policy/sources.yaml verdict_wording: "{verdict} against policy v1.1.0" out_of_scope_products: [hair dyes, professional-use products, medicinal/biocidal products] out_of_scope_rules: [claims, microplastics, animal testing, vegan/eco labels] # File integrity of every list the rules reference. Regenerate with: uv run python scripts/stamp_policy_lists.py lists: annex_ii: file: policy/lists/annex_ii.csv sha256: ca0ff2def6c165521432e87e42572c4350d757f756d9098030d3e57586bda0f9 rows: 1762 annex_iii: file: policy/lists/annex_iii.csv sha256: dbf96aa9701202f686b82eac356f4f7bff5c6f8b159ca71a8287a1d7fd9803ff rows: 379 annex_iv: file: policy/lists/annex_iv.csv sha256: 743bf302e16cdfa5626dffa4a2153c0f9c2008ae053e74ec6c36265fe7fc44d5 rows: 154 annex_v: file: policy/lists/annex_v.csv sha256: 887337e54343b0fd42f45083138890198a0dd05c50e1f97ec29713fac2515298 rows: 58 annex_vi: file: policy/lists/annex_vi.csv sha256: c00d08a77e715298a68afa59dbbb40e3032bc28bc32c3404ec86c810aedd2932 rows: 35 fragrance_allergens: file: policy/lists/fragrance_allergens.csv sha256: a19edde2a9a40fa5912746ccf514b417d2a84d65d3f9dbe2ffd4e829804e7f6b rows: 81 glossary: file: policy/lists/glossary.csv sha256: 58487495ac1925b69b7116c5cfb64bcd05d5de3fb69c655153a20a07901372af rows: 30418 synonyms: file: policy/lists/synonyms.csv sha256: a90a8c54c588559daac3016ba5ee64256545192dcc7c9262a78c731ff07a1e96 rows: 329 product_types: definitions_source: Preamble to Annexes II to VI (sources/extracted/text/preamble_annexes_ii_to_vi.txt) uses: [leave_on, rinse_off] body_areas: [face, eye_area, lips, mucous_membrane, hair, body] # tags a product carries; Annex III–VI restrictions are expressed as conjunctions over the same vocabulary tags_vocabulary: [rinse_off, leave_on, hair, hair_dye, oral, eye, lip, face, hand, nail, body, skin, deodorant, fragrance, depilatory, self_tanning, make_up, powder, mucous, foot, sunscreen] categories: face_cream: {use: leave_on, body_area: face, tags: [leave_on, face, skin]} face_serum: {use: leave_on, body_area: face, tags: [leave_on, face, skin]} face_toner: {use: leave_on, body_area: face, tags: [leave_on, face, skin]} face_mask_leave_on: {use: leave_on, body_area: face, tags: [leave_on, face, skin]} face_mask_rinse_off: {use: rinse_off, body_area: face, tags: [rinse_off, face, skin]} face_cleanser: {use: rinse_off, body_area: face, tags: [rinse_off, face, skin]} makeup_remover: {use: rinse_off, body_area: face, tags: [rinse_off, face, eye, skin, make_up]} eye_cream: {use: leave_on, body_area: eye_area, tags: [leave_on, eye, face, skin]} mascara: {use: leave_on, body_area: eye_area, tags: [leave_on, eye, make_up]} eyeliner: {use: leave_on, body_area: eye_area, tags: [leave_on, eye, make_up]} eye_shadow: {use: leave_on, body_area: eye_area, tags: [leave_on, eye, make_up, powder]} eyebrow_product: {use: leave_on, body_area: eye_area, tags: [leave_on, eye, make_up]} foundation: {use: leave_on, body_area: face, tags: [leave_on, face, skin, make_up]} concealer: {use: leave_on, body_area: face, tags: [leave_on, face, skin, make_up]} face_powder: {use: leave_on, body_area: face, tags: [leave_on, face, skin, make_up, powder]} blush_bronzer: {use: leave_on, body_area: face, tags: [leave_on, face, skin, make_up, powder]} lipstick: {use: leave_on, body_area: lips, tags: [leave_on, lip, make_up]} lip_balm: {use: leave_on, body_area: lips, tags: [leave_on, lip]} lip_gloss: {use: leave_on, body_area: lips, tags: [leave_on, lip, make_up]} sunscreen_face: {use: leave_on, body_area: face, tags: [leave_on, face, skin, sunscreen]} sunscreen_body: {use: leave_on, body_area: body, tags: [leave_on, body, skin, sunscreen]} self_tanner: {use: leave_on, body_area: body, tags: [leave_on, body, face, skin, self_tanning]} body_lotion: {use: leave_on, body_area: body, tags: [leave_on, body, skin]} body_oil: {use: leave_on, body_area: body, tags: [leave_on, body, skin]} hand_cream: {use: leave_on, body_area: body, tags: [leave_on, hand, body, skin]} foot_cream: {use: leave_on, body_area: body, tags: [leave_on, foot, body, skin]} deodorant_roll_on: {use: leave_on, body_area: body, tags: [leave_on, body, skin, deodorant]} deodorant_spray: {use: leave_on, body_area: body, tags: [leave_on, body, skin, deodorant]} deodorant_stick: {use: leave_on, body_area: body, tags: [leave_on, body, skin, deodorant]} perfume: {use: leave_on, body_area: body, tags: [leave_on, body, skin, fragrance]} shower_gel: {use: rinse_off, body_area: body, tags: [rinse_off, body, skin]} bar_soap: {use: rinse_off, body_area: body, tags: [rinse_off, body, hand, skin]} hand_wash: {use: rinse_off, body_area: body, tags: [rinse_off, hand, body, skin]} body_scrub: {use: rinse_off, body_area: body, tags: [rinse_off, body, skin]} bath_product: {use: rinse_off, body_area: body, tags: [rinse_off, body, skin]} intimate_wash: {use: rinse_off, body_area: mucous_membrane, tags: [rinse_off, mucous, skin]} shaving_product: {use: rinse_off, body_area: body, tags: [rinse_off, face, body, skin]} aftershave: {use: leave_on, body_area: face, tags: [leave_on, face, skin, fragrance]} depilatory: {use: rinse_off, body_area: body, tags: [rinse_off, body, skin, depilatory]} shampoo: {use: rinse_off, body_area: hair, tags: [rinse_off, hair]} conditioner_rinse_off: {use: rinse_off, body_area: hair, tags: [rinse_off, hair]} hair_mask_rinse_off: {use: rinse_off, body_area: hair, tags: [rinse_off, hair]} conditioner_leave_in: {use: leave_on, body_area: hair, tags: [leave_on, hair]} hair_styling: {use: leave_on, body_area: hair, tags: [leave_on, hair]} hair_oil_serum: {use: leave_on, body_area: hair, tags: [leave_on, hair]} hair_dye: {use: rinse_off, body_area: hair, tags: [rinse_off, hair, hair_dye], out_of_scope: true} toothpaste: {use: rinse_off, body_area: mucous_membrane, tags: [rinse_off, oral, mucous]} mouthwash: {use: rinse_off, body_area: mucous_membrane, tags: [rinse_off, oral, mucous]} nail_polish: {use: leave_on, body_area: body, tags: [leave_on, nail]} nail_care: {use: leave_on, body_area: body, tags: [leave_on, nail]} baby_care_leave_on: {use: leave_on, body_area: body, tags: [leave_on, body, skin]} baby_wash: {use: rinse_off, body_area: body, tags: [rinse_off, body, hair, skin]} wet_wipes: {use: leave_on, body_area: body, tags: [leave_on, body, face, skin]} normalization: canonical_names: glossary (lists/glossary.csv, Implementing Decision (EU) 2025/1175), compared uppercase steps: - uppercase; collapse whitespace; strip surrounding punctuation; normalise typographic quotes/dashes - split the list on commas, semicolons, middle dots and line breaks; keep label order - dual-language forms "AQUA/WATER", "PARFUM (FRAGRANCE)" → the part that is a glossary name (else synonyms) - nano markers "(nano)" / "[nano]" / "NANO" suffix → stripped from the name and recorded in nano[] - CI numbers — "CI 77891", "C.I. 77891", "CI77891", "CI-77891" and a bare "77891" in CI context all become "CI 77891" - may-contain blocks — everything after "MAY CONTAIN", "+/-", "±", "KANN ENTHALTEN", "PEUT CONTENIR", "PUÒ CONTENERE", "PUEDE CONTENER" goes to may_contain[] (still checked against Annex II and Annex IV) - parfum/aroma — PARFUM, FRAGRANCE → PARFUM; AROMA, FLAVOR, FLAVOUR → AROMA; allergens printed after it stay separate ingredients - hyphenated line breaks — join "PHENOXY-\nETHANOL" to "PHENOXYETHANOL" when the joined form is a glossary name, otherwise keep the hyphen - OCR confusions tried only after an exact miss, one substitution class at a time (0/O, 1/l/I, 5/S, 8/B, 2/Z, rn/m); a candidate is accepted only if it yields exactly one glossary name - synonyms (lists/synonyms.csv) — trade names, abbreviations, label variants, CI equivalents → canonical - (1.1.0) HTML entities in source texts are decoded ("""); a backslash between names reads as "/"; a spaced hyphen "COCO - GLUCOSIDE" is joined when the joined form is a glossary name; a glued name "SODIUMBENZOATE" maps to the one glossary name equal to it without spaces (no match when two glossary names collide); HYDROLYSED -> HYDROLYZED like SULPHATE -> SULFATE. Curated synonyms gained 132 translations, common names and misspellings taken from the most frequent unresolved OBF names (policy/synonyms_curated.csv, Stage 5b) - anything still unresolved → unknown_ingredient (defaults) cosing_role: secondary — CosIng INCI names for Annex II chemical names are used for matching only where the CosIng row's CAS agrees with the legal text (annex_ii.csv column cosing_crosscheck == cas_match) or no CAS exists to compare rules: # type: banned (presence -> FAIL) | restricted (product-type scope -> FAIL, NEEDS_REVIEW when the category is unknown) # | flag (INFO warning, never changes the verdict) | review (NEEDS_REVIEW). Evaluated by src/beauty_pipeline/core/rules.py. # ---------------- legal layer (Regulation (EC) No 1223/2009 as consolidated 2026-05-18) - id: L-ANNEX-II-PRESENCE type: banned layer: legal match: {list: annex_ii, rows: "status == active and match_mode == exact and also_permitted_in == ''", by: [inci_names_cosing, cas], in: [ingredients_canonical, may_contain]} condition: substance identified on the label (ingredient list or may-contain block) by a name that denotes exactly that substance verdict: FAIL reason: "Annex II prohibited substance present" applies_from: {placing_on_market: "row.applies_from_placing_on_market or always", making_available: "row.applies_from_making_available or always"} enforcement: enforce only if applies_from[date_basis] is empty or <= eval_date; otherwise rule L-ANNEX-II-FUTURE applies source_ref: "reg_1223 Annex II, entry {ref}" notes: >- match_mode is derived in scripts/build_lists.py: exact = single defined substance; nano_only = the entry bans only the nano form (FAIL only when the label carries the nano marker, rule L-ANNEX-II-NANO); group_example = group, exception or impurity-style entries ("and its salts", "except", "e.g.", extracts, oils) whose CosIng example names do not prove presence (INFO, rule L-ANNEX-II-GROUP). Rows listed in policy/annex_ii_match_overrides.csv carry a documented override. Names that are at the same time an active Annex III–VI glossary name (also_permitted_in) are not failed on the Annex II name alone (INFO). - id: L-ANNEX-II-NANO type: banned layer: legal match: {list: annex_ii, rows: "status == active and match_mode == nano_only", by: [inci_names_cosing], in: [nano]} condition: substance identified on the label with the "(nano)" marker and the Annex II entry bans that nano form verdict: FAIL reason: "Annex II prohibited nano form present" source_ref: "reg_1223 Annex II, entry {ref}" - id: L-ANNEX-II-GROUP type: flag layer: legal match: {list: annex_ii, rows: "status == active and (match_mode == group_example or also_permitted_in != '')", by: [inci_names_cosing], in: [ingredients_canonical, may_contain]} condition: a label name is a CosIng example for a group/exception-style Annex II entry, or is also a permitted Annex III–VI substance (different salt/form) verdict: INFO reason: "name related to Annex II entry {ref}; presence of the prohibited substance not decidable from label" source_ref: "reg_1223 Annex II, entry {ref}" - id: L-ANNEX-II-FUTURE type: flag layer: legal match: {list: annex_ii, rows: "applies_from_placing_on_market > eval_date", by: [inci_names_cosing], in: [ingredients_canonical, may_contain]} condition: substance identified on the label but its prohibition starts after eval_date (e.g. entry 1767 Triphenyl Phosphate, 2027-01-01) verdict: INFO reason: "Annex II prohibition applies from {applies_from_placing_on_market}" source_ref: "reg_1223 Annex II, entry {ref}" - id: L-ANNEX-III-SCOPE type: restricted layer: legal match: {list: annex_iii, rows: "status == active and decidability == decidable_from_label", by: [glossary_names, inci_names_cosing], skip_if_listed_in: [annex_iv, annex_v, annex_vi]} condition: substance present and the product's tags satisfy none of allowed_uses (each a '+'-joined conjunction) or satisfy a forbidden_uses conjunction verdict: FAIL reason: "Annex III substance used outside its permitted product types ({product_type_body_parts})" applies_from: {placing_on_market: "row.applies_from_placing_on_market or always"} enforcement: enforce only if applies_from[date_basis] is empty or <= eval_date; otherwise INFO source_ref: "reg_1223 Annex III, entry {ref}" - id: L-ANNEX-IV-SCOPE type: restricted layer: legal match: {list: annex_iv, rows: "status == active and decidability == decidable_from_label", by: [glossary_names], in: [ingredients_canonical, may_contain]} condition: colourant present (incl. may-contain block) and product tags violate allowed_uses/forbidden_uses (rinse-off only, not for eye products, not for mucous membranes) verdict: FAIL reason: "Annex IV colourant not permitted for this product type ({product_type_body_parts})" source_ref: "reg_1223 Annex IV, entry {ref}" - id: L-ANNEX-IV-UNLISTED-CI type: review layer: legal match: {pattern: "CI \\d{5}", not_in_list: "annex_iv|annex_iii", in: [ingredients_canonical, may_contain]} condition: a CI number on the label is not an Annex IV entry (hair-colourant CI numbers appear in Annex III and are handled by L-ANNEX-III-SCOPE, not flagged here) verdict: NEEDS_REVIEW reason: "CI number not found in Annex IV" source_ref: "reg_1223 Article 14(1)(c), Annex IV" - id: L-ANNEX-V-SCOPE type: restricted layer: legal match: {list: annex_v, rows: "status == active and decidability == decidable_from_label", by: [glossary_names, inci_names_cosing]} condition: preservative present and product tags violate allowed_uses (e.g. METHYLISOTHIAZOLINONE or the MCI/MI mixture in a leave-on product) verdict: FAIL reason: "Annex V preservative not permitted for this product type ({product_type_body_parts})" source_ref: "reg_1223 Annex V, entry {ref}" - id: L-ANNEX-VI-SCOPE type: restricted layer: legal match: {list: annex_vi, rows: "status == active and decidability == decidable_from_label", by: [glossary_names, inci_names_cosing]} condition: UV filter present and product tags violate allowed_uses verdict: FAIL reason: "Annex VI UV filter not permitted for this product type ({product_type_body_parts})" applies_from: {placing_on_market: "row.applies_from_placing_on_market or always"} source_ref: "reg_1223 Annex VI, entry {ref}" - id: L-ANNEX-AREA-BAN type: restricted layer: legal match: {list: "annex_iii|annex_iv|annex_v|annex_vi", rows: "status == active and area_bans != ''", by: [glossary_names, inci_names_cosing], scope_column: area_bans} condition: >- substance present and the entry's column "Other" says "Not to be used in eye / oral / lip products / products applied on mucous membranes" for an area the product's tags carry (eye, oral, lip, mucous). Holds whatever the entry's other conditions are (concentration, purity, warnings stay INFO). Derived in scripts/build_lists.py (area_bans); sub-item bans count only when no other sub-item can describe that area (Annex V 58(b) -> lip). verdict: FAIL reason: "not to be used in products for this body area ({areas})" source_ref: "reg_1223 {refs} (column 'Other'); Preamble to Annexes II to VI (definitions of eye, oral, lip products and products applied on mucous membranes)" notes: >- Added in policy 1.1.0 after a Stage 5b audit: 9 entries (Annex III 98, 297; Annex V 3, 7, 49, 52, 56, 58, 59) carried such bans only in column "Other", where the scope rules above did not read them (e.g. Salicylic Acid in oral products, Ethoxydiglycol in eye products, Silver Chloride in eye and lip products). When a name has several entries and only some ban the area, the verdict is NEEDS_REVIEW. - id: L-NANO-UNLISTED type: review layer: legal match: {in: [nano], not_in_lists: [annex_iii, annex_iv, annex_v, annex_vi], not_in: "rows of those lists whose glossary_names contain '(NANO)' or chemical name mentions nano; Annex II nano_only entries are L-ANNEX-II-NANO"} condition: an ingredient is labelled "(nano)" but no Annex III–VI entry covers that nano form (Preamble to Annexes II–VI — "Substances listed in Annexes III to VI do not cover nanomaterials, except where specifically mentioned") verdict: NEEDS_REVIEW reason: "nano form not covered by an annex entry" source_ref: "reg_1223 Preamble to Annexes II to VI; Article 16" - id: L-ANNEX-III-VI-NOT-DECIDABLE type: flag layer: legal match: {list: "annex_iii|annex_iv|annex_v|annex_vi", rows: "status == active and decidability == not_decidable", by: [glossary_names, inci_names_cosing], in: [ingredients_canonical, may_contain]} condition: restricted substance present whose condition is a concentration limit, purity, warning or age restriction (not decidable from the label) verdict: INFO reason: "restricted substance present; condition not decidable from label (defaults.concentration_unknown)" source_ref: "reg_1223 Annex {annex}, entry {ref}" # ---------------- platform layer (stricter than the law). Approved at checkpoint B (2026-10-26) from policy/platform_candidates.md. - id: P-ISOTHIAZOLINONE type: banned layer: platform match: {names: [METHYLISOTHIAZOLINONE, METHYLCHLOROISOTHIAZOLINONE, "METHYLCHLOROISOTHIAZOLINONE (AND) METHYLISOTHIAZOLINONE", BENZISOTHIAZOLINONE, OCTYLISOTHIAZOLINONE, DICHLOROOCTYLISOTHIAZOLINONE], in: [ingredients_canonical]} condition: any isothiazolinone present, in any product type (the law allows MI and MCI/MI in rinse-off products at 0.0015 %) verdict: FAIL reason: "platform rule: isothiazolinone preservative present" evidence: "SCCS/1521/13 and SCCS/1557/15 (Methylisothiazolinone); Annex V entries 39 and 57; Regulations (EU) 2016/1198 and 2017/1224 recitals" source_ref: "policy/platform_candidates.md §3" - id: P-FORMALDEHYDE-RELEASER type: banned layer: platform match: {names: [DMDM HYDANTOIN, IMIDAZOLIDINYL UREA, DIAZOLIDINYL UREA, SODIUM HYDROXYMETHYLGLYCINATE, "2-BROMO-2-NITROPROPANE-1,3-DIOL", BENZYLHEMIFORMAL, "5-BROMO-5-NITRO-1,3-DIOXANE", METHENAMINE], in: [ingredients_canonical]} condition: a formaldehyde-releasing Annex V preservative is present (formaldehyde and Quaternium-15 are Annex II and already legal FAILs) verdict: FAIL reason: "platform rule: formaldehyde-releasing preservative present" evidence: "Annex V Preamble point 2 as amended by Regulation (EU) 2022/1181 ('releases formaldehyde' warning above 0,001 %); SCCS/1632/21; Annex V entries 20, 21, 27, 30, 33, 46, 51, 55" source_ref: "policy/platform_candidates.md §4" - id: P-ADOPTED-NOT-YET-APPLICABLE type: banned layer: platform match: {list: annex_ii, rows: "status == active and match_mode == exact and applies_from_placing_on_market > eval_date", by: [inci_names_cosing], in: [ingredients_canonical, may_contain]} condition: an Annex II prohibition that is adopted and in force but applies only after eval_date (today entry 1767 Triphenyl Phosphate, 2027-01-01) is enforced early verdict: FAIL reason: "platform rule: substance prohibited from {applies_from_placing_on_market} (Regulation adopted)" evidence: "Regulation (EU) 2026/909 (adopted 27 April 2026, in force 18 May 2026) and SCCS/1664/24" source_ref: "policy/platform_candidates.md §5" - id: P-ALLERGENS-INFO type: flag layer: platform match: {list: fragrance_allergens, by: [glossary_names], in: [ingredients_canonical]} condition: one or more 2023/1545 fragrance allergens are declared verdict: INFO reason: "declared fragrance allergens: {matched_names}" source_ref: "policy/platform_candidates.md §1" - id: P-PARFUM-INFO type: flag layer: platform match: {names: [PARFUM, AROMA], in: [ingredients_canonical]} condition: an undisclosed fragrance or flavour composition is declared verdict: INFO reason: "contains undisclosed fragrance/flavour composition (parfum/aroma)" source_ref: "policy/platform_candidates.md §2" defaults: concentration_unknown: assume_compliant # labels show no percentages unknown_ingredient: NEEDS_REVIEW # name not resolvable to a glossary name or synonym unreadable_label: NEEDS_REVIEW pending_acts: ignored # watchlist (Omnibus IX) is never enforced verdict_basis: label_only verdict_precedence: [FAIL, NEEDS_REVIEW, PASS] # INFO never changes the verdict; it is listed with reasons out_of_scope_product: NEEDS_REVIEW # hair dyes, professional-use, medicinal/biocidal products are not evaluated notes: - Label-only limits — allergens below the 2023/1545 thresholds are not printed, so their absence from a label proves nothing. - Labels of products placed on the market before 31 July 2026 may lawfully omit the 56 newer allergens (2023/1545 Article 2); a missing allergen name is therefore never a FAIL. - Annex III–VI concentration limits, purity criteria, pH limits, warnings and age restrictions cannot be checked from a label; they produce INFO only (defaults.concentration_unknown). - Entries whose new conditions apply after eval_date (2026/909 — 1 Jan 2027 placing / 1 Jul 2028 making available) produce INFO. - may-contain (+/-) colourants are evaluated like declared ingredients for Annex II and Annex IV presence rules. - Hair dye substances (Annex III "hair dye substance in ... hair dye products") are enforced only as scope violations in non-hair-dye products; hair dye products themselves are out of scope in v1. - CosIng is a convenience copy; where it disagrees with the consolidated text (e.g. Annex II 1669, Annex III 15d/233/268) the legal text wins.