Skip to content

Commit 3afdfd4

Browse files
art1f1c3Rbehnazh-w
andauthored
Update docs/source/pages/tutorials/detect_malicious_package.rst
Co-authored-by: Behnaz Hassanshahi <[email protected]> Signed-off-by: Carl Flottmann <[email protected]>
1 parent dcd53c9 commit 3afdfd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/pages/tutorials/detect_malicious_package.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Note that the ``match`` constraint applies a regex pattern and can be expanded t
126126
Source Code Analysis
127127
''''''''''''''''''''
128128

129-
.. note:: This is a new feature recently added to Macaron in 2025.
129+
.. note:: This is a new feature recently added to Macaron.
130130

131131
Macaron supports static code analysis as a malware analysis heuristic. This can be enabled by supplying the command line argument ``--analyze-source``. Macaron uses the open-source static code analysis tool Semgrep to analyse the source code of a python package, looking for malicious code patterns defined in Macaron's own Semgrep rules. Example detection patterns include identifying attempts to obfuscate source code and detecting code that exfiltrates sensitive data to remote connections.
132132

0 commit comments

Comments
 (0)