Fern Reporting exposes support diagnostics, prepares report jobs and serves account exports. Its handlers must keep credentials private, keep user text out of command syntax and resolve file identifiers inside an ownership boundary. The saved requests mix useful operations with values that try to cross those boundaries.
Use fresh fictional configuration and file records. The command response is a structured invocation plan, and the files table is an identifier map; neither executes a process or opens a filesystem. Those limits remain part of the exercise. Repair the stated contracts rather than claiming to secure an operating system. Keep the operator's trace information, ordinary report names and the owner's export available. This practice uses only the controls taught in the unit.
Read the fixed handler, then apply the same idea to each exercise.