Convoluted windows shortcut code causing security problems
Maintainers usually reply within 1 day
Assessment
This issue has not been assessed yet.
Description
Checklist
- I added a descriptive title
- I searched open reports and couldn't find a duplicate
What happened?
When creating a shortcut on Windows, the code that the shortcut is running is something like this:
C:\WINDOWS\system32\cmd.exe /D /C START /MIN "" "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -WindowStyle hidden "start 'C:\Users\path\to\miniforge3\envs\myapp_env\Menu\myapp 1.0.0.bat' -WindowStyle hidden"
Something about this is being flagged by our security software as malicious. Why is it so convoluted? Is there an easier way than having one shell calling another shell and having multiple hidden flags in the mix?
- Dominant language
- Python
- Stars
- 50
- Forks
- 49
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from conda/menuinst
-
CMD shell activation changed in `conda 25.3.0`Possibly taken @marcoesters claimed this 78 days ago. Openstale::recovered type::bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
conda/menuinst#321 · 13 comments ·
Maintainers usually reply within 1 day
-
Limitations on Linux/Freedesktop platformsPossibly taken @haecker-felix claimed this 1 day ago. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
conda/menuinst#586 · 4 comments ·
Maintainers usually reply within 1 day
-
Windows shortcuts can silently omit CONDA_PREFIX / env config vars from the activation scriptPossibly taken @marcoesters claimed this 78 days ago. Opentype::bug
Difficulty 3/5 1-2 days Newbie friendliness 72/100
conda/menuinst#545 · 6 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Option to set Windows shortcut Minimized or Maximized propertyMay be free again @lrandersson claimed this 198 days ago, and no pull request is open. Opentype::feature
conda/menuinst#484 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Add --set-global-placeholder CLI flag for custom placeholdersMay be free again @lrandersson claimed this 202 days ago, and no pull request is open. Opentype::feature
conda/menuinst#479 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
plone/plone.observability#114 ·
Maintainers usually reply within 1 day
-
area:docs type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jejjohnson/gauss_flows#246 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openvax/varcode#824 · 1 comment ·
Maintainers usually reply within 1 day
-
netbox status: needs triage type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
netbox-community/netbox#23868 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
emeryberger/CSrankings#15757 ·
Maintainers usually reply within 9 days