Skip to content

Commit abd8761

Browse files
erik-kroghesbena
andauthored
update qhelp with suggestions
Co-authored-by: Esben Sparre Andreasen <[email protected]>
1 parent debebb2 commit abd8761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/Security/CWE-300/InsecureDependencyResolution.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ infect the build artifacts and execute arbitrary code on the machine building th
1616
</overview>
1717
<recommendation>
1818

19-
<p>Always use HTTPS or SFTP when downloading artifacts from an URL.</p>
19+
<p>Always use a secure protocol, such as HTTPS or SFTP, when downloading artifacts from an URL.</p>
2020

2121
</recommendation>
2222

2323
<example>
2424
<p>
25-
The below example shows a <code>package.json</code> file that downloads a dependency using unencrypted HTTP.
25+
The below example shows a <code>package.json</code> file that downloads a dependency using the insecure HTTP protocol.
2626
</p>
2727
<sample src="examples/bad-package.json" />
2828
<p>

0 commit comments

Comments
 (0)