Commit fe17a28
feat(assail): exempt Julia *Ext.jl / ext/ dirs from DynamicCodeExecution
Julia's package-extension mechanism uses `eval` and `Meta.parse` as a
core idiom in `*Ext.jl` files (and the conventional `ext/<Name>.jl`
layout). Treating these as DCE findings produces mass false positives
in any Julia repository — julia-ecosystem#6 logged 209 findings with
~202 of them this pattern.
Match the shape of PR #53 (JSON-LD InsecureProtocol exemption): add a
small predicate at the detection site that subtracts the known-
idiomatic pattern before the WeakPoint is constructed. Regression
tests cover the *Ext.jl filename, ext/ directory, and non-extension
control case (which must still flag).
Closes the bulk of julia-ecosystem#6.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7935204 commit fe17a28
1 file changed
Lines changed: 59 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4457 | 4457 | | |
4458 | 4458 | | |
4459 | 4459 | | |
| 4460 | + | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
| 4466 | + | |
| 4467 | + | |
4460 | 4468 | | |
4461 | | - | |
| 4469 | + | |
| 4470 | + | |
| 4471 | + | |
4462 | 4472 | | |
4463 | 4473 | | |
4464 | 4474 | | |
| |||
7763 | 7773 | | |
7764 | 7774 | | |
7765 | 7775 | | |
| 7776 | + | |
| 7777 | + | |
| 7778 | + | |
| 7779 | + | |
| 7780 | + | |
| 7781 | + | |
| 7782 | + | |
| 7783 | + | |
| 7784 | + | |
| 7785 | + | |
| 7786 | + | |
| 7787 | + | |
| 7788 | + | |
| 7789 | + | |
| 7790 | + | |
| 7791 | + | |
| 7792 | + | |
| 7793 | + | |
| 7794 | + | |
| 7795 | + | |
| 7796 | + | |
| 7797 | + | |
| 7798 | + | |
| 7799 | + | |
| 7800 | + | |
| 7801 | + | |
| 7802 | + | |
| 7803 | + | |
| 7804 | + | |
| 7805 | + | |
| 7806 | + | |
| 7807 | + | |
| 7808 | + | |
| 7809 | + | |
| 7810 | + | |
| 7811 | + | |
| 7812 | + | |
| 7813 | + | |
| 7814 | + | |
| 7815 | + | |
| 7816 | + | |
| 7817 | + | |
| 7818 | + | |
| 7819 | + | |
| 7820 | + | |
| 7821 | + | |
| 7822 | + | |
| 7823 | + | |
7766 | 7824 | | |
0 commit comments