mobbdev 0.0.182 → 0.0.183

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -122,6 +122,7 @@ var IssueType_Enum = /* @__PURE__ */ ((IssueType_Enum2) => {
122
122
  IssueType_Enum2["HardcodedDomainInHtml"] = "HARDCODED_DOMAIN_IN_HTML";
123
123
  IssueType_Enum2["HardcodedSecrets"] = "HARDCODED_SECRETS";
124
124
  IssueType_Enum2["HeaderManipulation"] = "HEADER_MANIPULATION";
125
+ IssueType_Enum2["HeapInspection"] = "HEAP_INSPECTION";
125
126
  IssueType_Enum2["HtmlCommentInJsp"] = "HTML_COMMENT_IN_JSP";
126
127
  IssueType_Enum2["HttpOnlyCookie"] = "HTTP_ONLY_COOKIE";
127
128
  IssueType_Enum2["HttpResponseSplitting"] = "HTTP_RESPONSE_SPLITTING";
@@ -1547,7 +1548,11 @@ var fixDetailsData = {
1547
1548
  fixInstructions: "Use express-rate-limit npm package to set a rate limit."
1548
1549
  },
1549
1550
  ["MISSING_CSP_HEADER" /* MissingCspHeader */]: void 0,
1550
- ["HARDCODED_DOMAIN_IN_HTML" /* HardcodedDomainInHtml */]: void 0
1551
+ ["HARDCODED_DOMAIN_IN_HTML" /* HardcodedDomainInHtml */]: void 0,
1552
+ ["HEAP_INSPECTION" /* HeapInspection */]: {
1553
+ issueDescription: "All variables stored by the application in unencrypted memory can be read by an attacker. This can lead to the exposure of sensitive information, such as passwords, credit card numbers, and personal data.",
1554
+ fixInstructions: "Use secure storage methods to store secrets in memory."
1555
+ }
1551
1556
  };
1552
1557
 
1553
1558
  // src/features/analysis/scm/shared/src/getIssueType.ts
@@ -1625,7 +1630,8 @@ var issueTypeMap = {
1625
1630
  ["UNVALIDATED_PUBLIC_METHOD_ARGUMENT" /* UnvalidatedPublicMethodArgument */]: "Unvalidated Public Method Argument",
1626
1631
  ["AUTO_ESCAPE_FALSE" /* AutoEscapeFalse */]: "Auto-escape False",
1627
1632
  ["MISSING_CSP_HEADER" /* MissingCspHeader */]: "Missing CSP Header",
1628
- ["HARDCODED_DOMAIN_IN_HTML" /* HardcodedDomainInHtml */]: "Hardcoded Domain in HTML"
1633
+ ["HARDCODED_DOMAIN_IN_HTML" /* HardcodedDomainInHtml */]: "Hardcoded Domain in HTML",
1634
+ ["HEAP_INSPECTION" /* HeapInspection */]: "Heap Inspection"
1629
1635
  };
1630
1636
  var issueTypeZ = z4.nativeEnum(IssueType_Enum);
1631
1637
  var getIssueTypeFriendlyString = (issueType) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "0.0.182",
3
+ "version": "0.0.183",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "git+https://github.com/mobb-dev/bugsy.git",
6
6
  "main": "dist/index.js",