U.S. National Security Classification Banner

Detects U.S. national-security classification banner and portion markings (per Executive Order 13526 and the Intelligence Community marking system): a classification level — TOP SECRET, SECRET, CONFIDENTIAL — followed by one or more "//"-separated control or dissemination markings (SI, TK, HCS, SCI, SAP, NOFORN, ORCON, REL TO ...), or a parenthetical portion mark such as (S//NF) or (TS//SI). The bare words "secret" and "confidential" are far too common to match alone, so a match requires the "//" control structure or a parenthetical portion mark.

Type
regex
Engine
universal
Confidence
high
Confidence justification
High confidence: the "//" control structure and the parenthetical portion-mark syntax are unique to U.S. classification banners. Requiring the structure prevents the common English words "secret" and "confidential" from triggering matches.
Jurisdictions
us
Regulations
Executive Order 13526, NIST SP 800-53, FISMA
Frameworks
NIST CSF, ISO 27001, SOC 2
Data categories
government, security-classification
Scope
narrow
Risk rating
10
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Unsupported

Pattern

\b(?:TOP\s+SECRET|SECRET|CONFIDENTIAL)//(?:SI|TK|HCS|SCI|SAP|NOFORN|NF|ORCON|OC|REL\s+TO[\sA-Z,]+|FGI|RD|FRD)(?:/(?:SI|TK|HCS|SCI|SAP|NOFORN|NF|ORCON|OC|FGI|RD|FRD))*\b

Corroborative evidence keywords

classification, classified, top secret, secret, confidential, NOFORN, ORCON, REL TO, SCI, sensitive compartmented information, declassify on, derived from, portion marking

Proximity: 300 characters

Should match

Should not match

Known false positives

References