@@ -14,6 +14,10 @@ added as external data), and are picked up by the standard security queries, all
14
14
about flow into, out of and through the npm packages as though they had been included as part of the
15
15
build.
16
16
17
+ Note that flow summaries are an experimental technology, and not ready to be used in production
18
+ queries or libraries. Also note that flow summaries do not currently work with CodeQL, but require
19
+ the legacy Semmle Core toolchain.
20
+
17
21
Motivating example
18
22
------------------
19
23
@@ -87,11 +91,11 @@ package. (Note that this requires a working installation of Semmle Core.)
87
91
There are three default summary extraction queries:
88
92
89
93
- Extract flow step summaries (``js/step-summary-extraction ``,
90
- ``Security /Summaries/ExtractSourceSummaries.ql ``)
94
+ ``experimental /Summaries/ExtractSourceSummaries.ql ``)
91
95
- Extract sink summaries (``js/sink-summary-extraction ``,
92
- ``Security /Summaries/ExtractSinkSummaries.ql ``)
96
+ ``experimental /Summaries/ExtractSinkSummaries.ql ``)
93
97
- Extract source summaries (``js/source-summary-extraction ``,
94
- ``Security /Summaries/ExtractSourceSummaries.ql ``)
98
+ ``experimental /Summaries/ExtractSourceSummaries.ql ``)
95
99
96
100
You can run these queries individually against a snapshot of the npm package you want to create
97
101
flow summaries for using ``odasa runQuery ``, and store the output as CSV files named
@@ -103,7 +107,7 @@ project, we can extract sink summaries using the command
103
107
.. code-block :: bash
104
108
105
109
odasa runQuery \
106
- --query $SEMMLE_DIST /queries/semmlecode-javascript-queries/Security /Summaries/ExtractSinkSummaries.ql \
110
+ --query $SEMMLE_DIST /queries/semmlecode-javascript-queries/experimental /Summaries/ExtractSinkSummaries.ql \
107
111
--output-file additional-sinks.csv --snapshot mkdirp-snapshot
108
112
109
113
0 commit comments