fdt-refactor-mock-to-fake
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides structured instructions for refactoring software tests. It focuses on software engineering principles such as Dependency Injection and the Gateway pattern to replace
unittest.mock.patchwith injectable 'fakes'. - [COMMAND_EXECUTION]: The skill includes instructions to use search tools (like
grep) and test runners (pytest). These are standard, benign developer activities within a coding environment. - [DATA_EXPOSURE_AND_EXFILTRATION]: While the skill mentions environment variables like
ANTHROPIC_API_KEY, it does so in the context of a code example showing how to properly remove or mock them during a test suite usingmonkeypatch.delenv. There is no evidence of exfiltration or unauthorized access to credentials.
Audit Metadata