Reduce false positives for sample tokens in __main__ blocks
Cluster 112139 · agent. Data as of
1 open item. Fix merged in #113113 on 17 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #113113. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #113113. That is separate from the fix event. - Still open
- 0 issues and 1 PR.
These issues and PRs address hardcoded_secret rules triggering on sample/placeholder tokens inside __main__ self-test blocks of plugin runtime files. The fix demotes or relaxes these findings so they no longer hard-block plugin installation.
Open issues0
Open PRs1
- PR#112159fix(plugins): demote hardcoded_secret inside __main__ self-test blocks
Fixes on record
-
#113113 fix(plugins): sample tokens in __main__ self-test blocks no longer hard-block plugin install (#112139, salvage #112146)
files:
tests/tools/test_plugin_guard.py,tools/plugin_guard.py,website/docs/user-guide/features/plugins.md
1 PR closed without merging
From the close comments: other 1
- #112146 fix(plugins): demote main-guard sample tokens · other
Closed issues · 1
- Closed#112139plugin-guard-v3: hardcoded_secret false positive on sample tokens in __main__ self-test blocks of runtime .py files
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #113113
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 17 Sep 2026