Skip to content
Back to skills

Orthotect Security

ASecurity

Enterprise cybersecurity audit and vulnerability defense for full-stack projects. Scans and remediates OWASP Top 10, CWE Top 25, SQLi, Command Injection, DOM XSS, SSRF, prototype pollution, path traversal, and hardcoded secrets. Use when auditing backend or frontend code for security vulnerabilities, hardening APIs, preventing secret leakage, or running pre-deployment security gates.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsjavascriptpythonjavashellbashsqlnodetestingrefactoringgit

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add seotarek/orthotect --skill orthotect-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orthotect Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orthotect Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seotarek-orthotect-security/badge)](https://www.skillsdirectory.com/skills/seotarek-orthotect-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orthotect-security
description: Enterprise cybersecurity audit and vulnerability defense for full-stack projects. Scans and remediates OWASP Top 10, CWE Top 25, SQLi, Command Injection, DOM XSS, SSRF, prototype pollution, path traversal, and hardcoded secrets. Use when auditing backend or frontend code for security vulnerabilities, hardening APIs, preventing secret leakage, or running pre-deployment security gates.
metadata:
  version: 1.0.0
---

# Skill: Orthotect Full-Stack Cybersecurity & Threat Defense

Enforce deterministic, enterprise-grade cybersecurity standards across backend, frontend, and infrastructure codebases. Orthotect Gate 6 executes static analysis security testing (SAST) with zero external dependencies to detect and remediate vulnerabilities before deployment.

---

## Reference Routing

Load the matching reference guide before architecting, auditing, or refactoring:

| Topic | Reference File | Covers |
|---|---|---|
| Frontend Threat Defense | [frontend-security.md](references/frontend-security.md) | Client-side DOM XSS, prototype pollution, CSP directives, postMessage origin checks, token isolation |
| Backend & API Hardening | [backend-security.md](references/backend-security.md) | Parameterized SQL/NoSQL queries, SSRF IP filtering & DNS resolution, safe subprocesses, timing attacks |
| OWASP Top 10 Defenses | [owasp-top-10.md](references/owasp-top-10.md) | In-depth breakdown with vulnerable vs secure patterns across Node.js and Python |
| Injection Vectors | [injection-vectors.md](references/injection-vectors.md) | SQLi, NoSQLi, OS Command Injection, SSTI, Prototype Pollution, DOM XSS, SSRF |
| Production Checklist | [security-checklist.md](references/security-checklist.md) | Pre-deployment hardening checklist: Headers, Cookies, Secrets, CSP, HSTS |

---

## Deterministic Quality Gate 6 Execution

Run the security audit gate against any target file or directory:

```bash
# Run standalone Security Audit Gate
python3 gates/gate_security_audit.py <path>

# Run with JSON output (for automated CI/CD pipelines)
python3 gates/gate_security_audit.py <path> --json

# Run as part of the full 6-gate verification suite
node bin/orthotect.js verify <path>
```

---

## The 6 Pillars of Orthotect Threat Defense

### 1. Zero Hardcoded Secrets (CWE-798)
Never commit API tokens, private keys, or passwords.
- Always ingest configuration through `process.env` or `os.environ`.
- Ensure `.env` is declared in `.gitignore`.
- Immediately revoke and rotate any token that was ever committed or pushed to a remote repository.

### 2. Prepared Parameterized Queries (CWE-89)
Eliminate SQL injection at the compiler level:
- Never concatenate strings or format variables into SQL queries (`f"SELECT ... {id}"`).
- Pass dynamic values as tuples or parameterized arrays to database drivers (`cursor.execute("SELECT ... WHERE id = %s", (id,))`).

### 3. Safe Subprocess Execution (CWE-78)
Prevent arbitrary command execution on the host:
- Never use `shell=True` with dynamic user parameters in Python `subprocess`.
- Pass arguments as discrete arrays (`subprocess.run(["cmd", arg1, arg2])`).
- In Node.js, prefer `child_process.execFile` or `execFileSync` over `exec`.

### 4. Client-Side DOM XSS Immunity (CWE-79)
Block cross-site scripting in single-page apps and static templates:
- Use `element.textContent` instead of `element.innerHTML` for dynamic text.
- If HTML markup must be rendered dynamically, sanitize through DOMPurify with strict tag and attribute allowlists.
- Never bind raw `location.search`, `location.hash`, or `document.referrer` directly to execution sinks.

### 5. Server-Side Request Forgery Defense (CWE-918)
Protect internal services and cloud metadata endpoints:
- Validate and whitelist protocols (`http`, `https`).
- Resolve hostnames via DNS and reject private/reserved IP blocks (`127.0.0.0/8`, `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`, `169.254.169.254`).

### 6. Prototype Pollution & Object Mutation Guards (CWE-1321)
Harden JavaScript object handling:
- Filter forbidden keys (`__proto__`, `constructor`, `prototype`) during deep merge operations.
- Prefer `Object.create(null)` for key-value hash dictionaries that do not inherit from `Object.prototype`.

Files in this skill

  • SKILL.md4.1 KB
  • references/backend-security.md4.6 KB
  • references/frontend-security.md4.3 KB
  • references/injection-vectors.md2.7 KB
  • references/owasp-top-10.md3.8 KB
  • references/security-checklist.md1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.