Logo
RomanKnows
CybersecurityNext.jsPentestingSOCNginx

RomanKnows — Authorized Web Security Workspace

Phases 0–5 authorized web security assessment workspace built with Next.js on Ubuntu Nginx. Orchestrates Nmap, WhatWeb, AI planning, and terminal activity to generate evidence-backed PDF reports.

RONIT KAUSHALCONFIDENTIAL · SECURITY CASE STUDY · 2026-11-30
Website vulnerability assessment & hardening

Security findings
for RomanKnows

RomanKnows is Ronit Kaushal's flagship authorized web security assessment platform. Because it executes reconnaissance and vulnerability tooling, it underwent strict self-auditing for command injection, SSRF, authentication boundaries, and evidence redaction.

authorized scope remediated & verified
zsh — ronitkaushal assessment (romanknows)
rk@soc nmap -sV -Pn secure.romanlabs.tech
443/tcp open https nginx 1.24.0 (Ubuntu)
80/tcp open http redirect → https
rk@soc curl -sI https://secure.romanlabs.tech
HTTP/2 200 · server: nginx/1.24.0 (Ubuntu) · Next.js
rk@soc # SEC-001 command-injection & SSRF scope-lock check
✓ verified · shell=False, RFC1918 blocked, auth enforced
verified · production hardening & SOC triage
01 · SUMMARY
Risk overview

2 core findings documented · 1 critical · 1 high · all remediated.

02 · EVIDENCE
Detailed findings

Impact, endpoint, CWE/OWASP mapping, and terminal proof per issue.

03 · HARDENING
SOC & controls

Headers, TLS, WAF, input validation, and continuous SOC monitoring.

Target
https://secure.romanlabs.tech
Nginx 1.24.0 (Ubuntu) · Authenticated Workspace
Engagement
RK-SEC-2026-10
Web VAPT + SOC Analysis
Overall Status
Self-Audited & Hardened
2 findings verified fixed
RONIT KAUSHALConfidential · Page 1 of 4

Executive summary.

Security posture, severity distribution, and stack telemetry for RomanKnows.

Post-Remediation Posture
Self-Audited & Hardened

Strict scope-lock, array-based subprocess spawning, auth-walled admin routes, and automatic secret redaction verified.

Critical: 1High: 1Medium: 2Low: 1Info: 0
Target URLhttps://secure.romanlabs.tech
Stack & ServerNext.js + Security Runner on Nginx 1.24.0 (Ubuntu)
Assessment TypeSelf-Audit VAPT, Command Injection & SSRF Hardening
Tools UsedBurp Suite, Nmap, Wireshark, Nuclei, Kali Linux
Status5 findings remediated & verified
Assessment Tooling
Burp SuiteNmapWiresharkNucleiKali Linux
RONIT KAUSHALConfidential · Page 2 of 4

Detailed findings.

Verified vulnerabilities, how we secured RomanKnows, and terminal proof.

SEC-001 · CRITICAL · CVSS 9.1REMEDIATED

Subprocess Argument Injection & SSRF Scope-Lock in URL Runner

ENDPOINTPOST /api/assessments/start
CWECWE-78 / CWE-918
OWASPA03:2021 – Injection / A10:2021 – SSRF

Impact: Passing user-supplied URLs to Nmap/WhatWeb without strict parsing could allow command flag injection or scanning internal `127.0.0.1` / `169.254.169.254` metadata services.

How We Secured It: Enforced strict `URL` parsing (`https://` only), DNS resolution check blocking loopback/RFC1918/link-local IPs, and array-based `execFile` with `--` argument terminators.

zsh — SEC-001 verification
rk@lab POST /api/assessments/start { targetUrl: 'http://127.0.0.1:8080;id' }
HTTP/2 400 Bad Request · Blocked non-public/invalid target
✓ verified · REMEDIATED
SEC-001 · targetUrl
SEC-002 · HIGH · CVSS 7.5REMEDIATED

Evidence Redaction & CSP Lock on Exported Assessment Reports

ENDPOINTGET /api/reports/export
CWECWE-79 / CWE-532
OWASPA03:2021 – Injection

Impact: Captured target headers/cookies could leak tokens or execute XSS inside exported HTML/PDF reports.

How We Secured It: Applied automated token/cookie redaction, full HTML entity escaping, and `Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; img-src data:` on exported reports.

zsh — SEC-002 verification
rk@lab Exported HTML report CSP & redaction check
Cookies/Auth headers → [REDACTED] · CSP locked
✓ verified · REMEDIATED
SEC-002 · reportHtml
RONIT KAUSHALConfidential · Page 3 of 4

Hardening & SOC.

Implemented defensive controls, SOC monitoring, and assessment limitations.

Applied Security & SOC Controls
  • Admin/Operator authentication wall with session validation and audit logging.
  • Scope-lock firewall blocking loopback, RFC1918, and cloud metadata IPs in all recon runners.
  • Automated evidence minimization/redaction and print-ready A4 PDF export isolation.
Scope & Limitations

Security assessments and hardening controls documented in this case study reflect authorized testing performed by Ronit Kaushal on https://secure.romanlabs.tech within the recorded engagement window (RK-SEC-2026-10). Automated scanning is paired with manual verification; continuous SOC monitoring is maintained for emerging threats.