Skip to content

Reduce FPs for common JS files#949

Merged
egibs merged 3 commits into
chainguard-dev:mainfrom
egibs:tweak-js-rules
May 22, 2025
Merged

Reduce FPs for common JS files#949
egibs merged 3 commits into
chainguard-dev:mainfrom
egibs:tweak-js-rules

Conversation

@egibs
Copy link
Copy Markdown
Member

@egibs egibs commented May 22, 2025

This PR tweaks the fromChar rules to ignore common JS files that we see when scanning packages.

Most of the failures are from .js and .ts files while some where from unrelated filetypes which will be addressed by #898.

Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs requested review from antitree and eslerm May 22, 2025 13:55
Comment thread rules/exec/remote_commands/code_eval.yara Outdated
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs requested a review from tstromberg May 22, 2025 15:37
@egibs egibs enabled auto-merge (squash) May 22, 2025 17:33
@egibs egibs disabled auto-merge May 22, 2025 17:33
@egibs egibs merged commit 0d03615 into chainguard-dev:main May 22, 2025
12 checks passed
@egibs egibs deleted the tweak-js-rules branch May 28, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants