Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/SettingTab.ts#L124)][[2](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/SettingTab.ts#L216)][[3](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/suggestion_old.ts#L37)][[4](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/suggestion_old.ts#L38)][[5](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/suggestion.ts#L30)][[6](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/suggestion.ts#L34)][[7](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/SettingTab.ts#L17)][[8](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Tauri/src/main.ts#L93)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>

[[1](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/index.ts#L111)][[2](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/index.ts#L112)][[3](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/index.ts#L502)][[4](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/index.ts#L503)][[5](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/index.ts#L504)][[6](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/index.ts#L505)][[7](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/contextmenu/index.ts#L506)][[8](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/index.ts#L63)][[9](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/index.ts#L64)][[10](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/miniEditor/index.ts#L50)][[11](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/miniEditor/index.ts#L51)][[12](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Tauri/src/module/window.ts#L65)][[13](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Tauri/src/module/window.ts#L68)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/contextmenu/index.ts#L27)][[2](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/contextmenu/index.ts#L42)]:The command name should not include the plugin name.

[[1](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/contextmenu/index.ts#L35-L37)][[2](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/contextmenu/index.ts#L50-L52)]:We recommend against providing a default hotkey when possible. The reason being that it's easy to pick a hotkey that a user already has configured and they could get confused when that key doesn't do what they expect. Also, it's hard choosing a safe default hotkey that's available for all operating systems.

[[1](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/webApi.ts#L70)][[2](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/webApi.ts#L99)][[3](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/TrieDB.ts#L66)][[4](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/TrieDB.ts#L67)][[5](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/TrieDB.ts#L68)][[6](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/ReverseIndexDB.ts#L190)][[7](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/ReverseIndexDB.ts#L193)][[8](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/ReverseIndexDB.ts#L196)][[9](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/ReverseIndexDB.ts#L199)][[10](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/ReverseIndexDB.ts#L202)][[11](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/panel/search/ReverseIndexDB.ts#L205)][[12](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/pluginManager/PluginManager.ts#L14)][[13](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Core/pluginManager/PluginManager.ts#L103)][[14](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/api.ts#L86)][[15](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/api.ts#L90)][[16](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/api.ts#L176)][[17](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/api.ts#L299)][[18](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/api.ts#L303)][[19](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/contextmenu/ABContextMenu_Ob.ts#L155)][[20](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/main.ts#L103)][[21](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/main.ts#L254)][[22](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Tauri/src/module/window.ts#L63)][[23](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Tauri/src/module/window.ts#L255)][[24](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Tauri/src/config.ts#L57)][[25](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Tauri/src/config.ts#L122)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/SettingTab.ts#L56)][[2](https://github.com/any-menu/any-menu/blob/46d0cec8b6816336881bcb8fcd93a5b0954aff2d/src/Obsidian/src/SettingTab.ts#L57)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.