驗證證據 搜尋

證據項目 · SingLink VPN

VPNL-2026-0012/E-41報告建置指令碼:假名化、彙整、隱私裁切/遮蔽與 PDF 產生(Python)

證據 VPNL-2026-0012/E-41(text/plain, 44 KB)隸屬於紀錄 VPNL-2026-0012(VPN 技術評測)「SingLink VPN Windows 版 2.6.2+3162:實機安全與效能測試」。 此檔案為公開檔案。 儲存檔案的 SHA-256 與公布的雜湊值相符。

設定檔 公開 已驗證

完整性檢查

每次登錄庫載入時,本網站都會重新計算儲存檔案的 SHA-256 雜湊值,並與紀錄中公布的雜湊值比對。證據在擷取時如何計算雜湊值,請參閱我們的證據處理方法論。

已驗證

登錄庫載入時,依儲存檔案計算出的 SHA-256 雜湊值與紀錄中公布的雜湊值完全相同。自雜湊值公布以來,該檔案未曾變動。

公布的 SHA-256
75c9dd0a8528c09a96c955273ac76a4f88e547d2cc868f3dd0de380cca27c3c6
依儲存檔案計算
75c9dd0a8528c09a96c955273ac76a4f88e547d2cc868f3dd0de380cca27c3c6
比對時間
(登錄庫載入時)
結果
相同

項目詳細資料

證據編號
VPNL-2026-0012/E-41
紀錄
VPNL-2026-0012 · 版本 1.4
類型
設定檔
媒體類型
text/plain
大小
44 KB (45,281 位元組)
擷取時間
—
存取等級
公開 檔案已發布,任何人皆可下載。 存取等級的運作方式
檔案名稱
method-build-live-report.py

備註 自測試者提供的套件原樣發布(套件 SHA-256 已與 SHA256SUMS.txt 核對)。已審查:不含憑據、使用者路徑或節點連結;僅有公開的測量網址(Cloudflare trace/speed、ipify)。以 text/plain 提供,可直接在瀏覽器中顯示。包含出口/解析器的假名化與遮蔽邏輯。

引用此證據的發現事項

VPNL-2026-0012 中沒有任何發現事項直接引用此項目。它記錄的是測試環境,或對整份紀錄提供佐證,請參閱完整報告。

檔案預覽

