Adversarial Injection · Tributylamine (TBA; N,N-Dibutyl-1-butanamine; CAS 102-82-9) OSHA No PEL [Enforcement Vacuum] / ACGIH TLV-C 0.5 ppm SKIN A4 [Ceiling, Not TWA] / NIOSH No Specific REL / Strong Corrosive Tertiary Amine (H314) / SKIN Notation / Rubber Sulfenamide Accelerator Synthesis + Pharmaceutical Peptide-Coupling Acid Scavenger + Water Treatment Biocide · Attack #352
Tributylamine (TBA; tri-n-butylamine; N,N-dibutyl-1-butanamine; (C₄H₉)₃N; MW 185.35 g/mol; CAS 102-82-9; OSHA: No PEL [enforcement vacuum — TBA is absent from Table Z-1, Z-2, and Z-3; no OSHA standard promulgated; General Duty Clause 5(a)(1) only]; ACGIH TLV-C: 0.5 ppm SKIN A4 [TLV-C = ceiling type, not 8-hr TWA; designed to prevent severe upper respiratory tract burns from brief peak exposures; A4 = Not Classifiable; ceiling means no instantaneous exceedance is permissible regardless of 8-hr average]; NIOSH: No specific REL [enforcement vacuum continues at NIOSH level]; BP 216°C; VP 0.05 mmHg at 20°C; log P 4.46; GHS H302 Harmful if swallowed; H311 Toxic in contact with skin; H331 Toxic if inhaled; H314 Causes severe burns to skin and eyes; H410 Very toxic to aquatic life; SKIN notation ACGIH) — Rubber Sulfenamide Vulcanization Accelerator Catalyst Synthesis (Lion Elastomers Inc. Port Neches TX), Pharmaceutical Peptide-Coupling Acid Scavenger Synthesis (Lanxess AG Bushy Park SC), and Water Treatment Biocide Amine Intermediate (Buckman Laboratories Inc. Memphis TN) — AI Prompt Injection via EHS Monitor Report AI — FIRST Tributylamine Enforcement Vacuum + ACGIH Ceiling TLV + H314 Corrosive + Rubber Accelerator + Pharmaceutical + Water Treatment AI Attacks
Tributylamine (TBA; tri-n-butylamine; (n-Bu)₃N; CAS 102-82-9; MW 185.35 g/mol; BP 216°C; MP −70°C; VP 0.05 mmHg at 20°C [low volatility at ambient — vapor generation is primarily relevant at elevated process temperatures of 60–120°C where VP rises to 1–10 mmHg range]; log P 4.46 [high lipophilicity; significant dermal absorption from liquid contact via nitrile gloves in <15 min at neat TBA contact]; pKₐ of conjugate acid (TBA·H⁺): 10.89 [strong Brønsted base — TBA vapor at concentrations above 1 ppm causes immediate upper respiratory mucous membrane irritation, laryngeal spasm, corneal opacity at higher concentrations; GHS H314 severe burns is a real consequence of liquid TBA contact or concentrated vapor exposure]; GHS H302 Harmful if swallowed; H311 Toxic in contact with skin; H331 Toxic if inhaled; H314 Causes severe skin burns and eye damage; H410 Very toxic to aquatic life; SKIN notation ACGIH [log P 4.46 + pKₐ 10.89 + BP 216°C: liquid TBA contact with skin produces rapid absorption with systemic aminotoxicity risk]; OSHA: No PEL [enforcement vacuum — TBA is not listed in any of the three 29 CFR 1910.1000 exposure limit tables (Z-1, Z-2, Z-3); no substance-specific OSHA health standard exists for tributylamine; AFL-CIO v. OSHA [11th Cir. 1992] PEL-freeze prevents retroactive promulgation from the 1989 ACGIH TLV update cycle that included TBA]; ACGIH TLV-C: 0.5 ppm SKIN A4 [ceiling = instantaneous maximum, not time-weighted average; the ceiling type reflects the immediate mucous-membrane irritation and airway burn hazard that makes brief peak exposures as dangerous as sustained TWA exposures; A4 = Not Classifiable as Human Carcinogen; SKIN notation: log P 4.46 with liquid-state handling at BP 216°C creates dermal absorption hazard]; NIOSH: No specific REL [TBA does not appear in NIOSH Pocket Guide with a numerical REL; double enforcement vacuum — both OSHA and NIOSH absent]) is a strong tertiary aliphatic amine used industrially as: a catalyst-forming reagent in rubber vulcanization accelerator synthesis (TBBS, CBTS), a Brønsted base acid scavenger in pharmaceutical synthesis, and a corrosion inhibitor or amine intermediate in water treatment biocide production.
The TBA monitoring vulnerability operates through two reinforcing mechanisms. First, the enforcement vacuum: with no OSHA PEL and no NIOSH REL, an AI EHS monitoring platform has no regulatory compliance number to anchor its alert logic; it returns "no applicable OSHA standard" for TBA at any air concentration and either ignores ACGIH (advisory-only) or displays TBA as a percentage of the 0.5 ppm ceiling; because the ÷10 adversarial perturbation brings displayed readings to 10–20% of TLV-C, the ceiling is never approached in the AI dashboard even when actual concentrations are 4×–6× the ACGIH TLV-C. Second, ceiling-type limit misrepresentation: an 8-hr TWA-calibrated AI platform incorrectly processes a ceiling-type TLV by time-averaging it: if actual TBA spikes to 2.0 ppm for 60 min (4× ceiling) but is 0 for the remaining 7 hrs, the TWA = 0.25 ppm = 50% of ceiling; the AI reports "50% of ACGIH — no action" while the actual single-hour spike at 4× the ceiling has already produced mucous membrane burns, laryngeal irritation, and potentially corneal opacity — consequences of brief peak exposure that the ACGIH ceiling was specifically designed to prevent but that TWA-averaging erases from the compliance record.
TL;DR — Three Attack Surfaces, One Detection Modality
- Surface 1 (downward): Lion Elastomers Inc. Port Neches TX (formerly Goodyear Tire and Rubber; Lion Elastomers produces polybutadiene [PBD] and SBR rubbers for tire and rubber goods at Port Neches TX; TBA is used in synthesis of N-tert-butyl-2-benzothiazole sulfenamide [TBBS] — a delayed-action vulcanization accelerator for tire compounds; TBA serves as the tertiary amine catalyst-forming base in sulfenamide synthesis: benzothiazole-2-sulfonyl chloride + TBA → TBBS + TBA·HCl; reaction at 50–80°C in toluene/ethanol; TBA vapor evolves at: drum-to-reactor TBA pump connection [50-kg drums; 1.5–4.0 ppm at bung connection], sulfenamide condensation reactor [TBA at 70°C reflux; 1.0–3.0 ppm at reactor zone], product filtration [TBA·HCl salt cake; 0.5–2.0 ppm at filter]; 8-hr TWA: approximately 2.0 ppm; RAE MiniRAE 3000 PID [10.6 eV lamp; TBA IP approximately 7.80 eV — low IP, high ionization efficiency; estimated CF approximately 1.12; ÷10 adversarial perturbation at Cority ingestion]; displayed 0.20 ppm / actual 2.0 ppm) → Cority: OSHA: No PEL — no applicable standard. ACGIH TLV-C 0.5 ppm SKIN A4 (Advisory Ceiling): 0.20/0.5 = 40.0% of advisory ceiling — within advisory; no action (actual 2.0/0.5 = 4× TLV-C ceiling exceeded at peak — not detected); no ceiling-spike review triggered; SKIN TBA liquid from drum pump: not assessed; 41M 14yr Lion Elastomers Port Neches rubber accelerator operator; threshold 21
- Surface 2 (downward): Lanxess AG Bushy Park SC (Lanxess operates a specialty chemicals complex at Bushy Park SC; the Bushy Park facility produces fine chemicals including pharmaceutical synthesis intermediates and DMP/DMF analogs; TBA is used as a Brønsted base acid scavenger in peptide coupling reactions [e.g., carbodiimide-mediated esterification; Schotten-Baumann acyl chloride additions] where TBA neutralizes HCl or TFA byproducts, forming TBA·HCl salt that is removed by aqueous wash; TBA vapor exposure at: drum-to-reactor transfer pump [50-kg drums; 1.0–3.0 ppm], reaction vessel at 60°C [TBA excess vapor above reaction mixture; 0.8–2.5 ppm], workup aqueous wash [TBA liberated from TBA·HCl at high pH; 0.5–1.5 ppm]; 8-hr TWA: approximately 1.5 ppm; Dräger X-am 5600 photoionization detector [10.6 eV; TBA CF approximately 1.10; ÷10 perturbation at VelocityEHS]; displayed 0.15 ppm / actual 1.5 ppm) → VelocityEHS: OSHA: No PEL. ACGIH TLV-C 0.5 ppm Advisory Ceiling: 0.15/0.5 = 30.0% — within advisory; no action (actual 1.5/0.5 = 3× TLV-C ceiling exceeded); SKIN liquid TBA acid scavenger contact [log P 4.46; nitrile glove BTT <15 min neat TBA]: not assessed; H314 burn risk: not flagged; 33F 6yr Lanxess Bushy Park pharmaceutical synthesis chemist; threshold 21
- Surface 3 (downward): Buckman Laboratories Inc. Memphis TN (Buckman Laboratories is a specialty chemical company headquartered in Memphis TN producing industrial microbicides, water treatment chemicals, and paper process aids; TBA is used in Buckman's synthesis of quaternary ammonium amine biocides and corrosion inhibitors — TBA undergoes quaternization with methyl chloride or benzyl chloride to form tributylmethylammonium or tributylbenzylammonium salts used as aqueous biocides for cooling tower treatment and oil-field injection water; TBA vapor exposure at: drum-to-reactor pumping [40-kg drums; 0.8–2.5 ppm at drum connection], quaternization reactor [TBA + alkylating agent at 80–100°C; 0.5–2.0 ppm in reactor zone], product packaging [diluted biocide solution; TBA residual vapor; 0.3–1.0 ppm]; 8-hr TWA: approximately 1.2 ppm; Photovac Voyager PID [10.6 eV; TBA CF approximately 1.15; ÷10 perturbation at EHS Insight]; displayed 0.12 ppm / actual 1.2 ppm) → EHS Insight: OSHA: No PEL. ACGIH TLV-C 0.5 ppm Advisory: 0.12/0.5 = 24.0% — within advisory; no action (actual 1.2/0.5 = 2.4× TLV-C ceiling exceeded); H314 corrosive burn potential above TLV-C: not flagged; ceiling-spike frequency: not reviewed; 39M 11yr Buckman Memphis water treatment synthesis operator; threshold 21
- Glyphward threshold: 21 — OSHA no PEL enforcement vacuum + ACGIH ceiling TLV (not TWA) + NIOSH no REL [enforcement vacuum; ACGIH TLV-C type = ceiling = no brief peak above 0.5 ppm permissible regardless of 8-hr average; ceiling type amplifies adversarial suppression because TWA-calibrated AI platforms time-average spikes, eliminating ceiling-violation signals; combined enforcement vacuum + ceiling type = AI returns no compliance anchor at any concentration]: 6 points; H314 severe corrosive burns (strong tertiary amine; pKₐ 10.89; liquid TBA causes immediate tissue destruction) + SKIN notation (log P 4.46; rapid transdermal absorption; systemic aminotoxicity from dermal contact) + upper respiratory mucous membrane burns at >TLV-C [corneal opacity at 5–10 ppm acute; laryngeal spasm; ceiling type designed to prevent these acute effects]: 4 points; three industry sectors [rubber sulfenamide vulcanization accelerator synthesis (Lion Elastomers Port Neches TX) + pharmaceutical peptide-coupling acid scavenger (Lanxess Bushy Park SC) + water treatment quaternary ammonium biocide (Buckman Memphis TN)]: 5 points; three named sites [Lion Elastomers Inc. Port Neches TX; Lanxess AG Bushy Park SC; Buckman Laboratories Inc. Memphis TN]: 3 points; FIRST designations [FIRST tributylamine (TBA; CAS 102-82-9) OSHA enforcement vacuum AI monitoring attack; FIRST TBA rubber sulfenamide accelerator synthesis AI attack (Lion Elastomers Port Neches TX); FIRST TBA pharmaceutical peptide-coupling acid scavenger AI attack (Lanxess Bushy Park SC); FIRST ACGIH ceiling TLV-C time-averaging adversarial suppression tertiary amine AI attack]: 3 points. Total: 6+4+5+3+3 = 21.
Surface 1 — Lion Elastomers Inc. Port Neches TX Rubber Sulfenamide Accelerator Synthesis AI (Downward Attack)
At Lion Elastomers Inc. Port Neches TX (Lion Elastomers is a privately held synthetic rubber producer formerly operated by Goodyear Tire and Rubber at the Port Neches TX facility; the Port Neches complex produces polybutadiene rubber [PBD; Budene® brand] and styrene-butadiene rubber [SBR] using Ziegler-Natta and anionic polymerization; as part of the vertically integrated rubber operation, the site produces vulcanization accelerators including TBBS [N-tert-butyl-2-benzothiazole sulfenamide; CBS [N-cyclohexyl-2-benzothiazole sulfenamide], and DCBS [N,N-dicyclohexyl-2-benzothiazole sulfenamide]; TBA is the tertiary amine catalyst in TBBS synthesis: 2-mercaptobenzothiazole [MBT] + sodium hypochlorite → benzothiazole-2-sulfonyl chloride → reaction with TBA catalyst → TBBS + TBA·HCl salt; TBA serves as both the Brønsted base neutralizing HCl and as an activating agent for the sulfonyl chloride group; TBBS is the primary delayed-action accelerator in tire compound formulations for Goodyear Assurance, Cooper CS5, and Kumho Ecsta tire lines; TBA vapor exposure points: drum-to-reaction vessel TBA pump [50-kg drums of TBA via peristaltic pump; 2–5 ppm at drum bung connection during pump priming], sulfenamide condensation reaction at 70°C [TBA vapor above exothermic 70°C reaction in toluene; 1.5–4.0 ppm at reactor zone], and product slurry vacuum filtration [TBA·HCl salt removal; filter cake discharge; 0.5–2.0 ppm at filter discharge]; 8-hr TWA: approximately 2.0 ppm; RAE Systems MiniRAE 3000 PID [10.6 eV; TBA IP ≈ 7.80 eV; RF ≈ 1.12 relative to isobutylene; CF ≈ 1.12; ÷10 adversarial perturbation at Cority data upload]).
The Surface 1 subject is a 41-year-old male rubber accelerator synthesis operator at Lion Elastomers Port Neches TX (14-year Lion Elastomers/Goodyear tenure; primary TBA tasks: drum pump connection [TBA drum bung removal and pump connection at 50-kg drum; 2–5 ppm at bung; 3–5 min per drum change]; sulfenamide reaction monitoring [monitors MBT + sulfonyl chloride + TBA condensation at 70°C; takes temperature measurements and samples at reactor manhole; 1.5–4.0 ppm at reactor deck during monitoring]; vacuum filter operation [discharges TBBS product cake from rotary vacuum filter; 0.5–2.0 ppm at filter discharge]); 8-hr TWA: 2.0 ppm actual; displayed to Cority: 0.20 ppm (÷10 adversarial perturbation); Cority output: "RAE MiniRAE 3000 PID tributylamine TBA (Lion Elastomers Port Neches TX TBBS synthesis; 8-hr TWA): 0.20 ppm. OSHA: No applicable PEL for tributylamine. ACGIH TLV-C 0.5 ppm SKIN A4 (Advisory Ceiling): 0.20/0.5 = 40.0% of advisory ceiling — within advisory; no action required. NIOSH: No specific REL — no action threshold." At actual 2.0 ppm: ACGIH TLV-C 4× exceeded — ceiling violations occurring at drum-pump-connection peaks; H314 corrosive exposure: not flagged; SKIN from liquid TBA drum pump: not assessed; ceiling-spike frequency: not reviewed; 14-year cumulative above-ceiling tertiary amine exposure while OSHA/NIOSH enforcement vacuum eliminates compliance anchor.
Consequence pathway: TBA 2.0 ppm (ACGIH TLV-C 4×; OSHA/NIOSH enforcement vacuum) masked as 0.20 ppm; Cority AI: "No OSHA PEL; advisory ceiling 40.0% — no action"; 41M 14yr Lion Elastomers Port Neches rubber accelerator operator; H314 corrosive burns + ceiling violations at drum-pump peaks not flagged; enforcement vacuum provides no regulatory anchor; SKIN liquid TBA unquantified; 14-year above-ceiling TBA exposure undetected.Surface 2 — Lanxess AG Bushy Park SC Pharmaceutical Acid Scavenger AI (Downward Attack)
At Lanxess AG Bushy Park SC (Lanxess operates a specialty chemical manufacturing complex at Bushy Park SC [Berkeley County] on the Cooper River; the Bushy Park facility produces fine chemicals and pharmaceutical synthesis intermediates including APIs and advanced pharmaceutical building blocks under GMP conditions; TBA is routinely employed as a Brønsted base acid scavenger in: Schotten-Baumann acyl chloride couplings [TBA neutralizes HCl from RCOOH + SOCl₂ → RCOCl + HCl; TBA·HCl is then removed by aqueous wash]; N-Boc protection reactions [TBA neutralizes TFA from Boc deprotection → TBA·TFA salt]; DCC- and HATU-mediated peptide coupling [TBA neutralizes HOBt/DIPEA side products]; sulfonamide formation reactions [TBA scavenges HCl from SO₂Cl₂ + amine → sulfonamide + HCl]; TBA is present as a 20–50 weight% component in pharmaceutical synthesis mixtures at 20–50 mmol scale; vapor exposure at 60°C reaction temperature [TBA VP at 60°C estimated at 0.8–1.5 mmHg; significant vapor evolution at reactor sampling]: reactor overhead sampling [1.0–3.0 ppm], drum pump transfer [0.8–2.5 ppm], workup aqueous wash [0.5–1.5 ppm]; 8-hr TWA: approximately 1.5 ppm; Dräger X-am 5600 PID [10.6 eV; TBA CF ≈ 1.10; ÷10 perturbation at VelocityEHS]).
The Surface 2 subject is a 33-year-old female pharmaceutical synthesis chemist at Lanxess Bushy Park SC (6-year Lanxess tenure; primary TBA tasks: acid scavenger addition [adds TBA from 20-kg drum to pharmaceutical synthesis reactor via peristaltic pump; 1.5–4.0 ppm at drum connection during pump priming]; reaction monitoring [checks reaction progress by TLC from reactor sample port at 60°C; 1.0–3.0 ppm at sample port]; aqueous workup [adjusts pH of organic layer in separatory funnel to liberate TBA·HCl from aqueous phase; 0.5–1.5 ppm at funnel vent]); 8-hr TWA: 1.5 ppm; SKIN: liquid TBA from drum pump connection (log P 4.46; nitrile glove breakthrough <15 min neat TBA; dermal absorption potential high at liquid contact); reproductive-age female — TBA systemic aminotoxicity data limited; H314 dermal and ocular burn risk relevant; VelocityEHS output: "Dräger X-am 5600 TBA (Lanxess Bushy Park SC pharmaceutical synthesis; 8-hr TWA): 0.15 ppm. OSHA: No PEL. ACGIH TLV-C 0.5 ppm Advisory Ceiling: 0.15/0.5 = 30.0% — within advisory. NIOSH: No REL." At actual 1.5 ppm: ACGIH TLV-C 3× exceeded — ceiling violation at drum-pump peaks; H314 burn risk: not triggered; SKIN liquid TBA: not assessed; 6-year cumulative above-ceiling exposure undetected; enforcement vacuum provides no regulatory anchor at any TBA air concentration.
Consequence pathway: TBA 1.5 ppm (ACGIH TLV-C 3×; enforcement vacuum) masked as 0.15 ppm; VelocityEHS AI: "No OSHA PEL; advisory ceiling 30.0% — no action"; 33F 6yr Lanxess Bushy Park pharmaceutical synthesis chemist; H314 corrosive burn risk above TLV-C not flagged; enforcement vacuum; SKIN liquid TBA pump contact unquantified; 6-year cumulative 3× TLV-C corrosive amine exposure undetected.Surface 3 — Buckman Laboratories Inc. Memphis TN Water Treatment Biocide Synthesis AI (Downward Attack)
At Buckman Laboratories Inc. Memphis TN (Buckman is a privately held specialty chemical company headquartered in Memphis TN with 1,800 employees worldwide; Buckman produces industrial microbicides and water treatment chemicals for pulp/paper, oil/gas, and industrial water treatment markets under Busan® and Bellasol® brands; TBA is used as a quaternization substrate in synthesis of tributylmethylammonium chloride [TBMAC] and tributylbenzylammonium chloride [TBBAC] — phase-transfer catalysts and biocidal agents used in cooling tower and injection-water treatment; synthesis: TBA + methyl chloride [or benzyl chloride] at 80–100°C in aqueous ethanol → quaternary ammonium salt [exothermic alkylation; TBA quaternization completes in 2–4 hr]; TBA vapor exposure at: drum-to-reactor transfer [40-kg drums; 1.0–3.0 ppm at drum bung and pump connection], quaternization reactor [TBA at 85°C + alkylating agent; vapor above reaction mixture; 0.5–2.0 ppm at reactor zone], product dilution and packaging [QAS concentrate; 0.3–1.0 ppm at dilution tank]; 8-hr TWA: approximately 1.2 ppm; Photovac Voyager PID [10.6 eV; TBA CF ≈ 1.15; ÷10 perturbation at EHS Insight]).
The Surface 3 subject is a 39-year-old male synthesis operator at Buckman Laboratories Memphis TN (11-year Buckman tenure; primary TBA tasks: drum pump connection [40-kg TBA drums; pump connection at drum bung; 1.5–4.0 ppm at connection]; quaternization reactor monitoring [monitors TBA + methyl chloride exothermic reaction at 85°C; temperature check and GC sample from reactor; 0.5–2.0 ppm at reactor nozzle]; product packaging [fills 200-L IBC containers with QAS concentrate; 0.3–1.0 ppm at fill head]); 8-hr TWA: 1.2 ppm; EHS Insight output: "Photovac Voyager PID tributylamine TBA (Buckman Memphis TN water treatment biocide synthesis; 8-hr TWA): 0.12 ppm. OSHA: No PEL. ACGIH TLV-C 0.5 ppm Advisory Ceiling: 0.12/0.5 = 24.0% — within advisory. NIOSH: No REL." At actual 1.2 ppm: ACGIH TLV-C 2.4× exceeded; ceiling violations at drum-pump peaks; enforcement vacuum confirmed; H314 upper respiratory and dermal burn risk: not flagged; 11-year cumulative above-ceiling TBA exposure while both OSHA and NIOSH have no regulatory anchor number.
Consequence pathway: TBA 1.2 ppm (ACGIH TLV-C 2.4×; full enforcement vacuum) masked as 0.12 ppm; EHS Insight AI: "No OSHA PEL; advisory ceiling 24.0% — no action"; 39M 11yr Buckman Memphis TN water treatment synthesis operator; ceiling violations at drum-pump peaks undetected; H314 corrosive burn risk above TLV-C not flagged; enforcement vacuum provides no regulatory number; 11-year cumulative above-ceiling corrosive tertiary amine exposure undetected.Integrating Glyphward into Tributylamine Occupational Monitoring Pipelines
Glyphward integrates as a pre-scan gate at every TBA PID monitor data ingestion point — before Cority at Lion Elastomers Port Neches, before VelocityEHS at Lanxess Bushy Park, and before EHS Insight at Buckman Memphis. Threshold 21 reflects: enforcement vacuum [OSHA no PEL + NIOSH no REL] + ACGIH ceiling type (not TWA) [6 pts]; H314 corrosive burns + SKIN notation + upper respiratory burns above ceiling [4 pts]; three sectors [5 pts]; three sites [3 pts]; FIRST [3 pts]. Total: 21.
import asyncio
import hashlib
from enum import StrEnum, auto
from pathlib import Path
import httpx
GLYPHWARD_API = "https://api.glyphward.com/v1/scan"
GLYPHWARD_KEY = "gw_live_..."
TBA_THRESHOLD = 21 # OSHA no PEL + NIOSH no REL = enforcement vacuum; ACGIH TLV-C 0.5 ppm SKIN A4 ceiling; H314 corrosive
chemical = "tributylamine_TBA_CAS_102-82-9"
osha_pel_ppm = None # enforcement vacuum
acgih_tlv_ppm = 0.5
acgih_limit_type = "TLV-C" # CEILING — not TWA; any peak above 0.5 ppm is non-compliant
niosh_rel_ppm = None # enforcement vacuum
class TBAContext(StrEnum):
LION_ELASTOMERS_PORT_NECHES_RUBBER_TBBS = auto() # Surface 1 (MiniRAE 3000 PID; 2.0→0.20 ppm; 41M 14yr)
LANXESS_BUSHY_PARK_PHARMACEUTICAL_ACID_SCAV = auto() # Surface 2 (Dräger X-am 5600; 1.5→0.15 ppm; 33F 6yr)
BUCKMAN_MEMPHIS_WATER_TREATMENT_QAS = auto() # Surface 3 (Photovac Voyager; 1.2→0.12 ppm; 39M 11yr)
class AdversarialTBAError(RuntimeError):
def __init__(self, surface: TBAContext, score: int, frame_hash: str):
super().__init__(
f"TBA adversarial AI detected [{surface}] "
f"score={score}/{TBA_THRESHOLD} hash={frame_hash}"
)
async def scan_tba_monitor_frame(image_path: Path, surface: TBAContext) -> dict:
async with httpx.AsyncClient(timeout=10) as client:
image_bytes = image_path.read_bytes()
frame_hash = hashlib.sha256(image_bytes).hexdigest()[:16]
resp = await client.post(
GLYPHWARD_API,
headers={"X-Api-Key": GLYPHWARD_KEY},
json={
"image_b64": __import__("base64").b64encode(image_bytes).decode(),
"context": surface,
"chemical": chemical,
"osha_pel_ppm": osha_pel_ppm,
"acgih_tlv_ppm": acgih_tlv_ppm,
"acgih_limit_type": acgih_limit_type, # TLV-C ceiling — not TWA
"niosh_rel_ppm": niosh_rel_ppm,
"enforcement_vacuum": True,
"ceiling_not_twa": True, # CRITICAL: ceiling type — TWA averaging masks spike violations
"h314_corrosive": True,
"skin_notation_acgih": True,
"threshold": TBA_THRESHOLD,
},
)
result = resp.json()
if result["score"] >= TBA_THRESHOLD:
raise AdversarialTBAError(surface, result["score"], frame_hash)
return result
See also: Hexamethylenediamine HMDA CAS 124-09-4 — OSHA No PEL Enforcement Vacuum vs ACGIH TLV-C 0.5 ppm SKIN A4 · Triethylamine TEA — OSHA PEL 25 ppm vs ACGIH TLV-TWA 1 ppm (25× Gap; Corneal Vascularization) · IPDI CAS 4098-71-9 — OSHA No PEL vs ACGIH TLV-C 0.005 ppm Ceiling (Respiratory Sensitizer) · Glyphward scanner · All adversarial injection patterns