Leaderboard github.com
Stupidoodle/instagram-mcp
Instagram DM MCP server - built entirely by Claude (Opus 4.5) in ~3 hours with mass auto-accept enabled. ultrathink ultraplan ultraanalyse ultraimplement
AI provenance
47%
explicit
- Confidence
- 95%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
77/100
adequate
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
69/100
weak
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
47% explicit
Explicit AI attribution on 47% of first-party code added; an estimated 47% including velocity signals.
How the score is built
- Explicitly attributed share47%
- Unattributed share in AI-pace bursts41%
- Estimated AI-generated share47%
- AI tool configuration files11
- Work sessions at AI pace5
- Releases at AI pace0
- Coding-style index (1.0+ means possible)0.11
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 29 | 13,299 | 2026-02-03 | 2026-10-13 |
Lines added per month all AI-attributed share
- 2026-0214,947 · 80% AI
- 2026-0912,063 · 0% AI
- 2026-101,278 · 100% AI
- 2026-110 · 0% AI
Findings in AI-attributed lines vs the rest
From git blame: 2,931 lines trace to AI-attributed commits, 6,027 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 2.05 | 2.99 | 0.69× |
| Security | 0.00 | 0.33 | 0.00× |
Evidence by analyzer
Explicit AI attributionok26 items
- Claude Code: 29 attributed commits, 13,299 lines added
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: message 'claude.ai/code'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- attributed_commit_share
- 22.5%
- attributed_commits
- 29
- attributed_loc
- 13,299
- attributed_loc_share
- 47.0%
- commits
- 129
- effective_loc
- 28,288
- tools_detected
- 1
AI tool configurationok11 items
- .claude/skills/dm/SKILL.md (claude-code configuration)
- .claude/skills/dm/protocol/loop.md (claude-code configuration)
- .claude/skills/dm/protocol/planning.md (claude-code configuration)
- .claude/skills/dm/protocol/reconnaissance.md (claude-code configuration)
- .claude/skills/dm/protocol/resume.md (claude-code configuration)
- .claude/skills/dm/templates/history.md (claude-code configuration)
- .claude/skills/dm/templates/identity.md (claude-code configuration)
- .claude/skills/dm/templates/memory.md (claude-code configuration)
- .claude/skills/dm/templates/strategy.md (claude-code configuration)
- .claude/skills/dm/templates/target.md (claude-code configuration)
- CLAUDE.md (claude-code configuration)
- artifacts
- 11
- earliest_adoption
- 2026-02-03
- tools_configured
- 1
- workflow_agents
- 0
Commit velocityok5 items
- 6,840 lines of first-party code in ~4.0h (1,710 lines/hour, 1 commit session)
- 3,449 lines of first-party code in ~4.4h (792 lines/hour, 10 commit session)
- 2,926 lines of first-party code in ~4.0h (732 lines/hour, 1 commit session)
- 2,919 lines of first-party code in ~4.6h (641 lines/hour, 18 commit session)
- 2,342 lines of first-party code in ~4.5h (520 lines/hour, 8 commit session)
- excluded_import_loc
- 3,547
- flagged_loc
- 18,476
- flagged_loc_share
- 74.7%
- flagged_units
- 5
- max_loc_per_hour
- 1,710
- measured_loc
- 24,741
- median_loc_per_hour
- 272.54
- pr_timed_units
- 6
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 24
Release velocityok
- flagged_releases
- 0
- max_loc_per_day
- 15,634.30
- releases
- 7
Coding styleok
- count:assistant_voice
- 0
- count:emoji_in_code
- 2
- count:narrated_steps
- 0
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 1
- files:narrated_steps
- 0
- files:placeholder
- 0
- index
- 0.11
- lines_scanned
- 8,958
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0.22
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 2,931
- blame_failures
- 0
- files_blamed
- 41
- other_lines
- 6,027
- quality:ai_findings
- 6
- quality:ai_per_kloc
- 2.05
- quality:other_findings
- 18
- quality:other_per_kloc
- 2.99
- quality:ratio
- 0.69
- security:ai_findings
- 0
- security:ai_per_kloc
- 0
- security:other_findings
- 2
- security:other_per_kloc
- 0.33
- security:ratio
- 0
Code quality
77 adequate
Code quality is adequate: test-to-source ratio 1.16, CI runs tests; 7% of function code in complex or long functions; 3% duplicated lines. Weakest area: lint.
How the score is built
- Complexity81
- Duplication84
- Lint and smells39
- Tests and CI100
- Documentation65
- Type safety60
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok7 items
- _build_message in src/instagram_mcp/channel.py: complexity 23, 44 lines
- _parse_iris_patch in src/instagram_mcp/mqtt/parser.py: complexity 20, 30 lines
- _convert_message in src/instagram_mcp/client.py: complexity 19, 53 lines
- event_from_dict in src/instagram_mcp/bridge_client.py: complexity 17, 53 lines
- _build in src/instagram_mcp/channel.py: complexity 17, 30 lines
- _reader_loop in src/instagram_mcp/mqtt/manager.py: complexity 17, 77 lines
- _dispatch in src/instagram_mcp/bridge_client.py: complexity 16, 45 lines
- complex_functions
- 7
- function_nloc
- 4,610
- functions
- 443
- long_functions
- 0
- many_param_functions
- 1
- mean_ccn
- 3.36
- p90_ccn
- 7
- risky_nloc_share
- 7.2%
Duplication (jscpd)ok8 items
- 6+ duplicated lines: scratch/mqtt_poc/mqtt_listen.py:21 and src/instagram_mcp/mqtt/thrift.py:32
- 6+ duplicated lines: scratch/mqtt_poc/mqtt_listen.py:107 and src/instagram_mcp/mqtt/topics.py:22
- 6+ duplicated lines: scratch/mqtt_poc/mqtt_listen.py:177 and scratch/mqtt_poc/mqtt_listen.py:200
- 6+ duplicated lines: scratch/mqtt_poc/mqtt_listen.py:251 and src/instagram_mcp/mqtt/parser.py:46
- 6+ duplicated lines: src/instagram_mcp/bridge.py:57 and src/instagram_mcp/bridge_client.py:25
- 6+ duplicated lines: src/instagram_mcp/client.py:700 and src/instagram_mcp/client.py:963
- 6+ duplicated lines: src/instagram_mcp/mqtt/parser.py:273 and src/instagram_mcp/mqtt/parser.py:400
- 6+ duplicated lines: src/instagram_mcp/raven.py:77 and src/instagram_mcp/raven.py:106
- compared_lines
- 6,625
- duplicated_lines
- 192
- duplicated_share
- 2.9%
- files
- 41
Lintok
- category:best-practice
- 7
- category:correctness
- 2
- category:maintainability
- 15
- findings
- 24
- scanned_lines
- 8,958
- weighted_findings
- 34
Tests and CIok5 items
- CI config: .github/workflows/release.yml
.github/workflows/release.yml - CI config: .github/workflows/test.yml
.github/workflows/test.yml - CI config: .github/workflows/upgrade-deps.yml
.github/workflows/upgrade-deps.yml - CI runs tests (pytest)
- CI runs linters (ruff, mypy)
- check:ci_present
- yes
- check:ci_runs_lint
- yes
- check:ci_runs_tests
- yes
- check:has_tests
- yes
- check:test_ratio
- yes
- check:tests_cochange
- yes
- ci_files
- 3
- cochange_commits
- 78
- cochange_share
- 74.4%
- source_lines
- 8,958
- test_lines
- 10,387
- test_ratio
- 1.16
Documentationok2 items
- README.md
README.md - LICENSE.md
LICENSE.md
- check:changelog
- no
- check:contributing
- no
- check:license
- yes
- check:readme
- yes
- readme_lines
- 154
Type safetyok1 item
- Python strict type checking: mypy.ini
mypy.ini
- check:low_escape_density
- no
- check:strict_config
- yes
- escapes
- 165
- escapes_per_kloc
- 18.83
Security
69 weak
Security posture is weak: 35 known vulnerabilities in 9 dependencies; 2 high-severity SAST findings; 1 high-severity workflow issues. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)94
- Vulnerable dependencies37
- CI workflows73
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 18
- declared
- 18
- lookup_errors
- 0
- missing
- 0
- recent
- 0
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 0
- secrets_nonprod
- 0
Static analysis (opengrep)ok
- findings
- 2
- findings_high
- 2
- findings_low
- 0
- findings_medium
- 0
- parse_errors
- 6
- scanned_lines
- 8,958
- weighted_findings
- 1.50
Dependencies (osv-scanner)ok
- penalty
- 59
- vulnerabilities
- 35
- vulnerable_packages
- 9
- vulns_critical
- 2
- vulns_high
- 13
- vulns_low
- 1
- vulns_medium
- 19
- vulns_unknown
- 0
CI workflows (zizmor)ok
- findings
- 5
- findings_high
- 1
- findings_low
- 2
- findings_medium
- 2
- penalty
- 19.20
- workflows
- 3
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 30.2%
- unpinned_manifests
- 0
Release downloadsok
- binary_assets
- 0
- signals
- 0
- suspicious
- 0
Findings
2 critical21 high40 medium3 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| critical | osv/GHSA-8r5x-fm3f-whwj |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-8r5x-fm3f-whwj | Dependencies (osv-scanner) |
| critical | osv/GHSA-p8wg-vrv2-v86f |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-p8wg-vrv2-v86f | Dependencies (osv-scanner) |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/instagram_mcp/bridge.py:307 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/instagram_mcp/bridge_client.py:336 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/instagram_mcp/mqtt/manager.py:336 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
src/instagram_mcp/tools/channel.py:317 | function `unsend` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
src/instagram_mcp/tools/threads.py:106 | function `hide_thread` is defined inside a function but never used | Lint |
| high | osv/GHSA-2m5v-pch6-74hx |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-2m5v-pch6-74hx | Dependencies (osv-scanner) |
| high | osv/GHSA-2m5v-pch6-74hx |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-2m5v-pch6-74hx | Dependencies (osv-scanner) |
| high | osv/GHSA-2m5v-pch6-74hx |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-2m5v-pch6-74hx | Dependencies (osv-scanner) |
| high | osv/GHSA-4w7w-5xrc-9h26 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-4w7w-5xrc-9h26 | Dependencies (osv-scanner) |
| high | osv/GHSA-6j4f-fj2g-mc7p |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p | Dependencies (osv-scanner) |
| high | osv/GHSA-qhr7-859c-m2p7 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 | Dependencies (osv-scanner) |
| high | osv/GHSA-qrxm-fqhp-jwvm |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-qrxm-fqhp-jwvm | Dependencies (osv-scanner) |
| high | osv/GHSA-qrxm-fqhp-jwvm |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-qrxm-fqhp-jwvm | Dependencies (osv-scanner) |
| high | osv/GHSA-qrxm-fqhp-jwvm |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-qrxm-fqhp-jwvm | Dependencies (osv-scanner) |
| high | osv/GHSA-rfgv-xxqx-mfg5 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-rfgv-xxqx-mfg5 | Dependencies (osv-scanner) |
| high | osv/GHSA-xjj6-f33q-929c |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-xjj6-f33q-929c | Dependencies (osv-scanner) |
| high | osv/GHSA-xjj6-f33q-929c |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-xjj6-f33q-929c | Dependencies (osv-scanner) |
| high | osv/GHSA-xjj6-f33q-929c |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-xjj6-f33q-929c | Dependencies (osv-scanner) |
| high | zizmor/excessive-permissions |
.github/workflows/upgrade-deps.yml:13 | overly broad permissions [confidence high] | CI workflows (zizmor) |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit |
src/instagram_mcp/video.py:47 | Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external... | Static analysis (opengrep) |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit |
src/instagram_mcp/video.py:55 | Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external... | Static analysis (opengrep) |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
scratch/mqtt_poc/mqtt_listen.py:286 | Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). | Lint |
| medium | opengrep/python.lang.correctness.use-sys-exit |
scratch/mqtt_poc/mqtt_listen.py:303 | Detected use of `exit`. Use `sys.exit` over the python shell `exit` built-in. `exit` is a helper for the interactive shell and may not be available on all Python implementations. | Lint |
| medium | opengrep/python.lang.correctness.use-sys-exit |
scratch/mqtt_poc/mqtt_listen.py:309 | Detected use of `exit`. Use `sys.exit` over the python shell `exit` built-in. `exit` is a helper for the interactive shell and may not be available on all Python implementations. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/bridge.py:214 | Is "is_connected" a function or an attribute? If it is a function, you may have meant self.mqtt.is_connected() because self.mqtt.is_connected is always true. | Lint |
| medium | opengrep/python.lang.maintainability.return-not-in-function |
src/instagram_mcp/bridge.py:541 | `return` only makes sense inside a function | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/client.py:181 | Is "is_verified" a function or an attribute? If it is a function, you may have meant sender.is_verified() because sender.is_verified is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/client.py:186 | Is "is_sent_by_viewer" a function or an attribute? If it is a function, you may have meant msg.is_sent_by_viewer() because msg.is_sent_by_viewer is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/client.py:193 | Is "is_sent_by_viewer" a function or an attribute? If it is a function, you may have meant msg.is_sent_by_viewer() because msg.is_sent_by_viewer is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/client.py:263 | Is "is_group" a function or an attribute? If it is a function, you may have meant thread.is_group() because thread.is_group is always true. | Lint |
| medium | opengrep/python.lang.best-practice.logging-error-without-handling |
src/instagram_mcp/client.py:417 | Errors should only be logged when handled. The code logs the error and propogates the exception, consider reducing the level to warning or info. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/logs.py:77 | Is "is_valid" a function or an attribute? If it is a function, you may have meant span.is_valid() because span.is_valid is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/mqtt/manager.py:127 | Is "is_connected" a function or an attribute? If it is a function, you may have meant self._conn.is_connected() because self._conn.is_connected is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/mqtt/manager.py:300 | Is "is_connected" a function or an attribute? If it is a function, you may have meant self.is_connected() because self.is_connected is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/mqtt/manager.py:309 | Is "is_connected" a function or an attribute? If it is a function, you may have meant self.is_connected() because self.is_connected is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/mqtt/manager.py:446 | Is "is_connected" a function or an attribute? If it is a function, you may have meant self._conn.is_connected() because self._conn.is_connected is always true. | Lint |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
src/instagram_mcp/mqtt/manager.py:55 | Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). | Lint |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
src/instagram_mcp/mqtt/parser.py:129 | Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/replies.py:106 | Is "is_valid" a function or an attribute? If it is a function, you may have meant reply.answers.is_valid() because reply.answers.is_valid is always true. | Lint |
| medium | opengrep/python.lang.maintainability.is-function-without-parentheses |
src/instagram_mcp/server.py:106 | Is "is_set" a function or an attribute? If it is a function, you may have meant _stop_events.is_set() because _stop_events.is_set is always true. | Lint |
| medium | osv/GHSA-2vr4-cq9g-pvrc |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-2vr4-cq9g-pvrc | Dependencies (osv-scanner) |
| medium | osv/GHSA-3g3m-2fjr-6pw4 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-3g3m-2fjr-6pw4 | Dependencies (osv-scanner) |
| medium | osv/GHSA-3wwx-pv8p-q78v |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-3wwx-pv8p-q78v | Dependencies (osv-scanner) |
| medium | osv/GHSA-4qv8-2p9j-2685 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-4qv8-2p9j-2685 | Dependencies (osv-scanner) |
| medium | osv/GHSA-4qv8-2p9j-2685 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-4qv8-2p9j-2685 | Dependencies (osv-scanner) |
| medium | osv/GHSA-4qv8-2p9j-2685 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-4qv8-2p9j-2685 | Dependencies (osv-scanner) |
| medium | osv/GHSA-55wc-3pg8-jfw6 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-55wc-3pg8-jfw6 | Dependencies (osv-scanner) |
| medium | osv/GHSA-9fm3-97px-rjf6 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-9fm3-97px-rjf6 | Dependencies (osv-scanner) |
| medium | osv/GHSA-9fm3-97px-rjf6 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-9fm3-97px-rjf6 | Dependencies (osv-scanner) |
| medium | osv/GHSA-9fm3-97px-rjf6 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-9fm3-97px-rjf6 | Dependencies (osv-scanner) |
| medium | osv/GHSA-f72v-6w45-q472 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-f72v-6w45-q472 | Dependencies (osv-scanner) |
| medium | osv/GHSA-g3hv-75wg-m249 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-g3hv-75wg-m249 | Dependencies (osv-scanner) |
| medium | osv/GHSA-h3mg-xc3c-68pw |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-h3mg-xc3c-68pw | Dependencies (osv-scanner) |
| medium | osv/GHSA-j6r3-76f7-8jcv |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-j6r3-76f7-8jcv | Dependencies (osv-scanner) |
| medium | osv/GHSA-q2hr-2g5m-vwhr |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-q2hr-2g5m-vwhr | Dependencies (osv-scanner) |
| medium | osv/GHSA-rj75-hqrm-r3gf |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-rj75-hqrm-r3gf | Dependencies (osv-scanner) |
| medium | osv/GHSA-rpw4-54j3-4h4q |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-rpw4-54j3-4h4q | Dependencies (osv-scanner) |
| medium | osv/GHSA-rxp7-6hxx-x8q5 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-rxp7-6hxx-x8q5 | Dependencies (osv-scanner) |
| medium | osv/GHSA-xw65-4hp5-5hc7 |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-xw65-4hp5-5hc7 | Dependencies (osv-scanner) |
| medium | zizmor/artipacked |
.github/workflows/upgrade-deps.yml:25 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/secrets-inherit |
.github/workflows/upgrade-deps.yml:69 | secrets unconditionally inherited by called workflow [confidence high] | CI workflows (zizmor) |
| low | osv/GHSA-r53p-7pc4-xj5r |
.github/release/package-lock.json | [email protected] (npm) is affected by GHSA-r53p-7pc4-xj5r | Dependencies (osv-scanner) |
| low | zizmor/self-repository |
.github/workflows/release.yml:31 | use GitHub's dedicated self-repository syntax [confidence high] | CI workflows (zizmor) |
| low | zizmor/self-repository |
.github/workflows/upgrade-deps.yml:69 | use GitHub's dedicated self-repository syntax [confidence high] | CI workflows (zizmor) |
Tools and coverage
Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.
| Analyzer | Pillar | Status | Version | Findings | Note |
|---|---|---|---|---|---|
| AI tool configuration | AI provenance | ok | signatures-v1 | 0 | |
| Explicit AI attribution | AI provenance | ok | signatures-v1 | 0 | |
| Release velocity | AI provenance | ok | prov-4 | 0 | |
| Coding style | AI provenance | ok | — | 0 | |
| Commit velocity | AI provenance | ok | prov-4 | 0 | |
| Findings in AI-written lines | AI provenance | ok | git-blame | 0 | |
| Complexity (lizard) | Code quality | ok | lizard 1.25.1 | 0 | |
| Documentation | Code quality | ok | — | 0 | |
| Duplication (jscpd) | Code quality | ok | repotrust-dup-w6 | 0 | |
| Lint | Code quality | ok | opengrep 1.33.1; rules f1d2b562b414 | 24 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | ok | zizmor 1.32.0 | 5 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 35 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | ok | — | 0 | |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 2 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 0 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 0a1b93523650 | prov-5+qual-2+sec-2 | 47% | 77 | 69 |
| 2026-11-14 | 0a1b93523650 | prov-4+qual-2+sec-2 | 47% | 77 | 69 |
Full text report
- Repository: https://github.com/Stupidoodle/instagram-mcp
- Commit:
0a1b935236508222327f0e2f09fe4816e6446d75 - Generated: 2026-11-14T14:52:01+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 47 | explicit | 95% | 100% |
| Code quality | 77 | adequate | 90% | 100% |
| Security | 69 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 47% of first-party code added; an estimated 47% including velocity signals.
- Explicitly attributed share (lower bound): 47.0%
- Unattributed share in AI-consistent velocity bursts: 41.1%
- Estimated AI-generated share: 47.0%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 29 | 13,299 |
- AI tooling configured in repo: claude-code
Current source lines last changed by AI-attributed commits: 2,931 of 8,958.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 2.047 | 2.987 | 0.69x |
| Security | 0.0 | 0.332 | 0.0x |
- Stylometry index: 0.11 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 2). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-02 | 14,947 | 80% |
| 2026-09 | 12,063 | 0% |
| 2026-10 | 1,278 | 100% |
Evidence
- Claude Code: message 'claude.ai/code' (a299a34e7872)
- Claude Code: message 'claude.ai/code' (bc8e7215789e)
- Claude Code: message 'claude.ai/code' (540e3d9684fc)
- Claude Code: message 'claude.ai/code' (54d23d429101)
- Claude Code: message 'claude.ai/code' (0ea812ee1623)
- Claude Code: message 'claude.ai/code' (0a7044fb4b55)
- Claude Code: message 'claude.ai/code' (6a7b1a8a5ba2)
- Claude Code: message 'claude.ai/code' (62bf35ea21d4)
- Claude Code: message 'claude.ai/code' (7e9707763848)
- Claude Code: message 'claude.ai/code' (4c1601a09dca)
- Claude Code: message 'claude.ai/code' (5ee7d1a01079)
- Claude Code: message 'claude.ai/code' (05272252dfa3)
- Claude Code: trailer 'Co-Authored-By: Claude' (c218d04b9e01)
- Claude Code: trailer 'Co-Authored-By: Claude' (9298565ddb03)
- Claude Code: trailer 'Co-Authored-By: Claude' (3a06e5fdc84f)
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
Code quality is adequate: test-to-source ratio 1.16, CI runs tests; 7% of function code in complex or long functions; 3% duplicated lines. Weakest area: lint.
| Area | Score |
|---|---|
| Complexity (lizard) | 81 |
| Duplication | 84 |
| Code smells (Opengrep) | 39 |
| Tests and CI | 100 |
| Documentation | 65 |
| Type safety | 60 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 443; mean complexity 3.4, 90th percentile 7; 7 complex and 0 long functions
- Duplicated lines: 2.9% of 6,625 compared
- Tests: 10,387 test lines for 8,958 source lines (ratio 1.16); CI test commands: pytest; 74% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- _build_message in src/instagram_mcp/channel.py: complexity 23, 44 lines
- _parse_iris_patch in src/instagram_mcp/mqtt/parser.py: complexity 20, 30 lines
- _convert_message in src/instagram_mcp/client.py: complexity 19, 53 lines
- event_from_dict in src/instagram_mcp/bridge_client.py: complexity 17, 53 lines
- _build in src/instagram_mcp/channel.py: complexity 17, 30 lines
Security
Security posture is weak: 35 known vulnerabilities in 9 dependencies; 2 high-severity SAST findings; 1 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 94 |
| Vulnerable dependencies (OSV) | 37 |
| CI workflows (zizmor) | 73 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 35 in 9 packages (critical 2, high 13, medium 19, low 1)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| critical | osv/GHSA-8r5x-fm3f-whwj: [email protected] (npm) is affected by GHSA-8r5x-fm3f-whwj |
.github/release/package-lock.json |
| critical | osv/GHSA-p8wg-vrv2-v86f: [email protected] (npm) is affected by GHSA-p8wg-vrv2-v86f |
.github/release/package-lock.json |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
src/instagram_mcp/video.py:47 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
src/instagram_mcp/video.py:55 |
| high | osv/GHSA-6j4f-fj2g-mc7p: [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p |
.github/release/package-lock.json |
| high | osv/GHSA-qhr7-859c-m2p7: [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 |
.github/release/package-lock.json |
| high | osv/GHSA-2m5v-pch6-74hx: [email protected] (npm) is affected by GHSA-2m5v-pch6-74hx |
.github/release/package-lock.json |
| high | osv/GHSA-qrxm-fqhp-jwvm: [email protected] (npm) is affected by GHSA-qrxm-fqhp-jwvm |
.github/release/package-lock.json |
| high | osv/GHSA-rfgv-xxqx-mfg5: [email protected] (npm) is affected by GHSA-rfgv-xxqx-mfg5 |
.github/release/package-lock.json |
| high | osv/GHSA-xjj6-f33q-929c: [email protected] (npm) is affected by GHSA-xjj6-f33q-929c |
.github/release/package-lock.json |
| high | osv/GHSA-2m5v-pch6-74hx: [email protected] (npm) is affected by GHSA-2m5v-pch6-74hx |
.github/release/package-lock.json |
| high | osv/GHSA-qrxm-fqhp-jwvm: [email protected] (npm) is affected by GHSA-qrxm-fqhp-jwvm |
.github/release/package-lock.json |
| high | osv/GHSA-xjj6-f33q-929c: [email protected] (npm) is affected by GHSA-xjj6-f33q-929c |
.github/release/package-lock.json |
| high | osv/GHSA-2m5v-pch6-74hx: [email protected] (npm) is affected by GHSA-2m5v-pch6-74hx |
.github/release/package-lock.json |
| high | osv/GHSA-4w7w-5xrc-9h26: [email protected] (npm) is affected by GHSA-4w7w-5xrc-9h26 |
.github/release/package-lock.json |
| high | osv/GHSA-qrxm-fqhp-jwvm: [email protected] (npm) is affected by GHSA-qrxm-fqhp-jwvm |
.github/release/package-lock.json |
| high | osv/GHSA-xjj6-f33q-929c: [email protected] (npm) is affected by GHSA-xjj6-f33q-929c |
.github/release/package-lock.json |
| high | zizmor/excessive-permissions: overly broad permissions [confidence high] |
.github/workflows/upgrade-deps.yml:13 |
| medium | osv/GHSA-q2hr-2g5m-vwhr: [email protected] (npm) is affected by GHSA-q2hr-2g5m-vwhr |
.github/release/package-lock.json |
| medium | osv/GHSA-3g3m-2fjr-6pw4: [email protected] (npm) is affected by GHSA-3g3m-2fjr-6pw4 |
.github/release/package-lock.json |
| medium | osv/GHSA-xw65-4hp5-5hc7: [email protected] (npm) is affected by GHSA-xw65-4hp5-5hc7 |
.github/release/package-lock.json |
| medium | osv/GHSA-2vr4-cq9g-pvrc: [email protected] (npm) is affected by GHSA-2vr4-cq9g-pvrc |
.github/release/package-lock.json |
| medium | osv/GHSA-h3mg-xc3c-68pw: [email protected] (npm) is affected by GHSA-h3mg-xc3c-68pw |
.github/release/package-lock.json |
| medium | osv/GHSA-j6r3-76f7-8jcv: [email protected] (npm) is affected by GHSA-j6r3-76f7-8jcv |
.github/release/package-lock.json |
| medium | osv/GHSA-rpw4-54j3-4h4q: [email protected] (npm) is affected by GHSA-rpw4-54j3-4h4q |
.github/release/package-lock.json |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Repository profile
- Source lines: 8,958; test lines: 10,387
| Language | Lines |
|---|---|
| Python | 19,148 |
| Shell | 156 |
| JavaScript | 41 |