Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/neutralize-control-chars.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @codacy/codacy-cloud-cli

## 1.6.1

### Patch Changes

- [#30](https://github.com/codacy/codacy-cloud-cli/pull/30) [`12c1a33`](https://github.com/codacy/codacy-cloud-cli/commit/12c1a332f41163298344e794bf6ce2dee4a95366) Thanks [@alerizzo](https://github.com/alerizzo)! - Neutralize terminal control characters in human-readable output (CWE-150).
Repository-derived values shown by the CLI — PR and finding titles, author
names, branches, file paths, diff and file content, issue messages, and package
names — are now stripped of ANSI/OSC escape and other control bytes before being
printed, so a crafted pull request can no longer repaint or hide findings, spoof
gate status, or trigger terminal side effects (e.g. clipboard writes) when you
run the CLI against it. Offending bytes are shown in visible caret notation
(e.g. `^[`) instead of being interpreted. `--output json` is unaffected — it
still returns the original values, escaped by JSON encoding.

## 1.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codacy/codacy-cloud-cli",
"version": "1.6.0",
"version": "1.6.1",
"description": "A command-line tool to interact with Codacy Cloud from your terminal",
"homepage": "https://www.codacy.com",
"repository": {
Expand Down