mbilal.works
Available · September 2026
Talk
← Back to Portfolio
Practitioner Engineering Publication · arXiv cs.SE / cs.NIOPEN ACCESS
Self-Initiated Study · Feb 2026

Software Testing at the Network Layer: Automated HTTP API Quality Assessment and Security Analysis of Production Web Applications

Co-authored arXiv paper presenting an automated HTTP API quality assessment framework. Playwright-based browser instrumentation captured 108 HAR files across 18 production websites, applying 8 heuristic anti-pattern detectors to produce a composite quality score per site.

01. Context & Motivation

Research Context & Problem Framing

Network-layer quality deficiencies (redundant requests, missing cache headers, oversized payloads, excessive third-party scripts) are rarely tested systematically, and carry direct security implications including cache poisoning and supply-chain attack surface expansion.

02. Methodology & System Design

Methodology & Implementation

Built a Playwright-based browser instrumentation framework capturing full HTTP traffic across 18 production sites in 11 categories. Applied 8 heuristic anti-pattern detectors producing a composite 0–100 quality score. Linked API-layer deficiencies to security risks with reproducible open-source artifact.

03. Empirical Findings & Evidence

Findings & Key Results

Found one site making 2,684 requests/page (447× the minimum). Redundant API calls and missing cache headers each affect 67% of sites; third-party overhead exceeds 20% on 72% of sites. Mean composite score 76.9 (range 56.8–100).

04. Topics & Methodology Stack
Python 3.10+PlaywrightNode.js 18+HAR AnalysisSecurity Heuristics
mbilal.works · personal hub at bilalm.me · Impressum · PrivacyBuilt to a DESIGN.md spec · Bricolage Grotesque + JetBrains Mono · MMXXVI