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

[[1](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/ui/BalanceView.ts#L122)][[2](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/ui/TransactionView.ts#L87)][[3](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/ui/TransactionView.ts#L95)][[4](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/ui/TransactionView.ts#L168)][[5](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/ui/TransactionView.ts#L194)]: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/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/main.ts#L181)][[2](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/main.ts#L192)][[3](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L67)][[4](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L68)][[5](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L72)][[6](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L73)][[7](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L75)][[8](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L76)][[9](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L163)][[10](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/models/query.ts#L164)][[11](https://github.com/mayankkushal/obsidian-expense-tracker/blob/c9af267548d38532c390ec4e4211dcfb08ce74a7/src/parser/ptaParser.ts#L77)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation. If you think some of these results are incorrect, please include `/skip` in your comment and the reason why you think the results are incorrect.
Once you have pushed all of the required changes, the bot will reevaluate your PR within 4 hours.