doc-drift-detector
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The
drift_analyzer.pyanddoc_staleness_scorer.pyscripts utilizesubprocess.runto invoke thegitbinary for repository analysis. These calls use argument lists rather than shell strings, which is a security best practice that prevents shell injection vulnerabilities by ensuring that user-provided paths or dates are not interpreted as shell commands. - [EXTERNAL_DOWNLOADS]: The
link_checker.pyscript contains functionality to validate external URLs usingurllib.request. This behavior is disabled by default and requires the explicit--check-externalflag. When active, it performs standard HTTP HEAD and GET requests for the legitimate purpose of link verification, using a custom User-Agent identifying the tool. - [DYNAMIC_EXECUTION]: The
api_doc_validator.pyscript employs the Pythonastmodule to parse source code. This is performed via static analysis (ast.parsefollowed byast.walk) to extract function and class signatures without executing the target code, posing no runtime execution risk to the host environment. - [DATA_EXPOSURE]: The scripts read local repository metadata such as
package.json,pyproject.toml, and.gitlogs to perform drift calculations. This access is restricted to the target repository directory provided by the user and is consistent with the skill's primary function of documentation and code auditing.
Audit Metadata