method-build-live-report.py共 239 行,顯示前 60 行 · 44 KB
from pathlib import Pathimport json,csv,hashlib,statistics,datetime,re,collections,html,zipfile,sysR=Path(__file__).resolve().parent.parentP=R/'private-raw'; O=R/'share'; O.mkdir(exist_ok=True)for d in ['evidence','data','methods','reports/en','reports/zh-Hant']:(O/d).mkdir(parents=True,exist_ok=True)def read(p):return json.loads(Path(p).read_text(encoding='utf-8-sig'))def sha(p):return hashlib.sha256(Path(p).read_bytes()).hexdigest()def trace(x):return dict(s.split('=',1) for s in x.get('body','').splitlines() if '=' in s)def dt(s):return datetime.datetime.fromisoformat(s.replace('Z','+00:00'))def med(a):return round(statistics.median(a),3) if a else Nonedef num(v):return '-' if v is None else f'{v:.1f}'labels={'baseline_pre':'Baseline before','japan_beta_safe':'Japan Beta','singapore_beta_safe':'Singapore Beta','hongkong_beta_safe':'Hong Kong Beta Max - initial','hongkong_beta_retest':'Hong Kong Beta Max - repeat','hongkong_sola_safe':'Hong Kong Sola Max','hongkong_20_safe':'Hong Kong 2.0 Max','baseline_post':'Baseline after'}source_files=[]; rounds=[]; summaries=[]exit_map={}def exit_id(ip): if not ip:return None if ip not in exit_map:exit_map[ip]=f'EXIT-{len(exit_map)+1:02d}' return exit_map[ip]baseline=trace(read(P/'baseline_pre_http.json')[0]['before'])['ip'];exit_id(baseline)fields=['at','returncode','http_code','size_download','size_upload','time_total','time_starttransfer','speed_download','speed_upload','stderr','ssl_verify_result','http_version','url']for label,title in labels.items(): p=P/f'{label}_http.json';a=read(p);source_files.append(p) clean=[] for x in a:  b=trace(x['before']);e=trace(x['after'])  row={k:x.get(k) for k in ['at','run','download_mbps','upload_mbps','http_ttfb_median_ms','http_failed_samples']};row['condition']=title  row.update(exit_before=exit_id(b.get('ip')),exit_after=exit_id(e.get('ip')),country_before=b.get('loc'),country_after=e.get('loc'),colo_before=b.get('colo'),colo_after=e.get('colo'))  for direction in ['download','upload']:   row[direction+'_returncode']=x[direction]['returncode'];row[direction+'_http']=x[direction].get('http_code');row[direction+'_bytes']=x[direction].get('size_'+direction)  rounds.append(row)  clean.append(dict(row,download={k:x['download'].get(k) for k in fields},upload={k:x['upload'].get(k) for k in fields},latency=[{k:l.get(k) for k in fields} for l in x['latency']])) s={'condition':title,'label':label,'runs':len(a),'download_successes':sum(x['download_mbps'] is not None for x in a),'upload_successes':sum(x['upload_mbps'] is not None for x in a),'download_median_mbps':med([x['download_mbps'] for x in a if x['download_mbps'] is not None]),'upload_median_mbps':med([x['upload_mbps'] for x in a if x['upload_mbps'] is not None]),'ttfb_median_of_run_medians_ms':med([x['http_ttfb_median_ms'] for x in a if x['http_ttfb_median_ms'] is not None]),'ttfb_failed_requests':sum(x['http_failed_samples'] for x in a),'countries':sorted({trace(x[k]).get('loc','unknown') for x in a for k in ['before','after']}),'first_at':a[0]['at'],'last_at':a[-1]['after']['at']} summaries.append(s);(O/'data'/f'{label}.json').write_text(json.dumps(clean,indent=2),encoding='utf-8')with (O/'data/rounds.csv').open('w',encoding='utf-8',newline='') as f: w=csv.DictWriter(f,fieldnames=list(rounds[0]));w.writeheader();w.writerows(rounds)with (O/'data/summary.csv').open('w',encoding='utf-8',newline='') as f: keys=[k for k in summaries[0] if k!='countries'];w=csv.DictWriter(f,fieldnames=keys);w.writeheader();w.writerows({k:v for k,v in x.items() if k in keys} for x in summaries)# Browser reports are exported from the visible table, not hidden browser state.dns_specs=[('Baseline after','baseline_dns_webrtc_browser.json'),('Singapore Beta','singapore_dns_webrtc_browser.json'),('Hong Kong Beta Max','hongkong_beta_dns_webrtc_browser.json'),('Hong Kong Sola Max','hongkong_sola_dns_webrtc_browser.json'),('Hong Kong 2.0 Max','hongkong_20_dns_webrtc_browser.json')]dns=[];resolver_map={}for title,name in dns_specs: p=P/name;a=read(p);source_files.append(p);table=a.get('dns_table',a.get('visible_table',''));rr=[] for line in table.splitlines()[1:]:  cells=line.split('\t')  if len(cells)<4:continue  ip,hostname,isp,country=cells[:4]  if ip not in resolver_map:resolver_map[ip]=f'RESOLVER-{len(resolver_map)+1:02d}'  rr.append({'id':resolver_map[ip],'isp':isp,'location_reported_by_site':country.strip(),'_ip':ip}) rtc=a.get('webrtc_summary','');r=a.get('webrtc',{}) matches=False if rtc:  http_match=re.search(r'IPv4 Address\s*\t\s*([^\s]+)',rtc);public_match=re.search(r'Public IP Address\s*\t\s*([^\s]+)',rtc)  matches=bool(http_match and public_match and http_match.group(1)==public_match.group(1)) elif r.get('public_ip'):  matches=r['public_ip']==json.loads(read(P/'singapore_beta_after_switch_identity.json')['ipify']['body']).get('ip') dns.append({'condition':title,'at_utc':a['at_utc'],'resolvers':rr,'webrtc_no_leak_label':('No Leak' in rtc or 'No Leak' in r.get('result','')),'webrtc_http_exit_match':matches,'webrtc_summary':rtc,'rtc_old':r})base_resolvers={x['_ip'] for x in dns[0]['resolvers']}for x in dns: x['exact_overlap_with_baseline']=len({r['_ip'] for r in x['resolvers']}&base_resolvers) x['isp_counts']=dict(collections.Counter(r['isp'] for r in x['resolvers']))

儲存檔案的預覽,內容於本頁產生時從磁碟讀取。 開啟完整檔案

自行驗證此檔案

預期的 SHA-256:75c9dd0a8528c09a96c955273ac76a4f88e547d2cc868f3dd0de380cca27c3c6。請下載檔案,並在同一資料夾中執行下列其中一個指令。您也可以將檔案拖放到瀏覽器內驗證工具中,雜湊值在本機計算,檔案不會被上傳。

