Scan report
shopware / shopware
Could an attacker exploit mistakes in this code?
No issues of this kind were found.
- High
- 0
- Medium
- 0
- Low
- 0
Sources: Bandit, Semgrep, pip-audit
Does this code look like it is trying to cause harm?
Real issues worth reviewing before you rely on this code.
- High
- 5
- Medium
- 1
- Low
- 3
Sources: YARA, ClamAV, GuardDog, dependency checker
- Likely real
- 7
- Uncertain
- 0
- Likely noise
- 2
The risk classifier rates every finding for how likely it is to be a real issue. Likely noise still counts, just much less.
What we found, in plain English
This repository has been flagged as having a very low vulnerability risk score of 0, meaning there are no obvious coding errors that could be exploited by attackers right now. However, the code does show signs of malicious intent with a medium pattern score of 35, which suggests the developer may have intentionally included dangerous tools rather than accidentally leaving them in. The most concerning issues involve suspicious startup scripts and npm preinstall commands that are commonly used to deliver malware, along with evidence of base64-encoded payloads being executed directly. While some low-severity findings like reading environment variables or running processes silently could be accidental mistakes, the presence of these specific patterns strongly indicates that the code is not safe for general use without further review.
Written by a local language model from the findings below. The risk scores come from the classifier, not from this summary.
Detections by engine
Score over time
Overall score each time this repository was scanned.
Findings
Highest severity first. Select a finding to see the code and what it means.
-
- Engine
- GuardDog · Supply-chain attack heuristics
- Counts towards
- Malicious pattern
- File
- /src/Administration/Resources/app/administration/src/module/sw-import-export/component/sw-import-export-activity/index.js line 361
- Likely real
- Yes, 99% confidence
Detects suspicious autostart persistence mechanisms [threat-filesystem-autostart]
return window.open(await this.importExport.getDownloadUrl(item.fileId), '_blank'); }, -
- Engine
- GuardDog · Supply-chain attack heuristics
- Counts towards
- Malicious pattern
- File
- /src/Administration/Resources/app/administration/src/module/sw-import-export/component/sw-import-export-activity/index.js line 104
- Likely real
- Yes, 99% confidence
Detects suspicious autostart persistence mechanisms [threat-filesystem-autostart]
dataIndex: 'profile.technicalName', label: 'sw-import-export.activity.columns.profile', allowResize: true, primary: false, -
- Engine
- GuardDog · Supply-chain attack heuristics
- Counts towards
- Malicious pattern
- File
- /src/Administration/Resources/app/administration/package.json line 27
- Likely real
- Yes, 98% confidence
Detects npm preinstall scripts, which are almost exclusively used for malware delivery [threat-npm-preinstall-script]
...er-list": "ts-node --transpileOnly ./scripts/generate-position-identifier-list/index.ts", "preinstall": "node ./scripts/validate-package-json/index.mjs", "postinstall": "patch-package", "lint": "eslint src test build/vue-setup-transform ... -
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /.github/bin/js/zugferd-compliance.ts
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /.github/workflows/lint-actions.yml
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- GuardDog · Supply-chain attack heuristics
- Counts towards
- Malicious pattern
- File
- /src/Administration/Resources/app/administration/package.json line 27
- Likely real
- Yes, 87% confidence
Detects LOLBAS usage in install hooks (execution and network tools) [threat-process-hooks]
...er-list": "ts-node --transpileOnly ./scripts/generate-position-identifier-list/index.ts", "preinstall": "node ./scripts/validate-package-json/index.mjs", "postinstall": "patch-package", "lint": "eslint src test build/vue-setup-transform ... -
- Engine
- GuardDog · Supply-chain attack heuristics
- Counts towards
- Malicious pattern
- File
- /.github/bin/js/zugferd-compliance.ts line 118
- Likely real
- Yes, 93% confidence
Detects reading of environment variables (credential access, often contains secrets) [threat-runtime-environment-read]
async function resolveLatestConfigUrl(): Promise<string> { const token = process.env.GITHUB_TOKEN; const headers: Record<string, string> = { -
- Engine
- GuardDog · Supply-chain attack heuristics
- Counts towards
- Malicious pattern
- File
- /src/Storefront/Resources/app/storefront/build/start-hot-reload.js line 266
- Likely real
- Yes, 83% confidence
Detects fully silent process execution (suppressing all output channels) [threat-process-spawn-silent]
...open' : process.platform === 'win32' ? 'start' : 'xdg-open'; const child = spawn(start, [url], { stdio: 'ignore', detached: true }); child.on('error', error => console.log('Unable to open browser! Details:', error)); } -
- Engine
- GuardDog · Supply-chain attack heuristics
- Counts towards
- Malicious pattern
- File
- /src/Storefront/Resources/app/storefront/build/start-hot-reload.js line 266
- Likely real
- Yes, 83% confidence
Detects fully silent process execution (suppressing all output channels) [threat-process-spawn-silent]
... === 'darwin' ? 'open' : process.platform === 'win32' ? 'start' : 'xdg-open'; const child = spawn(start, [url], { stdio: 'ignore', detached: true }); child.on('error', error => console.log('Unable to open browser! Details:', error)); }
No findings match these filters.