The transaction-file reader does not enforce the declared project-directory-only filesystem scope.
- Category
- Excessive Agency
- Confidence
- 96% confidence
- Finding
The --file argument is passed directly to open(), allowing absolute paths, parent-directory traversal, and symlinks to access files outside the declared project-only scope, subject to the process's filesystem permissions. This is particularly concerning for an AML tool handling sensitive financial records, although the code outputs derived risk results rather than raw file contents, and an independently enforced filesystem sandbox could limit exploitation.
- Content
