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

@hamzaahmadaslam/commit-changelog

Latest version: v1.0.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: hamzaahmedaslam
0 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

@hamzaahmadaslam/commit-changelog was last scanned on 26 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 26 Nov 2026.
  • Findings: No rules fired in version 1.0.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.0 LATEST 26 Nov 2026 No rules fired
0.0.0-stage 26 Nov 2026 Not shown

No rules fired in 1.0.0

Findings

Findings for v1.0.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 1.0.0; other versions have their own rules, not their own score.

README

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

commit-changelog

Turns the commits since your last tag into a Keep a Changelog section, with each commit's own first line under Added, Changed, Deprecated, Removed, Fixed or Security; for maintainers whose commit messages do not follow a convention.

conventional-changelog, release-please and semantic-release sort commits by a prefix such as feat: or fix: and leave out commits without one. Most repositories have plain messages ("Stop the CSV export from dropping the last row"), so their changelogs are still written by hand. Matching words like "fix" or "add" with regular expressions misplaces a message like that one. A text-generating model can sort it, but it rewrites the lines, can drop or invent entries, and gives no measure of how sure it is. commit-changelog asks two narrow questions per commit and gets probabilities back: code puts each commit's first line, unchanged, in a section, and the commits Jev is unsure of go to a review list instead of the changelog.

How it uses Jev

Jev is TypeSafe AI's System One model: it answers typed questions with probabilities and writes no text.

Commits with a conventional-commit prefix are placed by the prefix, in code, and never sent:

Prefix Section
feat Added
fix Fixed
perf Changed
docs, style, refactor, test, build, ci, chore internal, not listed
one of those internal types marked breaking (refactor!: or a BREAKING CHANGE: footer) Changed
revert and any other type asked, like a commit without a prefix

Every other commit is sent to Jev, up to 20 commits per request (--batch), as a state like this:

{
  "commits": [
    {
      "subject": "Stop the CSV export from dropping the last row",
      "body": "The writer closed the stream before the final row was flushed, so every export lost its last invoice.",
      "changed_files": ["src/csv.js", "test/csv.test.js"]
    }
  ]
}

For each commit it asks two questions, which point at the commit by its position:

Question Type What it decides
commits[3] is one commit from the history of a software project [...]. In which section of the project's changelog does this change belong? choice added, changed, deprecated, removed, fixed, security or internal
Does the change in commits[3] affect the people who use the software, rather than only the people who develop it? noul whether users notice it; it has to agree with the section

The full wording, with a description of every section, is in src/classify.mjs, and --dry-run --json prints every request body. Code places each commit with one threshold, --threshold (default 0.8):

Outcome When
listed the section's confidence is at least the threshold, the section is not internal, and the users answer is at least the threshold
internal the section is internal with a confidence of at least the threshold, and the users answer is at most 1 minus the threshold
review everything else: a section Jev is unsure of, a users answer between the two limits, or answers that disagree

Every entry in the section is a commit's first line exactly as it was written, prefix included. Jev only picks where it goes. The report prints the probabilities next to every commit in review.

Install

Needs Node.js 20 or later and git.

npm install -g @hamzaahmadaslam/commit-changelog

Usage

export TYPESAFE_API_KEY=<your-key>
commit-changelog

That prints the section for the commits since the last tag of the repository in the current folder. In PowerShell, set the key with $env:TYPESAFE_API_KEY = "<your-key>".

commit-changelog --dry-run                                     # how each commit would be placed, the questions, a token estimate; sends nothing
commit-changelog ../my-plugin --from v1.2.0 --to v1.3.0        # another repository and an explicit range
commit-changelog --version-label 1.3.0 --write CHANGELOG.md    # add the section to the changelog file
commit-changelog --json > changelog.json
commit-changelog --threshold 0.9                               # stricter: more commits go to review
Option Default What it does
[repository] . A folder inside the git repository to read.
--from <ref> the last tag Start after this tag, branch or commit.
--to <ref> HEAD End at this tag, branch or commit.
--version-label <text> Unreleased The version in the heading: ## [1.3.0] - 2026-10-01, or ## [Unreleased] without a date.
--date <YYYY-MM-DD> today The release date in the heading. Needs --version-label.
--include-internal off Also list internal commits, under an Internal heading after Security.
--write <file> off Add the section to this changelog file (see below).
--threshold <p> 0.8 Confidence needed to place a commit. Above 0.5, at most 1.
--batch <n> 20 Commits per request, 1 to 50.
--timeout <seconds> 10 Time limit for each request. Rate limits (429) and overload (529) are retried three times.
--json off Print JSON: the range, the section, and every commit with its outcome and probabilities.
--dry-run off Print how each commit would be placed, one commit's questions and the token estimate. Needs no key and writes nothing.

Without --from, the range starts after the nearest tag reachable from --to. When --to itself carries that tag (you tagged the release already), it starts after the tag before, so the range is that release. Without any tag it covers every commit up to --to. Merge commits are skipped.

Environment: TYPESAFE_API_KEY (needed only when a commit has no conventional-commit prefix, and not for --dry-run) and TYPESAFE_MODEL (default jev-latest).

Exit codes: 0 when every commit was placed, 1 when at least one is in review, so a release job can stop for a person, and 2 on an error.

