discopy
DisCoPy is a Python library for computing with string diagrams, enabling advanced categorical computations and quantum circuit visualizations.
Install this skill
or
11/100
Security score
The discopy skill was audited on Mar 1, 2026 and we found 9 security issues across 2 threat categories, including 1 critical. Review the findings below before installing.
Categories Tested
Security Issues
high line 200
Eval function call - arbitrary code execution
SourceSKILL.md
| 200 | state_vector = bell.eval() # Returns Tensor[complex] |
high line 204
Eval function call - arbitrary code execution
SourceSKILL.md
| 204 | amplitude = experiment.eval().array |
high line 229
Eval function call - arbitrary code execution
SourceSKILL.md
| 229 | counts = circuit.eval(backend=backend, n_shots=1024) |
high line 361
Eval function call - arbitrary code execution
SourceSKILL.md
| 361 | contracted = (vector >> vector[::-1]).eval(contractor=tn.contractors.auto) |
critical line 462
Eval function call - arbitrary code execution
SourceSKILL.md
| 462 | | Quantum | Circuit.eval(), pytket/PennyLane integration | |
low line 14
External URL reference
SourceSKILL.md
| 14 | > — [@bmorphism](https://gist.github.com/bmorphism/ead83aec97dab7f581d49ddcb34a46d4), Play/Coplay gist |
low line 16
External URL reference
SourceSKILL.md
| 16 | **Active Inference Implementation**: DisCoPy provides the foundation for implementing [Active Inference in String Diagrams](https://arxiv.org/abs/2308.00861) (Tull, Kleiner, Smithe). The paper's core |
low line 21
External URL reference
SourceSKILL.md
| 21 | **Categorical Cybernetics**: DisCoPy's parametrised optics implement the cybernetic lens pattern from [Towards Foundations of Categorical Cybernetics](https://arxiv.org/abs/2105.06332), enabling the P |
low line 468
External URL reference
SourceSKILL.md
| 468 | **DeepWiki URL**: https://deepwiki.com/discopy/discopy |
Scanned on Mar 1, 2026
View Security Dashboard