Skip to content

feat(security): add ast security scanner for catalog scripts (closes #190) - #196

Merged
OdevMatheus merged 1 commit into
mainfrom
feat/catalog-script-security-scanner
Nov 9, 2026
Merged

OdevMatheus merged 1 commit into
mainfrom
feat/catalog-script-security-scanner

Conversation

@OdevMatheus

Copy link
Copy Markdown
Owner

Closes #190

Summary

  • Adds deterministic security scanner (\src/auditor/security.ts) with \�uditSkillSecurity\ and \�uditCatalogSecurity\ exported from \src/auditor/index.ts.
  • Blocks outbound network/exfiltration clients (\urllib.request, \http.client, \socket,
    equests, \httpx, \�iohttp, \ tplib, \smtplib, \ elnetlib, \paramiko, \websocket, \websockets), dynamic execution/deserialization (\eval, \exec, _import_, \pickle, \marshal, \shelve, \ctypes, \cffi), and unsafe shell execution (\os.system, \os.popen, \pty, \subprocess\ with \shell=True, remote pipe-to-shell \curl | sh, and reverse shells).
  • Eliminates false positives on legitimate large/famous skills (\urllib.parse, \http.server, \webbrowser, \ rom re import compile, \def eval(), JS class \�sync eval()\ methods, and local \curl\ healthchecks).
  • Wires the catalog script security gate into .github/workflows/ai-ci.yml.

@github-actions github-actions Bot added 📄 docs Documentation, ADRs, templates, and guides ⚙️ ci GitHub Actions workflows, Node.js/TypeScript CI (tsc, vitest, tsup), and governance automation 🐍 core-engine labels Nov 9, 2026
@OdevMatheus
OdevMatheus merged commit 3a743a6 into main Nov 9, 2026
9 checks passed
@OdevMatheus
OdevMatheus deleted the feat/catalog-script-security-scanner branch November 9, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ ci GitHub Actions workflows, Node.js/TypeScript CI (tsc, vitest, tsup), and governance automation 🐍 core-engine 📄 docs Documentation, ADRs, templates, and guides

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(security): add ast security scanner for catalog scripts to block network, eval, and shell execution

1 participant