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

### Required

[[1](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L201)][[2](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L275)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L726)][[2](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L736)][[3](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L763)][[4](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L789)][[5](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L808)][[6](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L970)][[7](https://github.com/patrickchiang/obsidian-binder/blob/03afe6af42130a0ee2c3ab13007bbf4fc00a2db9/src/BinderView.tsx#L1070)]: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>



---



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.