ThreatGenome Engineer & Network Security Administrator Guide
Architecture, trust boundaries, AI authority, containment, AutoRepair, API validation, cryptography, evidence, performance, and production hardening.
Contents
- Architecture and Trust Boundaries
- Retail Packaging and JSON Exposure Policy
- Boot and Runtime Model
- Secure Level Measurement
- AI Defense Decision Pipeline
- Confidence Engineering
- Sandbox Engineering
- AutoRepair Engineering
- PIC and Exploitation Pressure
- Network and Defensive Telemetry
- Resource Engineering
- API and Input Validation
- Cryptography and Key Handling
- Evidence, Audit, and Time
- Production Hardening Checklist
- Failure Triage
Architecture and Trust Boundaries
ThreatGenome V10 Retail is packaged as a local defensive operations application. The browser is the operator presentation tier. Local PHP endpoints provide bounded application services. PowerShell modules perform host-side defensive collection and approved control work. Storage is local to the extracted application tree unless an administrator deliberately integrates an external system. Treat the browser, local API, PowerShell execution boundary, storage ledger, and administrator approval boundary as separate trust zones.Retail Packaging and JSON Exposure Policy
The retail distribution does not ship standalone.json documents such as build manifests, validation reports, package descriptors, or performance policy files. This reduces casual disclosure of build metadata. The application still uses structured JSON serialization internally between its own local browser and local API endpoints where the existing application contract requires it. Removing the transport format would break the application and would not itself create encryption. Engineers should distinguish file disclosure reduction from cryptographic confidentiality.
Boot and Runtime Model
START_HERE.bat -> local launcher / runtime checks -> local PHP service -> browser CommandCenter -> app.js API calls -> allow-listed local endpoints -> PowerShell defensive modules / local storageRun one launcher instance. Investigate duplicate listeners before killing processes blindly. Confirm the bound interface and port are local as intended. Review launcher output when the browser fails rather than treating a blank page as an intelligence failure.
Secure Level Measurement
The Secure Level is an aggregation surface. Engineers must inspect the underlying control evidence and scoring rules before representing it externally. A score is useful only when controls are deterministic, evidence is current, failure states are explicit, and unverifiable state does not silently become PASS. Treat critical-gate failure separately from aggregate score. A weighted average must never hide failure of a mandatory control.AI Defense Decision Pipeline
OBSERVE -> CORRELATE -> SCORE -> PLAN -> AUTHORIZE -> VERIFYObservation should preserve source and timestamp. Correlation should state which modules contributed evidence. Confidence should be reproducible from declared signals. Planning should produce defensive actions, not unrestricted generated shell. Authorization is a policy boundary. Verification should measure outcome and append evidence. The retail build's intended automatic authority remains bounded to policy-approved Sandbox containment; high-impact actions require separate authorization.
Confidence Engineering
Current AI Defense presentation includes source count, known-bad state, repeat observation, and privileged-target context. Engineers should avoid interpreting a percentage as probability unless the model has been calibrated as such. Version the scoring model, retain feature provenance, test false-positive pressure, and record why a threshold changed. Build replay tests from sanitized incident fixtures.Sandbox Engineering
Containment must preserve chain of events: item identifier, source module, observation time, containment time, reason, operator/policy authority, and disposition. Prefer immutable append-style event records for audit history. Release and deletion are separate transitions. Ensure Sandbox operations cannot be triggered by arbitrary browser text or an unvalidated AI-generated command.AutoRepair Engineering
AutoRepair should operate as a control-state machine: detect gap, build plan, validate prerequisites, stage change, authorize, apply, verify, and roll back on defined failure. Each repair module should declare scope, privilege requirement, idempotency expectations, verification method, rollback method, and evidence output. Do not equate a successful process exit code with successful security remediation.PIC and Exploitation Pressure
Patch prioritization should combine asset relevance, product/version confidence, active exploitation, CISA KEV status, vendor emergency advisory state, exploit maturity, exposure, privilege impact, and compensating controls. Keep vulnerability publication date as context, not a decay function that automatically suppresses old CVEs.Network and Defensive Telemetry
Separate listening state, established connections, remote infrastructure enrichment, and firewall policy state. Collection frequency should be proportional to volatility and operator need. Use one shared scheduler where possible, skip expensive presentation refresh while hidden, cache slow enrichment, and avoid DOM-wide mutation observers for routine status. The UI should consume summarized deltas instead of repainting full datasets.Resource Engineering
Profile CPU, working set, handle count, PHP request latency, PowerShell startup cost, storage writes, and browser scripting time independently. Expensive host collection should run out of the UI path. Cache immutable intelligence. Deduplicate identical observations. Batch writes. Use bounded queues. Apply backpressure when enrichment is slower than collection. A faster visual update is not faster intelligence if the same unchanged dataset is repeatedly reparsed.API and Input Validation
Every local endpoint should enforce method, content type expectations, field allow-lists, size limits, enum validation, path canonicalization, and explicit error behavior. Never pass untrusted browser fields directly into PowerShell command strings. Prefer fixed command mappings and typed parameters. Return minimal operator-safe errors; write detailed diagnostics to protected local logs.Cryptography and Key Handling
Use the Native Crypto Core only through documented wrappers. Engineers should inventory key creation, storage, rotation, recovery, and destruction. Encryption at rest does not protect data after a privileged process decrypts it. Avoid embedding keys in JavaScript, HTML, batch files, or distributable documentation. Protect private keys with OS-backed controls where available and define a recovery process before production deployment.Evidence, Audit, and Time
Use UTC timestamps for durable event records and display local time separately. Preserve event IDs across observe, contain, approve, repair, and verify transitions. Hash evidence packages when exported. Avoid silently rewriting prior audit events. Clock drift, duplicate event IDs, and reordered asynchronous writes should be tested.Production Hardening Checklist
| Area | Engineer verification |
|---|---|
| Binding | Local service exposure is intentional and restricted |
| Privilege | Elevation occurs only for declared operations |
| Input | Allow-lists and typed parameters enforced |
| AI | Authority boundary cannot be bypassed by presentation state |
| Sandbox | Contain/release/delete are distinct audited transitions |
| Repair | Verification and rollback tested |
| Crypto | Keys absent from retail files and browser code |
| Logs | Sensitive details protected; retention defined |
| Updates | Package authenticity and version provenance verified |
| Performance | Collection and UI refresh independently profiled |
Failure Triage
When a workspace is blank, determine whether the failure is presentation, endpoint, module, privilege, storage, or intelligence-source related. Check browser console errors, endpoint response status, local service output, PowerShell module result, and write permissions in that order. Preserve the first failure evidence before repeatedly restarting the product.Operating Principle
See the event. Open the exact workspace. Review the evidence. Understand the authority. Verify the outcome.
