You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Configure excluded paths within the projects directories #21
In order to make it more secure there are some files that you might don't want that infer will execute or modify. For example I would not want infer CLI to be able to modify its own configuration. Imagine you allow update tool and infer goes to it's own config and modifies the whitelisted bash commands to something malicious.
In some scenarios for example you also won't wont infer CLI to be able to modify github actions so people would simply add .github to the excluded folders.
Acceptance Criteria
Infer CLI should not be able to modify its own config (default)
Infer CLI have additional list of excluded paths under tools
Activity
edenreich commentedon Aug 12, 2025
@claude can you work on this?
claude commentedon Aug 12, 2025
Claude finished @edenreich's task —— View job •
claude/issue-21-20250812-2103• Create PR ➔✅ Completed: Excluded paths feature
I've successfully implemented the excluded paths feature to enhance security by preventing the infer CLI from modifying sensitive files.
Todo List
✨ What was implemented
Core Changes:
exclude_pathsfield toToolsConfigwith default exclusions for.infer/directoryinfer config tools excludesubcommands for managing excluded pathsNew Commands:
infer config tools exclude list- List all excluded pathsinfer config tools exclude add <path>- Add a path to exclusion listinfer config tools exclude remove <path>- Remove a path from exclusion listSecurity Features:
.infer/and.infer/*to protect configurationTesting Results:
All acceptance criteria from the issue have been met:
feat(security): Add excluded paths configuration for improved security (
chore(release): 0.9.0 [skip ci]
inference-gateway-releaser commentedon Aug 12, 2025
🎉 This issue has been resolved in version 0.9.0 🎉
The release is available on:
v0.9.0Your semantic-release bot 📦🚀