develop-sublime-text-plugins
Pass
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The
assets/examples/offline/harness.pyscript usesimportlib.import_moduleandimportlib.reloadto dynamically load and refresh plugin modules (TodoLens.core,TodoLens.plugin) during offline testing and mutation verification. This is a standard practice for development environments requiring hot-reloading of local code.- [COMMAND_EXECUTION]: Theassets/examples/offline/run_mutants.pyandassets/examples/verify.shscripts usesubprocess.runand shell commands to execute test suites and verification tools. These operations are restricted to the local development environment and use the system Python interpreter.- [INDIRECT_PROMPT_INJECTION]: Evaluation files such asevals/files/NoteLens/note_lens.pydemonstrate a vulnerability surface where untrusted buffer text is processed for display in HTML annotations without proper escaping. This is explicitly provided as a 'broken' case for educational and evaluation purposes, while the core skill instructions strictly mandate the use ofhtml.escape()to prevent such injections. - Ingestion points: Buffer text read via
view.substr()innote_lens.pyandjson_tidy.py. - Boundary markers: Absent in the vulnerable evaluation examples.
- Capability inventory: The plugin system utilizes
view.add_regionswith HTML annotations,view.show_popup, andview.replace, which can be leveraged if content is not sanitized. - Sanitization: Absent in evaluation files, but enforced in the primary
TodoLensexample and instructions.- [EXTERNAL_DOWNLOADS]: Documentation inreferences/testing-and-packaging.mddescribes cloning theUnitTestingpackage from its official GitHub repository for host-based testing. This targets a well-known service and organization within the Sublime Text community and follows standard dependency management practices.
Audit Metadata