Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

harp

Latest version: v0.51.0

Overview

Last scanned
25 Oct 2026
Published
24 Oct 2026
npm package Publisher: sintaxi
4,996 Stars
335 Forks
2 Versions
3.1K Downloads
JavaScript Repo language

Scan summary

harp was last scanned on 25 Oct 2026 at version 0.51.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 24 Oct 2026.
  • Findings: No rules fired in version 0.51.0.
  • Downloads: 3,101 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.51.0 LATEST 24 Oct 2026 No rules fired
0.50.1 6 Jul 2026 Not shown

No rules fired in 0.51.0

Findings

Findings for v0.51.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.51.0; other versions have their own rules, not their own score.

Known vulnerabilities

3 CVEs · last 10 May 2019

0 CRITICAL 0 HIGH 2 MEDIUM 1 LOW

Versions

  • ≥ 0.40.3
  • ≥ 0.40.2, < 0.40.3 1 MEDIUM
  • > 0.29.0, < 0.40.2 2 MEDIUM
  • ≤ 0.29.0 2 MEDIUM 1 LOW

Vulnerabilities

  • CVE-2019-5438 Medium 10 May 2019 Path Traversal Fixed in 0.40.3
  • CVE-2019-5437 Medium 10 May 2019 Information Exposure Through Directory Listing Fixed in 0.40.2
  • NSWG-ECO-497 Low No date Cross-site Scripting (XSS) - Generic No fix yet

README

The publisher’s own README, as collected from the registry.

Harp

zero-configuration web server with built in pre-processing

What is Harp?

Harp is a static web server that also serves Jade, Markdown, EJS, Less, Stylus, Sass, and CoffeeScript as HTML, CSS, and JavaScript without any configuration. It supports the beloved layout/partial paradigm and it has flexible metadata and global objects for traversing the file system and injecting custom data into templates. Optionally, Harp can also compile your project down to static assets for hosting behind any valid HTTP server.

Why?

Pre-compilers are becoming extremely powerful and shipping front-ends as static assets has many upsides. It's simple, it's easy to maintain, it's low risk, easy to scale, and requires low cognitive overhead. I wanted a lightweight web server that was powerful enough for me to abandon web frameworks for dead simple front-end publishing.

Features
  • easy installation, easy to use
  • fast and lightweight
  • robust (clean urls, intelligent path redirects)
  • built in pre-processing
  • first-class layout and partial support
  • built in LRU caching in production mode
  • can export assets to HTML/CSS/JS
  • does not require a build steps or grunt task
  • fun to use
Supported Pre-Processors
Resources

Authored and maintained by @sintaxi.


Installation
sudo npm install -g harp
Quick Start

Start Harp server by pointing oit

mkdir ./public
harp  ./public

Your Harp application is now running at http://localhost:9000 You can now fill your project with ejs, jade, md, sass, scss files to be processed autmatically.

Compile your project...

harp ./public ./build

Yor dist folder is now ready to be published at a static host such as Surge.sh


Documentation

Harp can be used as a library or as a command line utility.

CLI Usage

  Harp 〜 Static Web Server v0.46.0

  USAGE
    harp <source>                                   serves project locally
    harp <source> <build>                           compiles for static host

  OPTIONS
    -p, --port                      9000            server port to listen on
    -h, --host                      0.0.0.0         server host to answer to
    -s, --silent                    false           supresses logs
    -h, --help                                      outputs this help message
    -v, --version                                   outputs version of harp

 ╭───────────────────────────────────────────────────────────────────────────────╮
 │                                                                               │
 │  PROCESSING                          DATA                                     │
 │    .ejs  ->  .html                     _data.json  -  directory data          │
 │    .jade ->  .html                     _data.js    -  dynamic build data      │
 │    .md   ->  .html                                                            │
 │    .sass ->  .css                    GENERATION                               │
 │    .scss ->  .css                      partial("_path/to/partial", {          │
 │    .cjs  ->  .js                         "title": "Hello World"               │
 │    .jsx  ->  .js                       })                                     │
 │                                                                               │
 ╰───────────────────────────────────────────────────────────────────────────────╯
Lib Usage

You may also use harp as a node library for compiling or running as a server.

Serve up a harp application...

var harp = require("harp")
harp.server(projectPath [,args])
server.listen(port, host)

Or compile harp application

var harp = require("harp")
harp.compile(projectPath [,outputPath] [, callback])

Or use as Connect/ExpressJS middleware

// Express
var express = require("express");
var harp = require("harp");
var app = express();

app.use(express.static(__dirname + "/public"));
app.use(harp.mount(__dirname + "/public"));

app.listen(port, host)

License

Copyright © 2012–2021 Chloi Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm harp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229