Closed ikretz closed 4 months ago
This PR changes GuardDog's behavior in the case of a local directory scan so that it expects the directory to contain a package. This makes it so that a local scan always expects a (possibly zipped) package directory as its target.
$ guarddog pypi scan ~/Downloads/requests-2.32.3.tar.gz Found 0 potentially malicious indicators scanning ~/Downloads/requests-2.32.3.tar.gz $ tar -xf ~/Downloads/requests-2.32.3.tar.gz -C ~/Downloads $ guarddog pypi scan ~/Downloads/requests-2.32.3 Found 0 potentially malicious indicators scanning ~/Downloads/requests-2.32.3 $
Closes #425
This PR changes GuardDog's behavior in the case of a local directory scan so that it expects the directory to contain a package. This makes it so that a local scan always expects a (possibly zipped) package directory as its target.
Closes #425