
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@by-association-only/translation-checker
Advanced tools
Check Shopify theme translations match those used in local liquid files.
Correctly set up, this script will prevent any files being deployed until all of the translations used in the local theme files are present on the live theme.
It runs in the terminal, and sits in front of any Shopify CLI theme comands.
npm i @by-association-only/translation-checker --save-dev or yarn install @by-association-only/translation-checker --save-dev
Add a config file in the root .bao-translation-checker
List each store name on a separate line (the part before .myshopify.com).
Example: If your stores are:
You would enter:
acmestore
acmestore-us
Replace 'npm' with yarn/pnpm depending on the project
"scripts": {
...
"deploy": "npm run translations:check && npm run deploy:all",
"deploy:all": "npm run deploy:uk && npm run deploy:us",
"deploy:uk": "...",
"deploy:us": "...",
"shopify": "shopify",
"translations:check": "npm run shopify theme info && bao-translation-checker"
}
Because the script exits with process.exit(1), it will prevent any further commands running if it finds any missing translations.
Please make sure you are using Shopify CLI v3.71+ and Node v18.20+ before continuing
If the theme repo you're installing on does not have Shopify CLI, please run npm i @shopify/cli --save-dev
This means you're not logged into the CLI, or the CLI version is too old. It can be in issue on older themes that don't use the Shopify CLI, as this script cannot pass on the CLI's interactive login prompt.
To get around this, edit your package.json to include a 'shopify' command prior to running the translation checker. This will force a login prompt to be sent to your terminal. For example:
"scripts": {
...
"deploy": "yarn translations:check && unisian-tools deploy --skipPrompts",
"translations:check": "yarn run shopify theme info && bao-translation-checker",
"shopify": "shopify"
},
If you're not authenticated, you'll now see the 'press any key to open in browser' terminal prompt from Shopify.
Use node version 18+ to run the translation checker.
The en.default.json file on the live theme likely contains invalid JSON.
The terminal should give you an idea where the error is:
Go into the code editor and fix the issue shown in the terminal.
If that doesn't resolve it, copy en.default.json out from the code editor and run through a JSON validator like https://jsonlint.com/ to find the issue.
FAQs
Check Shopify theme translations match those used in local liquid files.
We found that @by-association-only/translation-checker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.