Intent-Code Divergence
- Category
- Not specified by scanner
- Confidence
- 95% confidence
- Finding
The document first establishes that PDF extraction and any file writes must go through packaged helper scripts with path-boundary enforcement, then later provides direct code examples that read arbitrary PDF paths and write output files without those safeguards. In an agent-skill context, example code is often copied verbatim, so these snippets can bypass the intended symlink/root containment controls and lead to unauthorized reads or writes if an agent or maintainer follows them instead of the guarded scripts.
- Content
