Scan your whole stack
From OX Research Newsroom
Are you using @hamzaahmadaslam/commit-changelog?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.0
@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.
| Version | Published | Status |
|---|---|---|
| 1.0.0 LATEST | 26 Nov 2026 | No rules fired |
| 0.0.0-stage | 26 Nov 2026 | Not shown |
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.
The publisher’s own README, as collected from the registry.
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.
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.
Needs Node.js 20 or later and git.
npm install -g @hamzaahmadaslam/commit-changelog
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.
--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.
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.
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:
Signed-off-by: and similar) removed and any other email address replaced by [email];c3_section, and the model name;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.
feat: commit that only renames a variable goes to Added without a check.docs: prefix.--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).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.
MIT. Made by Hamza Ahmad Aslam, WordPress and web performance engineer.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.