Isolate PDF parsers from sensitive services
21 April 2026
A conversion worker can read its assigned test PDF. A separate, authorised probe shows it can also connect to an unrelated test datastore. That second route is a finding even if the worker lacks database credentials. Record the successful connection. Determining whether the worker could read records requires separate evidence.
Map the minimum path for one job
Start with a harmless synthetic PDF and one permitted destination. Trace the dependencies the worker uses to receive the job, read the input, obtain permitted configuration, write output and report status. Include name resolution, telemetry or supporting services only where the deployment requires them. Record the worker identity, destination, operation, protocol and reason for each entry.
Do the same separately for permissions. The worker may need to read a particular input prefix and write to a particular output location. That need does not justify listing neighbouring tenants or using database administration credentials. Least privilege concerns the resources and actions necessary for the task. NIST least-privilege guidance
Remove the unintended path and retest
Use an isolated environment and a reachable, operator-controlled test endpoint to represent the unrelated datastore. Establish that the endpoint is healthy from an authorised control location, then test from the worker’s own execution context. Preserve the original result and the exact rule or dependency that allowed the path.
Remove or narrow the unnecessary permission at the appropriate worker boundary, retaining the documented dependencies. Avoid broad changes to shared network infrastructure. Repeat both the conversion and the connection probe.
| Check from the test worker | Evidence to retain |
|---|---|
| Run the permitted conversion | Expected input read, processed output and permitted status update under the scoped worker identity. |
| Attempt the unrelated connection | Recorded denial at the intended boundary, destination and time. Check the control endpoint is still healthy. |
A timeout could mean the endpoint is down or the probe targeted the wrong address. Correlate the negative result with the relevant policy or boundary logs. A normal conversion alone cannot prove isolation because it may never attempt the disallowed route.
Decide what can run next
Record any route that still succeeds, identify its owner and keep wider processing on hold until the exception is approved or removed. Use the upload threat model and benign upload tests as planning aids. They do not supply observed results for this worker.
Part of the Assess security controls for PDF uploads guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
