Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Add pqc-tls-and-agentic-audit skill (Post-Quantum TLS & Agentic/GEO domain auditor) - #6837

Open
spleyapp wants to merge 1 commit into
github:mainfrom
spleyapp:add-pqc-tls-and-agentic-audit
Open

spleyapp wants to merge 1 commit into
github:mainfrom
spleyapp:add-pqc-tls-and-agentic-audit

Conversation

@spleyapp

@spleyapp spleyapp commented Dec 6, 2026

Copy link
Copy Markdown

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the main branch 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 regenerated docs/README.skills.md table entry.

What it does

  • Post-Quantum TLS (--mode pqc): Uses native Node.js tls.connect and DNS-over-HTTPS (cloudflare-dns.com) to inspect TLS 1.3 key exchange (X25519MLKEM768 vs classical X25519), leaf/issuer public key algorithms (flagging NIST P-256 / prime256v1), and DNSSEC ECDSA P-256 Algorithm 13 exposure.
  • Agentic / AI Search Readiness (--mode agentic / --mode all): Parses robots.txt per RFC 9309 across 6 AI crawlers (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended), detects /llms.txt and /.well-known/{x402,agent-card.json,agent-registration.json,ucp}, and extracts JSON-LD @type schemas.
  • Security & Self-Containment: Zero npm dependencies, zero API keys, zero external paid service requirements, strict DNS-resolved SSRF guard (blocks loopback, private IPv4/IPv6, link-local metadata endpoints, and trailing-dot FQDNs).

Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • New canvas extension.
  • Update to existing instruction, prompt, agent, plugin, skill, workflow, or canvas extension.
  • Other (please specify):

Additional Notes

  • Verified locally with npm ci --ignore-scripts, npm run skill:validate, and npm run build (docs/README.skills.md updated cleanly with +1 line, zero trailing whitespace or CRLF).
  • Tested node skills/pqc-tls-and-agentic-audit/scripts/audit.mjs live against cloudflare.com, stripe.com, and anthropic.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.

@spleyapp
spleyapp requested review from a team as code owners December 6, 2026 02:56
Copilot AI adaptive review requested due to automatic review settings December 6, 2026 02:56
@github-actions github-actions Bot added new-submission PR adds at least one new contribution skills PR touches skills labels Dec 6, 2026
@github-actions

github-actions Bot commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 2 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 0
ℹ️ Info 1
Severity Rule File Line Match
ℹ️ skill-script-touched skills/pqc-tls-and-agentic-audit/scripts/audit.mjs 1 skills/pqc-tls-and-agentic-audit/scripts/audit.mjs

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

@github-actions

github-actions Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

🚦 Submission status: 👀 Ready for review

Risk tier: merge-risk:high — Privileged execution, automation, or review-policy change
Required to merge: passing submission-gate checks plus 1 approval from reviewers with write access, including a maintainer with admin or maintain permission.

Why this tier
  • skills/pqc-tls-and-agentic-audit/scripts/audit.mjs is a high-risk path (automation, scripts, MCP config, hooks, or review policy)
  • Label needs-review:HIGH flags a high contributor-risk signal

Automated checks

Check Status Details
Line endings ✅ Passed Passed · logs
Spelling ✅ Passed Passed · logs
Generated README consistency ✅ Passed Passed · logs
Skill validation ✅ Passed Passed · logs
Skill lint (vally) ✅ Passed Passed · logs
Risk scan ✅ Passed Passed · logs
Contributor reputation ✅ Passed Passed · logs
Duplicate resource scan ✅ Passed Passed · logs
PR quality signal ⏭️ Skipped Skipped by its workflow · logs

Review

  • Approvals: 0/1
  • Assigned reviewer: not assigned yet — comment /request-review to ask for one
  • Review target date: not set
  • Still needed: 1 more approval(s); an approval from a maintainer with admin or maintain permission
  • The core-maintainers pool is not staffed yet; an approver with admin or maintain permission is required instead.

Commands

Command Who What it does
/rerun-checks PR author, maintainers Re-runs failed or incomplete checks and re-evaluates this gate
/request-review PR author, maintainers Asks the review rotation to assign a reviewer (adds needs-reviewer)

Updated for 6ef685e · gate run · This comment is maintained automatically — see submission gate docs.

@github-actions

github-actions Bot commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

🔴 Contributor Reputation Check: HIGH risk

Check Risk
Profile HIGH
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added the needs-review:HIGH Contributor reputation check flagged HIGH risk label Dec 6, 2026
@github-actions

github-actions Bot commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

🔍 Vally Lint Results

✅ All checks passed

Scope Checked
Skills 1
Agents 0
Total 1
Severity Count
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ ✅ pqc-tls-and-agentic-audit (2/2 checks passed)
ℹ️ ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
ℹ️ ✓ spec-compliance: All spec checks passed.
ℹ️ ✓ [valid-refs] All file references across 1 skill(s) are valid.
ℹ️ ✓ valid-refs: All file references resolve to existing files within the skill directory.
ℹ️ 1 skill(s) linted, 1 passed
Full linter output
### Linting skills/pqc-tls-and-agentic-audit
✅ pqc-tls-and-agentic-audit (2/2 checks passed)
    ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
        ✓ spec-compliance: All spec checks passed.
    ✓ [valid-refs] All file references across 1 skill(s) are valid.
        ✓ valid-refs: All file references resolve to existing files within the skill directory.

1 skill(s) linted, 1 passed

@github-actions github-actions Bot added ready-for-review Submission passed intake validation and is ready for maintainer review and removed awaiting-automation labels Dec 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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
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)

Comment on lines +40 to +44
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) : '';
Comment on lines +171 to +172
if (!leafUsesP256) score += 15;
if (!dnssec.usesP256Alg13) score += 10;
Comment on lines +89 to +91
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);
Comment on lines +261 to +265
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)) {
Comment on lines +323 to +326
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);
Comment on lines +51 to +53
## 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/).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk:high needs-review:HIGH Contributor reputation check flagged HIGH risk new-submission PR adds at least one new contribution ready-for-review Submission passed intake validation and is ready for maintainer review skills PR touches skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants