GhostCode
Audit your Shopify theme for leftover app code, script tags and slow apps
GhostCode is a Shopify app that audits your theme, for merchants and the agencies who look after their stores. It finds leftover code from uninstalled apps, traced to the app it matches, and lists the apps that may stop working when Shopify ends script tags on March 1, 2027. It also shows what each app it can identify costs in page speed, flags scripts from known malicious domains and catches schema prices that disagree with your live prices. It only reads your theme and never edits it or removes code, so you or your developer decide what to change.
Free and paid plans available.
What GhostCode checks
- Speed cost per app. A lab speed test of your homepage and a product page, showing what each app it can identify costs in speed. Speed reports can repeat on a schedule.
- Malicious scripts. Scripts from known malicious domains in your theme files and on your live homepage.
- Apps in security reports. Code in your theme from apps named in a public security incident report, with a link to the report.
- Schema prices. Product prices in your structured data that disagree with the live price, which AI shopping tools could quote wrong. This check needs read access to products, which you can grant in the app.
- Script tag apps. Apps on your store that still load through script tags, which Shopify stops running on March 1, 2027.
- Leftover code from uninstalled apps. Scripts, styles, snippets and sections from apps that may no longer be installed, each traced to the app it matches, with the file, line and code. GhostCode finds this code; it doesn't remove it.
- Broken links and old checkout code. Links to deleted products or pages, once you grant products or pages access, and leftover checkout.liquid code.
How it works
Install
GhostCode asks only for read access to your theme. You can grant extra read-only access, such as products and pages, in the app to turn on more checks.
Scan
It reads your theme files from its own servers and loads your public homepage once to see which scripts run there.
Review and decide
Findings are grouped by what they cost you, each traced to the app it matches. You or your developer make any change in the theme code editor.
Who it's for
Shopify merchants, and the agencies who look after their stores, whose themes have collected apps over the years and who want to know what slows the store, whether anything risky is loading, and what uninstalled apps left behind, without giving an app write access to the theme.
Common questions
What happens to Shopify script tags on March 1, 2027?
Shopify stops loading script tags on storefront pages on that date, so an app that still relies on one may stop working on your store. GhostCode lists the script tags your store still loads, naming the app when it recognizes it, so you can ask each developer about an update or line up a replacement before then.
Does uninstalling a Shopify app remove its code from my theme?
Not always. App blocks, app embeds and script tags stop loading, but code an app wrote into your theme files stays until someone removes it. GhostCode finds code left behind by apps that may no longer be installed.
How do I find leftover code from uninstalled Shopify apps?
GhostCode scans your theme files for scripts, styles, snippets and sections from apps that may no longer be installed. Each finding shows the app it matches, the file, the line and the code itself. It doesn't remove anything, so you or your developer take the code out.
Which apps are slowing down my Shopify store?
GhostCode runs a lab speed test of your store and shows which apps it can identify cost the most page speed. It names only apps it recognizes, and apps are only one reason a store is slow.
Can GhostCode scan my Shopify store for malware?
Partly. It flags scripts from a list of known malicious domains in your theme files and on your live homepage. It isn't a full malware scanner: it reads your theme and homepage, not everything an app loads while shoppers browse, so a clean result doesn't prove nothing is wrong.
Does GhostCode change my theme or remove code?
No. It asks only for read access to your theme and never edits it or removes code. Every change stays in your hands.
Does GhostCode add scripts to my store?
No. It has no storefront script or theme app embed. Scans run from GhostCode's servers, each scan loads your public homepage once, and speed tests load your homepage and a product page in a lab test.
Is there a free plan?
Free and paid plans available. See the GhostCode listing on the Shopify App Store for features and plans.
Related guides
Get GhostCode
Free and paid plans available.