aboutcode-org / aboutcode-org/scancode-toolkit

Detections on binary files by assumingly interpreting it as text

Open
#2,768 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

When scanning some larger projects we noticed that unextracted archives will be scanned by Scancode for licenses, leading e.g. to detections on an .tar archive based on it containing a packaged LICENSE-file. We are assuming that this impacts all binary files.
This would mean that interpreting any binary as text could lead to wrong detections depending on what is decoded from the binary.

### How To Reproduce

Scan a binary file with Scancode.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.