验证证据 搜索

证据项 · 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 核对)。已审查:不含凭据、用户路径或节点链接;仅包含公开的测量 URL(Cloudflare trace/speed、ipify)。以 text/plain 提供,可在浏览器中直接显示。包含出口/解析器的假名化和遮挡逻辑。

引用此证据的发现项

VPNL-2026-0012 中没有直接引用此条目的发现项。它记录的是测试环境,或为整份记录提供支撑——请参阅完整报告。

文件预览

method-build-live-report.py前 60 行,共 239 行 · 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

    更新署名、标题和披露措辞。由于该客户端按厂商设计不提供断网保护,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-cn/evidence/VPNL-2026-0012/E-41