Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v6] binary download is not reported for phantomjs-prebuilt #317

Open
prabhu opened this issue Jun 26, 2024 · 0 comments
Open

[v6] binary download is not reported for phantomjs-prebuilt #317

prabhu opened this issue Jun 26, 2024 · 0 comments

Comments

@prabhu
Copy link
Member

prabhu commented Jun 26, 2024

This is a bit tricky since the download url is constructed in one place and passed to request-progress dependency to perform the actual download.

https://github.com/Medium/phantomjs/blob/master/package.json#L38
https://github.com/Medium/phantomjs/blob/af7ba2a4e3b51f835302fafc0091ed2be6a27e1a/lib/util.js#L92
https://github.com/Medium/phantomjs/blob/af7ba2a4e3b51f835302fafc0091ed2be6a27e1a/install.js#L147
https://github.com/Medium/phantomjs/blob/af7ba2a4e3b51f835302fafc0091ed2be6a27e1a/install.js#L227

❯ python depscan/cli.py --purl "pkg:npm/[email protected]" --reports-dir /tmp/reports

██████╗ ███████╗██████╗ ███████╗ ██████╗ █████╗ ███╗   ██╗
██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗████╗  ██║
██║  ██║█████╗  ██████╔╝███████╗██║     ███████║██╔██╗ ██║
██║  ██║██╔══╝  ██╔═══╝ ╚════██║██║     ██╔══██║██║╚██╗██║
██████╔╝███████╗██║     ███████║╚██████╗██║  ██║██║ ╚████║
╚═════╝ ╚══════╝╚═╝     ╚══════╝ ╚═════╝╚═╝  ╚═╝╚═╝  ╚═══╝

                                                               Risk Audit Summary (npm)
╔═════════════════════════════════════════════════╤═════════════════╤═════════════════════════════╤══════════════════════════════════════════════════╗
║ Package                                         │ Used?           │                  Risk Score │ Identified Risks                                 ║
╟─────────────────────────────────────────────────┼─────────────────┼─────────────────────────────┼──────────────────────────────────────────────────╢
║ phantomjs-prebuilt                              │ N/A             │                        0.12 │ ❌ Deprecated                                    ║
║                                                 │                 │                             │ ⚠ No recent updates                              ║
╚═════════════════════════════════════════════════╧═════════════════╧═════════════════════════════╧══════════════════════════════════════════════════╝
INFO [2024-06-26 07:49:36,358] No oss vulnerabilities detected ✅
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

No branches or pull requests

1 participant