PT-depiler 是在原 PT-Plugin-Plus 基础上, 基于浏览器最新的 Manifest v3 标准开发的一款浏览器插件(Web Extensions), 一个可以提升 PT 站点使用效率的工具。
This report summarizes scanner evidence for pt-plugins/PT-depiler, a TypeScript project with 2,697 GitHub stars. SynthScan examined 174,949 lines of code across 728 source files, recording 131 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 97 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 120 finding(s).
Which changes need focused human review? 131 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 131 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | src/entries/background/utils/nativeMessaging.ts | 60 | // ── Module-scoped state ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/entries/background/utils/nativeMessaging.ts | 70 | // ── Helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/background/utils/nativeMessaging.ts | 110 | // ── Lifecycle ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/background/utils/nativeMessaging.ts | 291 | // ── Runtime permission listeners ───────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/background/utils/nativeMessaging.ts | 305 | // ── Message handlers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/background/utils/nativeMessaging.ts | 339 | // ── Startup ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/options/views/Overview/MyClient/Index.vue | 56 | // ── state ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/options/views/Overview/MyClient/Index.vue | 89 | // ── computed ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/options/views/Overview/MyClient/Index.vue | 128 | // ── table headers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/options/views/Overview/MyClient/Index.vue | 172 | // ── data loading ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/options/views/Overview/MyClient/Index.vue | 208 | // ── actions ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ies/options/views/Overview/MyClient/TorrentStateTd.vue | 12 | // ── state chip display map ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/options/views/Overview/MyClient/utils.ts | 10 | // ── module-level shared state ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/entries/options/views/Overview/MyClient/utils.ts | 31 | // ── composable ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/S3.ts | 74 | // ───── AWS Signature V4 ───── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/S3.ts | 195 | // ───── S3 XML 响应解析 ───── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/S3.ts | 227 | // ───── AbstractBackupServer 实现 ───── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/BackblazeB2.ts | 40 | // ── B2 API 响应类型 ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/BackblazeB2.ts | 88 | // ── 辅助函数 ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/BackblazeB2.ts | 97 | // ── 主类 ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/BackblazeB2.ts | 115 | // ── 授权与桶解析 ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/backupServer/entity/BackblazeB2.ts | 172 | // ── 抽象方法实现 ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/uTorrent.ts | 449 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/uTorrent.ts | 451 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/qBittorrent.ts | 779 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/qBittorrent.ts | 781 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/Transmission.ts | 661 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/Transmission.ts | 663 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/Deluge.ts | 574 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/Deluge.ts | 576 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/ruTorrent.ts | 490 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/ruTorrent.ts | 492 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/Flood.ts | 356 | // ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/packages/downloader/entity/Flood.ts | 358 | // ───────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vite/plugin/generateWebextLocales.ts | 4 | export function vitePluginGenerateWebextLocales() { | CODE |
| LOW | vite/plugin/generateSiteIndex.ts | 167 | async function generateSiteMetadataIndex(config: ResolvedConfig): Promise<TSiteMetadataIndex> { | CODE |
| LOW | vite/plugin/generateSiteIndex.ts | 249 | export function vitePluginGenerateSiteIndex(): Plugin { | CODE |
| LOW | vite/scripts/checkSiteDefinition.ts | 833 | export function checkMetadataIndexContract(): IMetadataIndexContractResult { | CODE |
| LOW | src/extends/pinia/webExtPersistence.ts | 88 | export function piniaWebExtPersistencePlugin(context: PiniaPluginContext) { | CODE |
| LOW | src/extends/axios/replaceUnsafeHeader.ts | 103 | function removeDummyHeaderRequestId(config: any) { | CODE |
| LOW | src/extends/axios/retryWhenCloudflareBlock.ts | 68 | function removeCustomCloudflareCookie(response: AxiosResponse | undefined) { | CODE |
| LOW | src/extends/axios/retryWhenCloudflareBlock.ts | 75 | export function setupRetryWhenCloudflareBlock(axios: AxiosInstance): AxiosRetryWhenCloudflareBlockInstance { | CODE |
| LOW | src/entries/messages.ts | 302 | export function isUserInfoQueueCancelledError(error: unknown): boolean { | CODE |
| LOW⚡ | src/entries/background/utils/nativeMessaging.ts | 72 | async function getOrCreateInstanceId(): Promise<string> { | CODE |
| LOW | src/entries/offscreen/utils/socialRecommendations.ts | 39 | function getDoubanPosterRatioCandidates(poster: string): string[] { | CODE |
| LOW | src/entries/offscreen/utils/socialRecommendations.ts | 79 | async function getSocialInformationSafely(item: ISocialRecommendationItem) { | CODE |
| LOW | src/entries/offscreen/utils/socialRecommendations.ts | 174 | function getVisibleRecommendationItemKeys(items: ISocialRecommendationItem[]) { | CODE |
| LOW | src/entries/offscreen/utils/socialRecommendations.ts | 190 | function shouldEnrichRecommendation( | CODE |
| LOW | src/entries/offscreen/utils/download.ts | 118 | export async function getTorrentInfoForVerification(torrent: ITorrent) { | CODE |
| LOW | src/entries/offscreen/utils/download.ts | 316 | async function isAllowedSaveDownloadHistory(): Promise<boolean> { | CODE |
| LOW | src/entries/offscreen/utils/download.ts | 420 | async function downloadTorrentToLocalFile( | CODE |
| LOW | src/entries/offscreen/utils/download.ts | 593 | export async function deleteDownloadHistoryById(downloadId: TTorrentDownloadKey) { | CODE |
| LOW | …ies/options/views/Settings/SetSearchSolution/Index.vue | 115 | async function confirmDeleteSearchSolution(solutionId: TSolutionKey) { | CODE |
| LOW | …ies/options/views/Settings/SetSearchSolution/Index.vue | 119 | function simplePatchSearchSolution(solutionId: TSolutionKey, value: boolean) { | CODE |
| LOW | …ries/options/views/Settings/SetSearchSolution/utils.ts | 23 | export async function generateSiteSearchSolution( | CODE |
| LOW | …views/Settings/SetSearchSolution/SiteCategoryPanel.vue | 54 | async function showCustomSolutionDialogFn() { | CODE |
| LOW | src/entries/options/views/Settings/SetBase/UiWindow.vue | 21 | function initContentScriptExceptionSites() { | CODE |
| LOW | src/entries/options/views/Settings/SetBackup/Index.vue | 111 | async function confirmDeleteBackupServer(id: TBackupServerKey) { | CODE |
| LOW | …ies/options/views/Settings/SetBackup/HistoryDialog.vue | 53 | async function confirmDeleteBackupHistory(toDeleteId: string) { | CODE |
| LOW | …ies/options/views/Settings/SetBackup/RestoreDialog.vue | 156 | function convertIsoDurationToMinutes(duration: string): number { | CODE |
| LOW | …entries/options/views/Settings/SetBackup/AddDialog.vue | 38 | async function updateStoredDownloaderConfigByDefault(type: IBackupServerMetadata["type"]) { | CODE |
| LOW | …entries/options/views/Settings/SetBackup/AddDialog.vue | 48 | async function saveStoredBackupServerConfig() { | CODE |
| LOW | …es/options/views/Settings/SetMediaServer/AddDialog.vue | 52 | async function updateStoredMediaServerConfigByDefault(e: TDownloaderKey) { | CODE |
| LOW | …es/options/views/Settings/SetMediaServer/AddDialog.vue | 61 | async function saveStoredMediaServerConfig() { | CODE |
| LOW | src/entries/options/views/Settings/SetSite/Index.vue | 173 | function sortIndexLongPressBinding(siteId: TSiteID, position: "up" | "down"): [() => void, OnLongPressOptions] { | CODE |
| LOW | src/entries/options/views/Settings/SetSite/utils.ts | 22 | export function getCanAddedSiteIndexEntries(): TSiteMetadataIndexEntryWithId[] { | CODE |
| LOW | …ies/options/views/Settings/SetDownloader/AddDialog.vue | 46 | async function updateStoredDownloaderConfigByDefault(type: string) { | CODE |
| LOW | …ies/options/views/Settings/SetDownloader/AddDialog.vue | 58 | async function saveStoredDownloaderConfig() { | CODE |
| LOW | …Settings/SetDownloader/DefaultDownloaderEditDialog.vue | 27 | function updateDefaultDownloaderInput(downloaderId: TDownloaderKey, clean: boolean = true) { | CODE |
| LOW | src/entries/options/views/Layout/Topbar.vue | 57 | function refreshSingleSearchSiteIds() { | CODE |
| LOW | src/entries/options/views/Layout/RecommendationMenu.vue | 79 | function hasIncompleteRecommendations() { | CODE |
| LOW | src/entries/options/views/Layout/RecommendationMenu.vue | 90 | function getVisibleRecommendationItems() { | CODE |
| LOW | src/entries/options/views/Layout/RecommendationMenu.vue | 119 | async function enrichRecommendationItems( | CODE |
| LOW | src/entries/options/views/Layout/RecommendationMenu.vue | 159 | function getRecommendationRegionClass(region?: string) { | CODE |
| LOW | src/entries/options/views/Layout/RecommendationMenu.vue | 165 | function getRecommendationPosterSrc(item: ISocialRecommendationItem) { | CODE |
| LOW | …/options/views/Overview/SearchResultSnapshot/Index.vue | 68 | function tryToDeleteSearchSnapshot(searchSnapshotId: TSearchSnapshotKey[]) { | CODE |
| LOW | …/options/views/Overview/SearchResultSnapshot/Index.vue | 73 | async function confirmDeleteSearchSnapshot(searchSnapshotId: TSearchSnapshotKey) { | CODE |
| LOW | …ries/options/views/Overview/MyData/BonusFormatSpan.vue | 35 | function toggleNumberSimplification() { | CODE |
| LOW | …es/options/views/Overview/MyData/UserLevelShowSpan.vue | 34 | function toggleNumberSimplification() { | CODE |
| LOW | …es/options/views/Overview/MyData/utils/lastUserData.ts | 106 | export async function cancelFlushSiteLastUserInfo() { | CODE |
| LOW | …tions/views/Overview/MyData/UserDataTimeline/Index.vue | 74 | function resetTimelineDataWithControl() { | CODE |
| LOW | …ions/views/Overview/MyData/UserDataStatistic/Index.vue | 94 | function createTotalInfoTooltipFormatter(type: (keyof typeof formatDict)[]) { | CODE |
| LOW | …ions/views/Overview/MyData/UserDataStatistic/Index.vue | 214 | function updateLastHoveredSeriesIndex(data: any) { | CODE |
| LOW | …tions/views/Overview/MyData/UserDataStatistic/utils.ts | 26 | function calculateDailyIncremental( | CODE |
| LOW | …tries/options/views/Overview/DownloadHistory/Index.vue | 79 | async function confirmDeleteDownloadHistory(downloadHistoryId: TTorrentDownloadKey) { | CODE |
| LOW | src/entries/options/views/Overview/MyClient/utils.ts | 80 | function scheduleDownloaderRefresh(id: string) { | CODE |
| LOW | …/entries/options/views/Overview/SearchEntity/Index.vue | 51 | function normalizeSnapshotPromotions(items: ISearchResultTorrent[] = []) { | CODE |
| LOW | …tries/options/views/Overview/SearchEntity/ActionTd.vue | 71 | async function localDlTorrentDownloadLink() { | CODE |
| LOW | …tent-script/app/components/AdvanceListModuleDialog.vue | 87 | function handleRemoteDownloadMulti(isDefaultSend = false) { | CODE |
| LOW | src/entries/content-script/app/pages/SiteListPage.vue | 88 | function handleRemoteDownloadMulti(isDefaultSend = false) { | CODE |
| LOW | src/packages/backupServer/utils.ts | 63 | export function hasBackupRetentionToApply(retention?: IBackupRetention): boolean { | CODE |
| LOW | src/packages/backupServer/index.ts | 29 | export async function getBackupServerDefaultConfig(configType: string): Promise<IBackupConfig> { | CODE |
| LOW | src/packages/downloader/index.ts | 23 | export async function getDownloaderDefaultConfig(type: string): Promise<DownloaderBaseConfig> { | CODE |
| LOW | src/packages/downloader/entity/uTorrent.ts | 576 | function mapTorrentFilePriorityToUtorrent(priority: TorrentFilePriority): number { | CODE |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/packages/backupServer/entity/BackblazeB2.ts | 226 | // Step 1: 获取上传 URL | COMMENT |
| LOW⚡ | src/packages/backupServer/entity/BackblazeB2.ts | 233 | // Step 2: 构建 zip blob | COMMENT |
| LOW⚡ | src/packages/backupServer/entity/BackblazeB2.ts | 238 | // Step 3: 上传文件 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/packages/backupServer/entity/BackblazeB2.ts | 226 | // Step 1: 获取上传 URL | COMMENT |
| LOW⚡ | src/packages/backupServer/entity/BackblazeB2.ts | 233 | // Step 2: 构建 zip blob | COMMENT |
| LOW⚡ | src/packages/backupServer/entity/BackblazeB2.ts | 238 | // Step 3: 上传文件 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vite.config.ts | 201 | // 并直接复用 options 构建已拆分的 vendor chunk(见 issue #1467)。 | COMMENT |
| LOW | .github/workflows/action_publish.yml | 41 | # 提交至 Chrome Web Store | COMMENT |
| LOW | src/styles/vuetify/settings.scss | 1 | // Vuetify 4 MD3 elevation shadows (0-5 scale), per the official Elevation Migration Guide. | COMMENT |
| LOW | src/packages/site/schemas/NexusPHP.ts | 661 | // 官方语言包 | COMMENT |
| LOW | src/packages/site/definitions/limetorrents.ts | 121 | // 详情页 `/xxx-torrent-<id>.html`(实测 https://www.limetorrents.fun/...-torrent-19999186.html 等): | COMMENT |