任何已安裝 curl 的作業系統下載檔案
curl -fsSL -o method-build-live-report.py https://vpn.com.de/evidence/files/VPNL-2026-0012/method-build-live-report.py

目前的 Linux 發行版、macOS 與 Windows 10/11 皆內建 curl。

LinuxGNU coreutils:自動核對
echo "75c9dd0a8528c09a96c955273ac76a4f88e547d2cc868f3dd0de380cca27c3c6  method-build-live-report.py" | sha256sum -c -

檔案相符時顯示「OK」,不符時顯示「FAILED」。若要手動比對,可單獨執行 sha256sum method-build-live-report.py 以輸出雜湊值。

macOSshasum:自動核對
echo "75c9dd0a8528c09a96c955273ac76a4f88e547d2cc868f3dd0de380cca27c3c6  method-build-live-report.py" | shasum -a 256 -c -

檔案相符時顯示「OK」。若要手動比對,可單獨執行 shasum -a 256 method-build-live-report.py 以輸出雜湊值。

Windows PowerShellGet-FileHash:回傳 True 或 False
(Get-FileHash -Algorithm SHA256 -LiteralPath '.\method-build-live-report.py').Hash -eq '75c9dd0a8528c09a96c955273ac76a4f88e547d2cc868f3dd0de380cca27c3c6'

Get-FileHash 以大寫輸出雜湊值;PowerShell 的 -eq 比較不區分大小寫,因此回傳 True 即表示檔案相符。

保管鏈

保管鏈記錄了這項證據建立的時間,以及它或引用它的紀錄每一次狀態變更的時間點。日期取自紀錄本身;最後一個步驟是本網站每次載入登錄庫時執行的自動檢查。

  1. 測試期間結束

    VPNL-2026-0012 的初始測試期間已結束。後續的複測(如有)會列於下方的紀錄版本中。

  2. 紀錄版本 1.0

    首次發布。

  3. 紀錄版本 1.1

    更新署名、標題與揭露聲明措辭。由於本用戶端依廠商設計不提供斷網保護(Kill Switch),LC-01 由「高」重新分類為資訊性;量測結果不變。由於上游路由器 VPN 使解析器結果無法歸因,DNS 觀察事項 OBS-01 已撤回。廠商改列為營運主體 SingLink Corporation(英屬維京群島)。

  4. 紀錄版本 1.2

    依方法論 v1.0 新增評分:透明度得 7.5 分(滿分 10),並附各評分項目的理由及封存來源 E-48 至 E-58。其餘四個類別未評估,因此不發布總分,評分標示為「不完整」。

  5. 紀錄版本 1.3

    透明度評分項目「漏洞揭露管道」由部分符合(1/2)更正為符合(2/2):先前遺漏了廠商公布的漏洞回報政策(E-59)。透明度分數 7.5 → 8.5;其餘四個類別仍未評估。團隊頁面(E-60)已加入法律實體評分項目的理由;該項分數不變。

  6. 紀錄版本 1.4

    依 2026年11月19日發布並生效的方法論 v2.0 重新計算透明度分數;v2.0 的法律實體評分項目不再要求揭露所有權:法律實體 1 → 2/2,透明度 8.5 → 9.5。本紀錄的實機測試係依 v1.0 進行;其餘四個類別仍未評估。

  7. 已重新檢查完整性

    本網站於登錄庫載入時自動檢查:已驗證,儲存的檔案與公布的雜湊值相符。

依據我們的證據處理程序,原始檔案在擷取後會立即計算雜湊值並設為唯讀保存;分析一律在副本上進行。遮蔽後的版本是另外的檔案,各有自己的雜湊值。已發布的檔案絕不會被替換:經更正的檔案會取得新的證據編號,紀錄也會新增一筆註明日期的歷程。 閱讀完整的完整性與保管鏈政策

引用本證據

VPN Network Research Labs(2026)。證據 VPNL-2026-0012/E-41:報告建置指令碼:假名化、彙整、隱私裁切/遮蔽與 PDF 產生(Python) [設定檔, text/plain]。收錄於:SingLink VPN Windows 版 2.6.2+3162:實機安全與效能測試(VPNL-2026-0012,版本 1.4)。 SHA-256 75c9dd0a8528c09a96c955273ac76a4f88e547d2cc868f3dd0de380cca27c3c6。 https://vpn.com.de/zh-tw/evidence/VPNL-2026-0012/E-41