T09 · Insecure Skill Coding Practices
- Location
references/pipeline-playbook.md:6- Finding
Sensitive information is sent to external models before classification
- Content
View full analysis
Vulnerability Details
File Location:
references/pipeline-playbook.md:6-8, 14-23, 65-75
Vulnerability Type: Sensitive-data disclosure caused by late classification
Risk Level: HighEvidence
markdown ## Pipeline SLA - **Time budget**: 24 hours from ingestion to completion - **Failure policy**: If any step cannot complete, flag for manual review, do not skip - **Output format**: Markdown files in `company/data/signals/` - **Model**: Steps 1-7 use free tier (zai/glm-4-flash). Step 8 uses premium for quality inference.markdown Sources: - Department daily reports (`company/departments/*/reports/`) - External feeds (RSS, news, research) - CEO directives and strategy updates - Customer feedback and inquiries - System events (cron failures, errors, anomalies) **Output**: `company/data/signals/raw/ingest_{YYYYMMDD}.md`markdown ## Step 4: ORGANIZE — Categorization **Goal**: Tag and bucket every atom by domain and classification level. Taxonomy:Domain tags: #brand #sales #finance #legal #tech #market #ops #risk Classification: 🔴TS 🟠C 🟡I 🟢P Priority: P0 (urgent) / P1 (important) / P2 (standard) / P3 (background)
text Technical Analysis
The pipeline directs Steps 1 through 7 to use the external
zai/glm-4-flashmodel. However, information classification is not assigned until Step 4. The earlier collection, parsing, and decomposition stages can therefore send unclassified raw content to an external model before determining whether it is Top Secret, Confidential, Internal, or Public.The affected sources explicitly include CEO strategy directives, customer inquiries, departmental reports, and operational incidents. These sources can contain personal, commercial, strategic, or security-sensitive information. A later classification decision cannot revoke data already disclosed to an external service.
This behavior also conflicts with the local-o ...[truncated 1417 chars]
- Remediation
View remediation
Remediation Suggestions
- Add a mandatory local pre-classification stage before ingestion content is sent to any external model.
- Treat unknown, ambiguous, or failed classifications as Top Secret by default.
- Restrict external-model processing to content explicitly classified as eligible for that provider.
- Process Top Secret content exclusively with approved local models and local storage.
- Redact customer identifiers, credentials, internal hostnames, legal details, and strategic data before any permitted external request.
- Enforce classification at every pipeline boundary rather than only during the organization or use stages.
- Maintain a model-provider allowlist that records permitted classification levels, retention terms, geographic restrictions, and contractual controls.
- Add automated tests that submit marked Top Secret documents and verify that no external model or network destination is contacted.
- Record auditable routing decisions without copying sensitive document bodies into general-purpose logs.
