holistic-linting
Pass
Audited by Gen Agent Trust Hub on Mar 29, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
subprocess.runin several scripts (detect_hook_tool.py,lint_orchestrator.py) to execute formatting and linting tools. These implementations are secure as they either validate the tool name against an allowed set or use a hardcoded whitelist (TOOL_COMMANDS) to prevent arbitrary command injection from untrusted project configurations. - [SAFE]: Configuration parsing in
discover_linters.pyusesruamel.yamlwithtyp='safe', which effectively mitigates the risk of arbitrary code execution during the deserialization of project-level.pre-commit-config.yamlfiles. - [SAFE]: The skill includes an extensive referential knowledge base for common Python security (Bandit) and type-checking (MyPy, Ruff) rules. This content is strictly informative and serves to assist the AI agent in resolving legitimate code quality issues.
- [SAFE]: The agent installation script (
install_agents.py) is transparent and includes integrity checks using SHA256 hashing to ensure that agent files are not modified or overwritten without verification.
Audit Metadata