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

commit-stream

Latest version: v3.0.5

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: mylesborins, nodejs-foundation, rvagg
33 Stars
12 Forks
13 Versions
21.3K Downloads
JavaScript Repo language

Scan summary

commit-stream was last scanned on 28 Nov 2026 at version 3.0.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 3.0.5.
  • Downloads: 21,345 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.0.5 LATEST 28 Nov 2026 No rules fired
3.0.4 20 Nov 2026 No rules fired
3.0.3 20 Nov 2026 No rules fired
3.0.2 3 Nov 2026 Not shown
3.0.1 2 Nov 2026 Not shown

No rules fired in 3.0.5

Findings

Findings for v3.0.5. 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 3.0.5; other versions have their own rules, not their own score.

README

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

commit-stream

Turn a git log into a stream of commit objects

API

commitStream([defaultGithubUser, defaultGithubProject])

Returns an object stream that you can pipe a stream of newlines from the output of git log to. The output of the stream is a series of objects, each representing a commit from the log.

Intended to be used on a standard log format (not a simplified one using one of the simplifying --format options) but it will also process change stats if you git log --stat.

Typical usage:

import { spawn } from 'node:child_process'
import { createInterface } from 'node:readline'
import { pipeline } from 'node:stream/promises'
import commitStream from 'commit-stream'

const { stdout } = spawn('git', ['log'])
const commits = []

await pipeline(
  createInterface({ input: stdout, crlfDelay: Infinity }), // break up by newline characters
  commitStream('rvagg', 'commit-stream'),
  async (source) => {
    for await (const commit of source) commits.push(commit)
  }
)
// commits is an array of objects

Commit object properties:

  • sha: the full commit sha
  • author: an object representing the author of the commit
    • name: the name of the committer
    • email: the email of the committer
  • authors: a list of such objects representing the authors of the commit, supporting multiple authors through Co-authored-by:
  • authorDate: a string representing the date of the original commit by the author (never change)
  • commitDate: a string representing the date of the last change of the commit
  • summary: the one-line summary of the commit
  • description: the free-form text content of the summary, minus specific metadata lines
  • reviewers: an array containing objects with name and email properties if the commit metadata contains reviewers in a Reviewed-By: Foo Bar <baz@boom> format.
  • changes: if --stat data is included in the git log, an object containing change stats:
    • files: the number of files changed
    • insertions: the number of new lines inserted
    • deletions: the number of old lines removed
  • prUrl: a URL pointing to a pull-request where this change was made if the commit metadata contains a PR-URL: https://github.com/user/project/pull/XX line. Note that whatever proceeds the PR-URL: string will be collected in this property; one exception being that if a shortened #XX version is found and you have supplied defaultGitHubUser and defaultGitHubProject arguments to the constructor then a full GitHub pull-request will be reconstituted in its place.
  • ghUser, ghProject, ghIssue: if a proper GitHub pull request is found for the prUrl property (including shortened #XX ones), these properties will be added to point to the original user, project and issue (pull-request) for this change, as extracted from the URL. Also, if a commit message line ends with (#XX) as is done with green-button merges, this will be used.

License

commit-stream is Copyright (c) 2015 Rod Vagg @rvagg and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.

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 commit-stream

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229