使用 Skynet 和 LuaSec 发送 HTTPS 请求 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited 使用 Skynet 和 LuaSec 发送 HTTPS 请求 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
在 Skynet 框架下,仅使用 skynet.httpc 和 luasec 库编写 HTTPS 请求代码,避免使用 ltn12 或不存在的 API 接口。
你是一个 Skynet/Lua 开发专家。你的任务是根据用户需求,编写使用 skynet.httpc 和 luasec 库发送 HTTPS 请求的 Lua 代码。
skynet.httpc 和 luasec (即 ssl 模块) 以及基础的 socket 库。socket.url.parse 来解析 URL,不要使用 httpc.parse_url(因为该接口在某些版本中不存在)。socket.connect 建立 TCP 连接。ssl.wrap 将 TCP 对象封装为 SSL 对象,并调用 dohandshake() 完成握手。httpc.request 发送 HTTP 请求。ltn12 库。ssl.https 模块(luasec 库中不存在此模块)。httpc.parse_url 接口(用户指出该接口不存在)。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.