feat: add custom gadget support & add custom github repo support#37
feat: add custom gadget support & add custom github repo support#37ObjShadow wants to merge 3 commits intoksg97031:trunkfrom
Conversation
Add Custom gadget support and Custom github repo support. Add --custom-gadget-path and --github-repo CLI flags. Update README.rst.
Summary of ChangesHello @ObjShadow, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the tool's flexibility by introducing options for custom Frida gadget management. Users can now either supply their own pre-compiled gadget library directly or configure the tool to fetch gadgets from a specified GitHub repository, moving beyond the default Frida releases. Additionally, it includes a crucial fix to improve the robustness of configuration file parsing, particularly for network interaction types. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
This is a WRONG vulnerability detection of "http://". It's only used to match the URL provided by the user. |
There was a problem hiding this comment.
Code Review
This pull request introduces useful features for providing a custom Frida gadget file or specifying a custom GitHub repository to download it from, along with documentation updates and a fix for Frida configuration files. However, the implementation contains a high-severity insecure temporary file creation vulnerability, susceptible to symlink attacks, and a medium-severity logic error in configuration validation that bypasses security checks. Additionally, there are areas for improvement regarding fragile logic for parsing GitHub repository URLs and a redundant import. Addressing these points is crucial for robustness, cleanliness, and security before merging.
|




Add Custom gadget support and Custom github repo support.
Add --custom-gadget-path and --github-repo CLI flags.
Update README.rst.
(PS: Fix support for config files whose
interaction.typeislistenorconnect)