logoalt Hacker News

lelandfetoday at 1:17 PM3 repliesview on HN

Just be aware that AI agents will explore alternate means of accessing said files: https://news.ycombinator.com/item?id=48348578


Replies

martylambtoday at 2:24 PM

Yes. I found this quickly after wrapping codex in a launcher that uses bubblewrap to exclude certain files and directories based on a config file at the project root. My best solution so far is to also include instructions for the agent that explain that it is not allowed to see certain files, and that their inaccessibility is not an error, and that it must not attempt to access them through other means (e.g. via git history, etc.).

This has been a major improvement, but it's not foolproof.

cowsandmilktoday at 1:26 PM

If you’re already running codex as a different user to limit its file permissions, why would you add it to the docker group?

show 2 replies
ameliustoday at 1:40 PM

Yes. Any sane IT department would not allow external AI services, only local ones. It is just too easy for your company's data to end up on the wrong servers. If not through faulty file permissions, then through employees who simply post company ideas.

show 2 replies