Repository navigation
Conversation
🔒 PR Risk Scan ResultsScanned 2 changed file(s).
|
🚦 Submission status: 👀 Ready for reviewRisk tier: Why this tier
Automated checks
Review
Commands
Updated for |
|
🔴 Contributor Reputation Check: HIGH risk
Maintainers: please review this contributor before merging. |
🔍 Vally Lint Results✅ All checks passed
Summary
Full linter output |
There was a problem hiding this comment.
🟡 Changes recommended
Critical SSRF bypasses, unbounded response buffering, and scoring that awards perfect PQC scores to non-quantum-safe configurations remain unresolved.
19 open issues
Reject IPv4 benchmarking and IPv6 site-local address ranges · New Pin connections to validated addresses to prevent DNS rebinding · New Stream and enforce response byte limits before decoding · New Do not award PQC points for non-quantum-safe algorithms · New Reject HTTPS-to-HTTP redirects before requesting downgraded URLs · New Handle endpoint validation failures without aborting the audit · New Discover the authoritative DNS zone before checking DNSSEC · New Keep failed DNSSEC checks unknown and award points only on success · New Report hybrid TLS as unknown when runtime support is unavailable · New Ignore comment-only lines without resetting the robots group · New Apply robots rules with wildcard matching and partial-access results · New Validate required protocol structure before awarding readiness points · New Support robots.txt files up to at least 500 KiB · New Accept empty and short successful robots.txt responses · New Validate llms.txt structure instead of generic text length · New Distinguish failed manifest requests from confirmed absence · New Allow whitespace around the JSON-LD type attribute assignment · New Isolate audit failures and report invalid input cleanly · New Remove unrelated tools from the companion section · New
What changed in this PR
Adds a self-contained public-domain auditing skill to the GitHub Copilot resource catalog.
Changes:
- Documents audit modes, runtime requirements, and result interpretation.
- Bundles dependency-free Node.js probes for TLS, DNSSEC, crawler policies, and agentic endpoints.
- Adds the skill to the generated catalog.
| File | Description |
|---|---|
skills/pqc-tls-and-agentic-audit/SKILL.md |
Defines usage, interpretation, and safety limitations. |
skills/pqc-tls-and-agentic-audit/scripts/audit.mjs |
Implements domain probes and JSON audit output. |
docs/README.skills.md |
Adds the catalog entry and bundled script reference. |
Review effort: Max (adaptive)
| if (a === 100 && b >= 64 && b <= 127) return true; | ||
| return false; | ||
| } | ||
| if (ip === '::' || ip === '::1') return true; | ||
| if (/^(?:fc|fd|fe[89ab]|ff)/i.test(ip)) return true; |
| throw new Error(`Blocked SSRF target (${host} resolves to non-public IP)`); | ||
| } | ||
| } | ||
| return host; |
| current = new URL(res.headers.get('location'), current).toString(); | ||
| continue; | ||
| } | ||
| const text = res.ok ? (await res.text()).slice(0, maxBytes) : ''; |
| if (!leafUsesP256) score += 15; | ||
| if (!dnssec.usesP256Alg13) score += 10; |
| if (parsed.protocol !== 'https:' && parsed.protocol !== 'http:') { | ||
| throw new Error(`Blocked non-HTTP protocol: ${parsed.protocol}`); | ||
| } |
| const fallback = robotsRes.status === 404 || robotsRes.status === 410 ? 'allowed_no_robots' : `unknown_http_${robotsRes.status || 0}`; | ||
| const aiCrawlerPolicy = hasRobots ? parseRobotsAiPolicy(robotsRes.text) : Object.fromEntries(AI_CRAWLERS.map(b => [b, fallback])); | ||
| const allowedBots = Object.values(aiCrawlerPolicy).filter(v => v.startsWith('allowed')).length; | ||
| const hasLlmsTxt = isRealText(llmsRes); |
| const hasLlmsTxt = isRealText(llmsRes); | ||
| const hasX402 = isRealJson(x402Res); | ||
| const hasAgentCard = isRealJson(agentCardRes); | ||
| const hasUcp = isRealJson(ucpRes); | ||
| const hasErc8004 = isRealJson(erc8004Res); |
|
|
||
| const jsonLdTypes = []; | ||
| if (homeRes.ok) { | ||
| for (const m of homeRes.text.matchAll(/<script[^>]+type=["']application\/ld\+json["'][^>]*>([\s\S]*?)<\/script>/gi)) { |
| const host = await assertSafeResolvedHost(rawDomain); | ||
| const output = { domain: host, mode, auditedAt: new Date().toISOString() }; | ||
| if (mode === 'all' || mode === 'pqc') output.pqc = await auditPqc(host); | ||
| if (mode === 'all' || mode === 'agentic') output.agentic = await auditAgentic(host); |
| ## Companion MCP Server & Public Benchmark | ||
|
|
||
| For full stdio MCP integration (9 zero-dependency tools including `DESIGN.md` extraction, YouTube transcripts/RAG, SEC EDGAR Form D, and direct ATS jobs) and the Dec 2026 105-domain PQC empirical benchmark, see the open-source MIT repository [spleyapp/spley-mcp-data-apis](https://github.com/spleyapp/spley-mcp-data-apis) and the [PQC-Radar public scorecard](https://spleyapp.github.io/spley-mcp-data-apis/datasets/pqc-radar/). |



Pull Request Checklist
npm startand verified thatREADME.mdis up to date.mainbranch for this pull request.Description
Adds the self-contained, zero-dependency, 100% free MIT skill
pqc-tls-and-agentic-audit(skills/pqc-tls-and-agentic-audit/SKILL.md+skills/pqc-tls-and-agentic-audit/scripts/audit.mjs) along with the regenerateddocs/README.skills.mdtable entry.What it does
--mode pqc): Uses native Node.jstls.connectand DNS-over-HTTPS (cloudflare-dns.com) to inspect TLS 1.3 key exchange (X25519MLKEM768vs classicalX25519), leaf/issuer public key algorithms (flagging NIST P-256 /prime256v1), and DNSSEC ECDSA P-256 Algorithm 13 exposure.--mode agentic/--mode all): Parsesrobots.txtper RFC 9309 across 6 AI crawlers (GPTBot,OAI-SearchBot,ClaudeBot,PerplexityBot,Google-Extended,Applebot-Extended), detects/llms.txtand/.well-known/{x402,agent-card.json,agent-registration.json,ucp}, and extracts JSON-LD@typeschemas.Type of Contribution
Additional Notes
npm ci --ignore-scripts,npm run skill:validate, andnpm run build(docs/README.skills.mdupdated cleanly with+1line, zero trailing whitespace or CRLF).node skills/pqc-tls-and-agentic-audit/scripts/audit.mjslive againstcloudflare.com,stripe.com, andanthropic.com, plus adversarial SSRF probes (169.254.169.254,localtest.me.,[::1],10.0.0.1.nip.io).By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.