@portll/cobolwork 0.3.0 → 0.4.0
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.
- package/README.md +19 -9
- package/lib/cics-commands.mjs +308 -42
- package/lib/consequence.mjs +6 -0
- package/lib/dataflow.mjs +54 -23
- package/lib/explain.mjs +31 -5
- package/lib/exploitability.mjs +49 -4
- package/lib/gate.mjs +31 -9
- package/lib/kernel/findings.mjs +2 -0
- package/lib/kernel/registry.mjs +2 -0
- package/lib/kernel/source-tree.mjs +1 -0
- package/lib/options.mjs +6 -2
- package/lib/packs.mjs +4 -0
- package/lib/parser.mjs +67 -12
- package/lib/precompile-cics.mjs +9 -3
- package/lib/precompile.mjs +3 -2
- package/lib/revision.json +1 -1
- package/lib/sarif.mjs +3 -2
- package/lib/scan.mjs +2 -1
- package/lib/sets/abend.mjs +148 -0
- package/lib/sets/compile.mjs +2 -1
- package/lib/sets/hidden.mjs +1 -1
- package/lib/sets/jcl.mjs +1 -0
- package/lib/sets/recon.mjs +1 -0
- package/lib/utilities.mjs +2 -0
- package/lib/verify.mjs +2 -1
- package/lib/words.mjs +377 -17
- package/package.json +1 -1
- package/rules/compliance-cobit2019.json +48 -0
- package/rules/compliance-dora.json +52 -0
- package/rules/compliance-ffiec.json +52 -0
- package/rules/compliance-nist80053.json +52 -0
|
@@ -1640,6 +1640,58 @@
|
|
|
1640
1640
|
"quote": "minimise the risk of corruption or loss of data, unauthorised access and technical flaws that may hinder business activity"
|
|
1641
1641
|
}
|
|
1642
1642
|
},
|
|
1643
|
+
{
|
|
1644
|
+
"kind": "compliance",
|
|
1645
|
+
"ruleId": "input-causes-abend",
|
|
1646
|
+
"framework": "dora",
|
|
1647
|
+
"clause": "Article 9(3)(b)",
|
|
1648
|
+
"title": "Protection and prevention",
|
|
1649
|
+
"rationale": "The rule reports: An input the program accepts ends its run with an abend. That is a technical flaw permitting unauthorised access or data corruption, which this clause requires be minimised.",
|
|
1650
|
+
"source": {
|
|
1651
|
+
"doc": "dora",
|
|
1652
|
+
"retrieved": "2026-09-20",
|
|
1653
|
+
"quote": "minimise the risk of corruption or loss of data, unauthorised access and technical flaws that may hinder business activity"
|
|
1654
|
+
}
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"kind": "compliance",
|
|
1658
|
+
"ruleId": "input-causes-abend-s0c4",
|
|
1659
|
+
"framework": "dora",
|
|
1660
|
+
"clause": "Article 9(3)(b)",
|
|
1661
|
+
"title": "Protection and prevention",
|
|
1662
|
+
"rationale": "The rule reports: An input the program accepts ends its run with a protection exception (S0C4). That is a technical flaw permitting unauthorised access or data corruption, which this clause requires be minimised.",
|
|
1663
|
+
"source": {
|
|
1664
|
+
"doc": "dora",
|
|
1665
|
+
"retrieved": "2026-09-20",
|
|
1666
|
+
"quote": "minimise the risk of corruption or loss of data, unauthorised access and technical flaws that may hinder business activity"
|
|
1667
|
+
}
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"kind": "compliance",
|
|
1671
|
+
"ruleId": "input-causes-abend-s0c7",
|
|
1672
|
+
"framework": "dora",
|
|
1673
|
+
"clause": "Article 9(3)(b)",
|
|
1674
|
+
"title": "Protection and prevention",
|
|
1675
|
+
"rationale": "The rule reports: An input the program accepts ends its run with a data exception (S0C7). That is a technical flaw permitting unauthorised access or data corruption, which this clause requires be minimised.",
|
|
1676
|
+
"source": {
|
|
1677
|
+
"doc": "dora",
|
|
1678
|
+
"retrieved": "2026-09-20",
|
|
1679
|
+
"quote": "minimise the risk of corruption or loss of data, unauthorised access and technical flaws that may hinder business activity"
|
|
1680
|
+
}
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "compliance",
|
|
1684
|
+
"ruleId": "input-causes-abend-subscript-range",
|
|
1685
|
+
"framework": "dora",
|
|
1686
|
+
"clause": "Article 9(3)(b)",
|
|
1687
|
+
"title": "Protection and prevention",
|
|
1688
|
+
"rationale": "The rule reports: An input the program accepts drives a subscript or reference modification out of range, and the run abends. That is a technical flaw permitting unauthorised access or data corruption, which this clause requires be minimised.",
|
|
1689
|
+
"source": {
|
|
1690
|
+
"doc": "dora",
|
|
1691
|
+
"retrieved": "2026-09-20",
|
|
1692
|
+
"quote": "minimise the risk of corruption or loss of data, unauthorised access and technical flaws that may hinder business activity"
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1643
1695
|
{
|
|
1644
1696
|
"kind": "compliance",
|
|
1645
1697
|
"ruleId": "intermediate-result-loses-high-order-digits",
|
|
@@ -1649,6 +1649,58 @@
|
|
|
1649
1649
|
"quote": "Secure coding practices help developers minimize the potential for known source code-related vulnerabilities in the development phase."
|
|
1650
1650
|
}
|
|
1651
1651
|
},
|
|
1652
|
+
{
|
|
1653
|
+
"kind": "compliance",
|
|
1654
|
+
"ruleId": "input-causes-abend",
|
|
1655
|
+
"framework": "ffiec",
|
|
1656
|
+
"clause": "DA&M V",
|
|
1657
|
+
"title": "Development",
|
|
1658
|
+
"rationale": "The rule reports: An input the program accepts ends its run with an abend. That is a source code-related vulnerability of the kind secure coding practices exist to minimise.",
|
|
1659
|
+
"source": {
|
|
1660
|
+
"doc": "ffiec",
|
|
1661
|
+
"retrieved": "2026-09-20",
|
|
1662
|
+
"quote": "Secure coding practices help developers minimize the potential for known source code-related vulnerabilities in the development phase."
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"kind": "compliance",
|
|
1667
|
+
"ruleId": "input-causes-abend-s0c4",
|
|
1668
|
+
"framework": "ffiec",
|
|
1669
|
+
"clause": "DA&M V",
|
|
1670
|
+
"title": "Development",
|
|
1671
|
+
"rationale": "The rule reports: An input the program accepts ends its run with a protection exception (S0C4). That is a source code-related vulnerability of the kind secure coding practices exist to minimise.",
|
|
1672
|
+
"source": {
|
|
1673
|
+
"doc": "ffiec",
|
|
1674
|
+
"retrieved": "2026-09-20",
|
|
1675
|
+
"quote": "Secure coding practices help developers minimize the potential for known source code-related vulnerabilities in the development phase."
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"kind": "compliance",
|
|
1680
|
+
"ruleId": "input-causes-abend-s0c7",
|
|
1681
|
+
"framework": "ffiec",
|
|
1682
|
+
"clause": "DA&M V",
|
|
1683
|
+
"title": "Development",
|
|
1684
|
+
"rationale": "The rule reports: An input the program accepts ends its run with a data exception (S0C7). That is a source code-related vulnerability of the kind secure coding practices exist to minimise.",
|
|
1685
|
+
"source": {
|
|
1686
|
+
"doc": "ffiec",
|
|
1687
|
+
"retrieved": "2026-09-20",
|
|
1688
|
+
"quote": "Secure coding practices help developers minimize the potential for known source code-related vulnerabilities in the development phase."
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "compliance",
|
|
1693
|
+
"ruleId": "input-causes-abend-subscript-range",
|
|
1694
|
+
"framework": "ffiec",
|
|
1695
|
+
"clause": "DA&M V",
|
|
1696
|
+
"title": "Development",
|
|
1697
|
+
"rationale": "The rule reports: An input the program accepts drives a subscript or reference modification out of range, and the run abends. That is a source code-related vulnerability of the kind secure coding practices exist to minimise.",
|
|
1698
|
+
"source": {
|
|
1699
|
+
"doc": "ffiec",
|
|
1700
|
+
"retrieved": "2026-09-20",
|
|
1701
|
+
"quote": "Secure coding practices help developers minimize the potential for known source code-related vulnerabilities in the development phase."
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1652
1704
|
{
|
|
1653
1705
|
"kind": "compliance",
|
|
1654
1706
|
"ruleId": "intermediate-result-loses-high-order-digits",
|
|
@@ -1649,6 +1649,58 @@
|
|
|
1649
1649
|
"quote": "Check the validity of the following information inputs"
|
|
1650
1650
|
}
|
|
1651
1651
|
},
|
|
1652
|
+
{
|
|
1653
|
+
"kind": "compliance",
|
|
1654
|
+
"ruleId": "input-causes-abend",
|
|
1655
|
+
"framework": "nist-800-53r5",
|
|
1656
|
+
"clause": "SI-10",
|
|
1657
|
+
"title": "Information Input Validation",
|
|
1658
|
+
"rationale": "The rule reports: An input the program accepts ends its run with an abend. That is an information input reaching an operation without its validity having been checked, which is what this control requires.",
|
|
1659
|
+
"source": {
|
|
1660
|
+
"doc": "nist80053",
|
|
1661
|
+
"retrieved": "2026-09-20",
|
|
1662
|
+
"quote": "Check the validity of the following information inputs"
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"kind": "compliance",
|
|
1667
|
+
"ruleId": "input-causes-abend-s0c4",
|
|
1668
|
+
"framework": "nist-800-53r5",
|
|
1669
|
+
"clause": "SI-10",
|
|
1670
|
+
"title": "Information Input Validation",
|
|
1671
|
+
"rationale": "The rule reports: An input the program accepts ends its run with a protection exception (S0C4). That is an information input reaching an operation without its validity having been checked, which is what this control requires.",
|
|
1672
|
+
"source": {
|
|
1673
|
+
"doc": "nist80053",
|
|
1674
|
+
"retrieved": "2026-09-20",
|
|
1675
|
+
"quote": "Check the validity of the following information inputs"
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"kind": "compliance",
|
|
1680
|
+
"ruleId": "input-causes-abend-s0c7",
|
|
1681
|
+
"framework": "nist-800-53r5",
|
|
1682
|
+
"clause": "SI-10",
|
|
1683
|
+
"title": "Information Input Validation",
|
|
1684
|
+
"rationale": "The rule reports: An input the program accepts ends its run with a data exception (S0C7). That is an information input reaching an operation without its validity having been checked, which is what this control requires.",
|
|
1685
|
+
"source": {
|
|
1686
|
+
"doc": "nist80053",
|
|
1687
|
+
"retrieved": "2026-09-20",
|
|
1688
|
+
"quote": "Check the validity of the following information inputs"
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "compliance",
|
|
1693
|
+
"ruleId": "input-causes-abend-subscript-range",
|
|
1694
|
+
"framework": "nist-800-53r5",
|
|
1695
|
+
"clause": "SI-10",
|
|
1696
|
+
"title": "Information Input Validation",
|
|
1697
|
+
"rationale": "The rule reports: An input the program accepts drives a subscript or reference modification out of range, and the run abends. That is an information input reaching an operation without its validity having been checked, which is what this control requires.",
|
|
1698
|
+
"source": {
|
|
1699
|
+
"doc": "nist80053",
|
|
1700
|
+
"retrieved": "2026-09-20",
|
|
1701
|
+
"quote": "Check the validity of the following information inputs"
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1652
1704
|
{
|
|
1653
1705
|
"kind": "compliance",
|
|
1654
1706
|
"ruleId": "intermediate-result-loses-high-order-digits",
|