CRIT
MINED013
[MINED013] Password In Url: https://user:password@host — leaks creds via logs, referrer, …
examples/next_proxy.py:28
CRIT
MINED107
Missing import: `html` used but not imported
instagrapi/mixins/graphql.py:145
CRIT
MINED107
Missing import: `html` used but not imported
instagrapi/mixins/user.py:136
CRIT
MINED107
Missing import: `locale` used but not imported
instagrapi/mixins/private.py:184
CRIT
MINED107
Missing import: `locale` used but not imported
instagrapi/realtime/client.py:99
CRIT
generic-api-key
Detected a Generic API Key, potentially exposing access to various services and sensitive…
docs/usage-guide/media.md:513
CRIT
generic-api-key
Detected a Generic API Key, potentially exposing access to various services and sensitive…
docs/usage-guide/media.md:439
CRIT
generic-api-key
Detected a Generic API Key, potentially exposing access to various services and sensitive…
instagrapi/mixins/location.py:37
CRIT
generic-api-key
Detected a Generic API Key, potentially exposing access to various services and sensitive…
instagrapi/mixins/location.py:36
CRIT
generic-api-key
Detected a Generic API Key, potentially exposing access to various services and sensitive…
instagrapi/mixins/challenge.py:366
CRIT
generic-api-key
Detected a Generic API Key, potentially exposing access to various services and sensitive…
instagrapi/mixins/video.py:886
HIGH
MINED004
[MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums).
instagrapi/mixins/totp.py:18
HIGH
MINED001
[MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e…
instagrapi/exceptions.py:234
HIGH
MINED001
[MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e…
examples/load_session_cookie.py:87
HIGH
SEC029
[SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT…
instagrapi/mixins/highlight.py:17
HIGH
SEC029
[SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT…
examples/monitor_user_content.py:24
HIGH
SEC029
[SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT…
examples/debug_direct_thread.py:66
HIGH
SEC128
[SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call …
instagrapi/mixins/igtv.py:311
HIGH
SEC128
[SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call …
instagrapi/image_util.py:136
HIGH
SEC128
[SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call …
examples/bot.py:142
HIGH
MINED108
`self.assertEqual` used but never assigned in __init__
tests/helpers.py:298
HIGH
MINED108
`self.assertEqual` used but never assigned in __init__
tests/helpers.py:297
HIGH
MINED108
`self.uploaded_media_payload` used but never assigned in __init__
tests/helpers.py:296
HIGH
MINED108
`self.assertIsInstance` used but never assigned in __init__
tests/helpers.py:295
HIGH
MINED108
`self.assertTrue` used but never assigned in __init__
tests/helpers.py:279
HIGH
MINED108
`self.fail` used but never assigned in __init__
tests/helpers.py:283
HIGH
MINED108
`self.skipTest` used but never assigned in __init__
tests/helpers.py:267
HIGH
MINED108
`self.skipTest` used but never assigned in __init__
tests/helpers.py:232
HIGH
MINED108
`self.addCleanup` used but never assigned in __init__
tests/helpers.py:236
HIGH
MINED108
`self.addCleanup` used but never assigned in __init__
tests/helpers.py:225
HIGH
MINED108
`self.user_info_by_username` used but never assigned in __init__
tests/helpers.py:207
HIGH
MINED108
`self.freeze` used but never assigned in __init__
examples/handle_exception.py:71
HIGH
MINED108
`self.freeze` used but never assigned in __init__
examples/handle_exception.py:64
HIGH
MINED108
`self.freeze` used but never assigned in __init__
examples/handle_exception.py:52
HIGH
MINED108
`self.freeze` used but never assigned in __init__
examples/handle_exception.py:45
HIGH
MINED108
`self.next_proxy` used but never assigned in __init__
examples/handle_exception.py:39
HIGH
MINED108
`self.freeze` used but never assigned in __init__
examples/handle_exception.py:73
HIGH
MINED108
`self.freeze` used but never assigned in __init__
examples/handle_exception.py:59
HIGH
MINED108
`self.update_client_settings` used but never assigned in __init__
examples/handle_exception.py:54
HIGH
MINED108
`self.rebuild_client_settings` used but never assigned in __init__
examples/handle_exception.py:40
HIGH
MINED108
`self.next_proxy` used but never assigned in __init__
examples/handle_exception.py:26
HIGH
MINED108
`self.update_client_settings` used but never assigned in __init__
examples/handle_exception.py:35
HIGH
MINED108
`self.freeze` used but never assigned in __init__
examples/handle_exception.py:28
HIGH
MINED108
`self.update_client_settings` used but never assigned in __init__
examples/handle_exception.py:31
HIGH
MINED108
`self.rebuild_client_settings` used but never assigned in __init__
examples/handle_exception.py:30
HIGH
COMP001
[COMP001] High cognitive complexity: Function `main` has cognitive complexity 36 (SonarSo…
examples/debug_direct_thread.py:78
HIGH
MINED115
Action `actions/download-artifact` pinned to mutable ref `@v8`
.github/workflows/publish.yml:86
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/publish.yml:85
HIGH
MINED115
Action `pypa/gh-action-pypi-publish` pinned to mutable ref `@release/v1`
.github/workflows/publish.yml:76
HIGH
MINED115
Action `actions/download-artifact` pinned to mutable ref `@v8`
.github/workflows/publish.yml:72
HIGH
MINED115
Action `actions/upload-artifact` pinned to mutable ref `@v7`
.github/workflows/publish.yml:57
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/publish.yml:41
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/publish.yml:40
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:118
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:117
HIGH
MINED115
Action `actions/upload-artifact` pinned to mutable ref `@v7`
.github/workflows/python-package.yml:107
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:91
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:90
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:57
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:56
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:36
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:35
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:20
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/python-package.yml:19
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/live-account-tests.yml:42
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/live-account-tests.yml:41
HIGH
MINED115
Action `github/codeql-action/analyze` pinned to mutable ref `@v4`
.github/workflows/codeql-analysis.yml:71
HIGH
MINED115
Action `github/codeql-action/autobuild` pinned to mutable ref `@v4`
.github/workflows/codeql-analysis.yml:57
HIGH
MINED115
Action `github/codeql-action/init` pinned to mutable ref `@v4`
.github/workflows/codeql-analysis.yml:46
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/codeql-analysis.yml:42
HIGH
MINED131
pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutable rev `v0.…
.pre-commit-config.yaml:8
HIGH
MINED131
pre-commit hook `https://github.com/pre-commit/pre-commit-hooks` pinned to mutable rev `v…
.pre-commit-config.yaml:2
MED
SEC015
[SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. …
instagrapi/mixins/totp.py:29
MED
MINED111
Bare except continues silently
instagrapi/utils/video.py:218
MED
MINED111
Bare except continues silently
instagrapi/mixins/graphql.py:370
MED
MINED111
Bare except continues silently
instagrapi/mixins/user.py:42
MED
MINED111
Bare except continues silently
instagrapi/mixins/clip.py:47
MED
MINED109
Mutable default argument in `clip_music_extra_data` (dict)
instagrapi/mixins/clip.py:672
MED
MINED109
Mutable default argument in `clip_upload_as_reel_with_music` (dict)
instagrapi/mixins/clip.py:592
MED
MINED109
Mutable default argument in `clip_upload` (dict)
instagrapi/mixins/clip.py:335
MED
MINED109
Mutable default argument in `clip_upload` (list)
instagrapi/mixins/clip.py:335
MED
MINED109
Mutable default argument in `igtv_configure` (dict)
instagrapi/mixins/igtv.py:196
MED
MINED109
Mutable default argument in `igtv_configure` (list)
instagrapi/mixins/igtv.py:196
MED
MINED109
Mutable default argument in `igtv_upload` (dict)
instagrapi/mixins/igtv.py:67
MED
MINED109
Mutable default argument in `igtv_upload` (list)
instagrapi/mixins/igtv.py:67
MED
MINED111
Bare except continues silently
instagrapi/mixins/direct.py:755
MED
MINED111
Bare except continues silently
instagrapi/mixins/direct.py:1115
MED
MINED111
Bare except continues silently
instagrapi/mixins/direct.py:973
MED
MINED111
Bare except continues silently
instagrapi/mixins/direct.py:750
MED
MINED109
Mutable default argument in `direct_profile_share` (list)
instagrapi/mixins/direct.py:1941
MED
MINED109
Mutable default argument in `direct_story_share` (list)
instagrapi/mixins/direct.py:1755
MED
MINED109
Mutable default argument in `direct_media_share` (list)
instagrapi/mixins/direct.py:1682
MED
MINED109
Mutable default argument in `direct_send_file` (list)
instagrapi/mixins/direct.py:1138
MED
MINED109
Mutable default argument in `direct_send_voice` (list)
instagrapi/mixins/direct.py:996
MED
MINED109
Mutable default argument in `direct_send_video` (list)
instagrapi/mixins/direct.py:775
MED
MINED109
Mutable default argument in `direct_send_photo` (list)
instagrapi/mixins/direct.py:726
MED
MINED109
Mutable default argument in `direct_send` (list)
instagrapi/mixins/direct.py:490
MED
MINED109
Mutable default argument in `__init__` (list)
instagrapi/story.py:60
MED
MINED111
Bare except continues silently
tests/helpers.py:377
MED
MINED111
Bare except continues silently
tests/helpers.py:349
MED
MINED111
Bare except continues silently
tests/helpers.py:326
MED
MINED111
Bare except continues silently
tests/helpers.py:281
MED
MINED111
Bare except continues silently
examples/load_session_cookie.py:82
MED
MINED111
Bare except continues silently
examples/load_session_cookie.py:63
MED
MINED111
Bare except continues silently
examples/debug_direct_thread.py:146
MED
COMP001
[COMP001] High cognitive complexity: Function `main` has cognitive complexity 17 (SonarSo…
examples/download_all_medias.py:9
MED
COMP001
[COMP001] High cognitive complexity: Function `get_code_from_email` has cognitive complex…
examples/challenge_resolvers.py:20
LOW
DEPCUR-GHA
GitHub Action `actions/setup-python@v6` is minor version(s) behind (latest v6.2.0)
.github/workflows/publish.yml:41
LOW
DEPCUR-GHA
GitHub Action `actions/setup-python@v6` is minor version(s) behind (latest v6.2.0)
.github/workflows/python-package.yml:20
LOW
DEPCUR-GHA
GitHub Action `actions/setup-python@v6` is minor version(s) behind (latest v6.2.0)
.github/workflows/live-account-tests.yml:42
LOW
AIC003
Duplicated implementation block across source files
instagrapi/mixins/public.py:217
LOW
AIC003
Duplicated implementation block across source files
instagrapi/mixins/public.py:98
LOW
AIC003
Duplicated implementation block across source files
instagrapi/mixins/photo.py:362
LOW
AIC003
Duplicated implementation block across source files
instagrapi/mixins/photo.py:288
LOW
AIC003
Duplicated implementation block across source files
instagrapi/mixins/igtv.py:156
LOW
AIC003
Duplicated implementation block across source files
instagrapi/mixins/igtv.py:154
LOW
AIC003
Duplicated implementation block across source files
instagrapi/mixins/clip.py:527
INFO
MINED067
[MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f…
instagrapi/image_util.py:115
INFO
MINED072
[MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in.
instagrapi/exceptions.py:22
INFO
MINED043
[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr…
instagrapi/__init__.py:138
INFO
MINED043
[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr…
examples/next_proxy.py:28
INFO
MINED043
[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr…
examples/download_all_medias.py:41
INFO
MINED064
[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services.
examples/session_login.py:43
INFO
MINED064
[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services.
examples/download_all_medias.py:47
INFO
MINED064
[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services.
examples/challenge_resolvers.py:56
INFO
MINED050
[MINED050] Stub Only Function: Function declared but body is just pass, return None, rais…
instagrapi/exceptions.py:23
INFO
MINED050
[MINED050] Stub Only Function: Function declared but body is just pass, return None, rais…
examples/load_session_cookie.py:88
INFO
MINED050
[MINED050] Stub Only Function: Function declared but body is just pass, return None, rais…
examples/bot.py:130
INFO
DEPCUR-GHA
GitHub Action `actions/download-artifact@v8` is patch version(s) behind (latest v8.0.1)
.github/workflows/publish.yml:72
INFO
DEPCUR-GHA
GitHub Action `actions/upload-artifact@v7` is patch version(s) behind (latest v7.0.1)
.github/workflows/publish.yml:57
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/publish.yml:40
INFO
DEPCUR-GHA
GitHub Action `actions/upload-artifact@v7` is patch version(s) behind (latest v7.0.1)
.github/workflows/python-package.yml:107
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/python-package.yml:19
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/live-account-tests.yml:41
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/codeql-analysis.yml:42