debug-duckstation
Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
assets/examples/verify.shscript downloads DuckStation release binaries directly from the official project repository on GitHub. The download process includes a mandatory SHA-256 integrity check using a hardcoded hash to ensure the downloaded asset has not been tampered with. - [COMMAND_EXECUTION]: The skill uses shell commands and debugging utilities like
lldbto launch and inspect the DuckStation process. This functionality is restricted to the isolated portable copy created by the skill, protecting the user's primary application data and settings. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data in the form of
.iniconfiguration files and.chtcheat files. To mitigate risks associated with malformed or malicious inputs, thescripts/check_formats.pytool validates all keys and values against a strict whitelist of known-good settings for the specific release version. - Ingestion points:
scripts/check_formats.py(reads user-suppliedsettings.ini,.chtfiles, and texture names). - Boundary markers: Uses
portable.txtto isolate the user directory and temporary scratch folders for all diagnostic runs. - Capability inventory: Uses
subprocess.run(in test scripts) and shell execution to launch the emulator binary. - Sanitization: Implements strict key-name validation against a bundled reference list and regex-based format checking for cheat codes.
- [DYNAMIC_EXECUTION]: The skill's automated test suite (
scripts/test_build_command.pyandscripts/test_check_formats.py) usessubprocess.runto execute internal Python utility scripts. This is used exclusively for testing the skill's logic in a controlled environment.
Audit Metadata