Skip to content

Commit 9a85a27

Browse files
committed
feat: enhance rule for snyk advisor
1 parent 439c871 commit 9a85a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__template__/nodejs/security-vulnerabilities/security-scanning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ As an agent, you should always ensure that security vulnerabilities in the codeb
1212
## Package Health Review
1313

1414
When you suggest a package to be installed from the npm registry, you must ensure that the package is healthy, well-maintained. Use the following steps:
15-
- You must have access to a tool that fetches a website, such as `fetch`, Playwright's browser navigation, or a command-line tool like `curl` or `wget`.
15+
- You must have access to a tool that fetches a website, such as `fetch`, Playwright's browser navigation, or a command-line tool like `curl` or `wget`. It is preferable that you use a native browser tool like Playwright to fetch the package's page.
1616
- Once you have obtained access to a tool that fetches a website, you must check the package's health by visiting the package's page on the Snyk Advisor in this URL and format: `https://snyk.io/advisor/npm-package/<package-name>`. For example, for the package `express`, you would visit `https://snyk.io/advisor/npm-package/express`.
1717

1818
## Security Scanning of Third-Party Dependencies

0 commit comments

Comments
 (0)