This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Description
Body:
The FixConfig class creates a temporary file to store FIX configuration. This file is created using Files.createTempFile("fix", ".cfg"). While this creates a temporary file, it doesn't guarantee its security. Specifically, the file may be created with overly permissive permissions, allowing other users on the system to read the file. If the FIX configuration contains sensitive information, such as passwords or API keys (though this shouldn't be the case), this could lead to a security vulnerability.
Recommendation: Use the java.nio.file.attribute.FileAttribute to set appropriate file permissions during temporary file creation. For example, restrict access to only the current user. Alternatively, ensure the environment where this code runs has adequate file system security. The ideal solution is to create temporary files in a dedicated directory with restricted permissions and encrypt sensitive data.