linkedin / linkedin/qark

Unable to run plugin

Open
#346 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.4k
Forks
663
PR merge metrics
No merged PRs in 30d

Description

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/qark-4.0.0-py3.6.egg/qark/scanner/plugin.py", line 194, in update
self.run()
File "/usr/local/lib/python3.6/dist-packages/qark-4.0.0-py3.6.egg/qark/scanner/../plugins/webview/set_allow_content_access.py", line 29, in run
severity=self.severity))
File "/usr/local/lib/python3.6/dist-packages/qark-4.0.0-py3.6.egg/qark/plugins/webview/helpers.py", line 72, in webview_default_vulnerable
if valid_set_method_bool(method_invocation=selector, str_bool="false", method_name=method_name):
File "/usr/local/lib/python3.6/dist-packages/qark-4.0.0-py3.6.egg/qark/plugins/webview/helpers.py", line 25, in valid_set_method_bool
if not method_invocation.arguments or not isinstance(method_invocation.arguments[0], Literal):
AttributeError: 'MemberReference' object has no attribute 'arguments'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with qark/plugins/webview/helpers.py at valid_set_method_bool, then inspect qark/plugins/webview/set_allow_content_access.py using the traceback as the reproduction path. Run the affected plugin against an Android application and confirm it completes without the reported AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.