Writing to a changelog file

--write adds the section to the file and changes nothing else in it. The section goes above the newest release heading, below an [Unreleased] section at the top of the file, or at the end of a file without release headings. Line endings are kept. A missing file is created with a # Changelog title and one line about the format. When the file already has a section for the same version, the tool stops with exit code 2 before anything is sent to TypeSafe, and nothing is written. Commits in review are not written; add them by hand if they belong.

Example

examples/history.json describes a made-up history of a small invoice export tool, written for this example: 16 commits, the second one tagged v1.2.0. examples/run.mjs builds it as a throwaway git repository in a temporary folder and runs commit-changelog --version-label 1.3.0 --date 2026-10-01 on it. The probabilities come from examples/fixture-answers.json: they were written by hand for the tests, not recorded from TypeSafe, and show the report format. Your numbers will differ. node examples/run.mjs prints this report without a key or a network call.

commit-changelog: 14 commits in v1.2.0..HEAD (merge commits skipped)
Model jev-1.13.0, 1 request, 4,413 input tokens, threshold 0.8

listed 8   internal 4   review 2   (4 placed by their conventional-commit prefix, 10 asked)

## [1.3.0] - 2026-10-01

### Added

- feat(export): add a --since option
- Read settings from invoice-export.json when it exists

### Changed

- Stream rows while exporting instead of loading every invoice first

### Deprecated

- Deprecate the --format flag in favour of --output-format

### Removed

- Drop support for Node 18

### Fixed

- Stop the CSV export from dropping the last row
- fix: show a clear error when the output folder is missing

### Security

- Escape formula characters in CSV cells

Review: these commits were not placed. Add them to the section by hand if they belong.
  fbe5098  Tweak the cache
      changed 0.46, fixed 0.29, internal 0.19 (confidence 0.37) | affects users 0.58
      unclear which section, unclear if users notice it
  6eafc7c  Handle invoices without line items
      fixed 0.62, added 0.30, changed 0.08 (confidence 0.56) | affects users 0.90
      unclear which section

4 internal commits not listed. --include-internal lists them under Internal.

The four commits with a prefix were placed without Jev. "Tweak the cache" says too little to place, and "Handle invoices without line items" could be a fix or a feature, so both went to review. "Refactor the date helpers" and "Update test fixtures" came back internal. The same run with --json is in examples/report.json, and the dry run in examples/dry-run.txt.

What leaves your machine

Only when you run it with a key and without --dry-run, only for commits without a conventional-commit prefix, and only to https://api.typesafe.ai/v1/systemone:

  • each such commit's first line, and the rest of its message up to 1,200 characters, with trailer lines that carry an email address (Signed-off-by: and similar) removed and any other email address replaced by [email];
  • the names of up to 20 files the commit changed, and how many more it changed;
  • the fixed question text, question ids such as c3_section, and the model name;
  • your API key, in the Authorization header.

Commit hashes, authors, dates, diffs, file contents, tag and branch names and the repository path are not sent. Commits with a conventional-commit prefix are not sent at all. git runs on your machine with read-only commands (rev-parse, describe and log). The tool writes only the file you name with --write, and makes no other network requests, for telemetry, updates or anything else.

Limits

  • Jev sees the message and the file names, not the diff. A commit whose message says little ("Update", "WIP", "Tweak the cache") usually lands in review.
  • A commit that does two things gets one section.
  • Prefixes are trusted as written: a feat: commit that only renames a variable goes to Added without a check.
  • Entries are copied as they are. The tool does not tidy the wording, drop the prefix, add links or merge duplicates, and Markdown in a first line renders as Markdown. Link references at the bottom of the file are not added.
  • Documentation-only changes count as internal, the same as the docs: prefix.
  • Merge commits are skipped, so a change made only in a merge commit is missed.
  • The default range uses the nearest tag of any name. If you also tag nightly builds or deploys, pass --from. In a shallow clone, such as a CI checkout of one commit, fetch the history and the tags first (fetch-depth: 0 with actions/checkout).
  • English is where Jev is most accurate.
  • Text written to steer a model, such as "this is an internal change" in a commit message, can move Jev's answers.
  • Read the section and the review list before you release, and check a sample of placements on your own history before you rely on a threshold.

Token use

The input tokens of a request are its state (the first line, message body and changed file names of each commit sent) and its questions. The two questions add about 400 tokens for every commit sent, so most of the input is the questions. Commits with a conventional-commit prefix are never sent, so they add no tokens. By the tool's own estimate (four characters per token):

Run Requests Input tokens
The example: 10 of its 14 commits sent 1 about 4,400
100 commits without a body, 3 files each 5 about 45,000
500 commits with a short body, 3 files each 25 about 250,000
1,000 commits with a longer body, 5 files each 50 about 570,000

--dry-run prints the estimate for your own range before anything is sent. After a run, the report prints the input tokens TypeSafe counted.

License

MIT. Made by Hamza Ahmad Aslam, WordPress and web performance engineer.

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 @hamzaahmadaslam/commit-changelog

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

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

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

Copy of Template Design OX Blog (2)
Research

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

Frame 2085668439 (1)
Group 1261154229