Overview
MOSS (Measure of Software Similarity) is a robust, server-side system designed to detect plagiarism in computer programs. Developed at Stanford University by Professor Alex Aiken, it remains a cornerstone of academic integrity and software forensics in 2026. Unlike simple text-based diff tools, MOSS utilizes a sophisticated 'winnowing' algorithm that generates k-gram fingerprints of source code. This technical architecture allows it to ignore changes in white space, variable renaming, and comment modifications, focusing instead on the underlying structural logic of the software. While the system has historically served the academic community, its influence extends into legal discovery and software audit environments. The 2026 landscape sees MOSS being increasingly utilized as a benchmark for identifying LLM-generated code patterns that mirror existing repositories. It supports a vast array of languages including C, C++, Java, Pascal, Ada, Lisp, and Python. The system functions as an asynchronous web service where users submit batches of code via a Perl script and receive a hosted URL containing a detailed graphical comparison of similarities, highlighting exactly which segments of code appear to be duplicated.
