Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
fix: missing parsing_error in english and french list
Browse files Browse the repository at this point in the history
  • Loading branch information
halcin committed Jun 23, 2023
1 parent 158c51a commit 8595df1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
12 changes: 11 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ <h1>NodeSecure - i18n</h1>

<tr>
<td>parsing_error</td>
<td>An error occured when parsing the JavaScript code with meriyah. It mean that the conversion from string to AST as failed. If you encounter such an error, please open an issue here.</td>
<td>An error occured when parsing the JavaScript code with meriyah. It mean that the conversion from string to AST has failed. If you encounter such an error, please open an issue here.</td>
</tr>

<tr>
Expand Down Expand Up @@ -872,6 +872,11 @@ <h1>NodeSecure - i18n</h1>
<td>An encoded literal has been detected (it can be an hexa value, unicode sequence, base64 string etc)</td>
</tr>

<tr>
<td>suspicious_file</td>
<td>A suspicious file with more than ten encoded-literal in it.</td>
</tr>

<tr>
<td>short_identifiers</td>
<td>This mean that all identifiers has an average length below 1.5. Only possible if the file contains more than 5 identifiers.</td>
Expand Down Expand Up @@ -942,6 +947,11 @@ <h1>NodeSecure - i18n</h1>
<td>Cela signifie que la somme des scores suspects de tous les littéraux est supérieure à 3.</td>
</tr>

<tr>
<td>suspicious_file</td>
<td>Un fichier suspect contenant plus de dix littéraux encodés.</td>
</tr>

<tr>
<td>obfuscated_code</td>
<td>Il y a une très forte probabilité que le code soit obscurci...</td>
Expand Down
1 change: 1 addition & 0 deletions languages/english.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const sast_warnings = {
unsafe_stmt: "Usage of dangerous statement like eval() or Function(\"\").",
unsafe_assign: "Assignment of a protected global like process or require.",
encoded_literal: "An encoded literal has been detected (it can be an hexa value, unicode sequence, base64 string etc)",
suspicious_file: "A suspicious file with more than ten encoded-literal in it.",
short_identifiers: "This mean that all identifiers has an average length below 1.5. Only possible if the file contains more than 5 identifiers.",
suspicious_literal: "This mean that the sum of suspicious score of all Literals is bigger than 3.",
obfuscated_code: "There's a very high probability that the code is obfuscated...",
Expand Down
1 change: 1 addition & 0 deletions languages/french.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ const sast_warnings = {
encoded_literal: "Un code littérale a été découvert (il peut s'agir d'une valeur hexa, d'une séquence unicode, d'une chaîne de caractères base64, etc.)",
short_identifiers: "Cela signifie que tous les identifiants ont une longueur moyenne inférieure à 1,5. Seulement possible si le fichier contient plus de 5 identifiants.",
suspicious_literal: "Cela signifie que la somme des scores suspects de tous les littéraux est supérieure à 3.",
suspicious_file: "Un fichier suspect contenant plus de dix littéraux encodés.",
obfuscated_code: "Il y a une très forte probabilité que le code soit obscurci...",
weak_crypto: "Le code contient probablement un algorithme de chiffrement faiblement sécurisé (md5, sha1...).",
shady_link: "Un Literal (string) contient une URL vers un domaine avec une extension suspecte."
Expand Down

0 comments on commit 8595df1

Please sign in to comment.