shunk031-gh-comment-attach-files
Pass
Audited by Gen Agent Trust Hub on Aug 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/attach_comment_files.pyusessubprocess.runto execute external commands includinggh(GitHub CLI) for resolving issue/PR metadata andnpx @playwright/clifor browser automation. The commands are invoked using argument lists, which prevents shell injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The skill utilizes
npxto download and execute the@playwright/clipackage from the official npm registry. This is a well-known and trusted tool provided by Microsoft for web testing and automation. - [DATA_EXFILTRATION]: The skill creates and maintains a persistent browser profile located at
./.playwright-cli/gh-comment-attach-files/profile. This profile stores session data, such as cookies, to allow the agent to interact with GitHub or GitHub Enterprise Server without needing to re-authenticate for every file upload.
Audit Metadata