abusing-shadow-credentials-for-privesc

Warn

Audited by Gen Agent Trust Hub on Aug 3, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The orchestration script scripts/agent.py uses the subprocess module to execute external tools like certipy. It also allows a user-specified path to the pywhisker.py script via the --pywhisker argument, which is then executed. This pattern allows for the execution of arbitrary scripts if the input path is not strictly validated.
  • [EXTERNAL_DOWNLOADS]: The skill instructions and scripts rely on external dependencies downloaded from GitHub repositories (ShutdownRepo/pywhisker and dirkjanm/PKINITtools) and the Python Package Index (certipy-ad). These sources, while recognized in the security community, are external to the skill and are downloaded and executed at runtime.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 3, 2026, 06:01 AM
Security Audit — agent-trust-hub — abusing-shadow-credentials-for-privesc