MCP, MCP server
Open Supermarkets
Grocery automation across ten retailers in seven countries — UK, Netherlands, Belgium, Spain, Hungary, the US and Canada.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit aff6880435ab, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
src/auth/login.ts, line 205
fs.unlinkSync(SESSION_FILE); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
scripts/claim-npm-names.sh, line 53
[[ "$(curl -s -o /dev/null -w '%{http_code}' "https://registry.npmjs.org/$1")" == "404" ]] - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
scripts/claim-npm-names.sh, line 53
[[ "$(curl -s -o /dev/null -w '%{http_code}' "https://registry.npmjs.org/$1")" == "404" ]] - SECRETS_PATH_DOTENV Low
Mentions a .env file.
fix-for-release.sh, line 84
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/cli-complete.ts, line 33
const password = options.password || process.env.SAINSBURYS_PASSWORD;
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
src/auth/login.ts, line 205
fs.unlinkSync(SESSION_FILE);
src/auth/login.ts, line 216
fs.unlinkSync(SESSION_FILE);
src/providers/ocado.ts, line 233
if (fs.existsSync(SESSION_FILE)) fs.unlinkSync(SESSION_FILE);
Show more
src/providers/sainsburys.ts, line 104
fs.unlinkSync(SESSION_FILE);
src/providers/tesco/auth.ts, line 318
fs.unlinkSync(SESSION_FILE);
src/providers/tesco-hu/session.ts, line 172
if (fs.existsSync(file)) fs.unlinkSync(file);
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach registry.npmjs.org. The description does not name that host. can reach a host that is not written as a fixed address. can reach www.instacart.com. The description does not name that host. can reach search.api.tesco.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
scripts/claim-npm-names.sh, line 53
[[ "$(curl -s -o /dev/null -w '%{http_code}' "https://registry.npmjs.org/$1")" == "404" ]]
skills/api/wrapper.js, line 15
const res = await fetch(url);
src/enrich/openfoodfacts.ts, line 107
const { data } = await axios.get(`${PRODUCT_API}/product/${encodeURIComponent(barcode)}.json`, {
Show more
src/enrich/openfoodfacts.ts, line 217
const { data } = await axios.get(`${SEARCH_API}/search`, {
src/providers/instacart-web.ts, line 132
const { data } = await this.http.get(ENDPOINT, {
src/providers/instacart-web.ts, line 158
' curl -s https://www.instacart.com/store/costco/storefront \\\n' +
src/providers/tesco/api.ts, line 141
const searchResp = await axios.get('https://search.api.tesco.com/search', {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
fix-for-release.sh, line 84
.env
fix-for-release.sh, line 85
.env.local
src/cli-complete.ts, line 33
const password = options.password || process.env.SAINSBURYS_PASSWORD;
Show more
src/cli.ts, line 83
options.password || process.env.SUPERMARKET_PASSWORD || process.env.GROC_PASSWORD;
src/http-server.ts, line 17
const apiToken = process.env.SUPERMARKET_API_TOKEN || process.env.GROC_API_TOKEN;
src/providers/instacart.ts, line 37
constructor(apiKey = process.env.INSTACART_API_KEY) {
src/providers/kroger.ts, line 69
clientSecret = process.env.KROGER_CLIENT_SECRET,
src/providers/sainsburys.ts, line 40
const password = process.env.SAINSBURYS_PASSWORD;
src/providers/tesco/auth.ts, line 140
const pwd = password || process.env.TESCO_PASSWORD || await askHidden('Password: ');
.dockerignore, line 7
*.log
.dockerignore, line 8
.env
.gitignore, line 26
# Environment
.gitignore, line 27
.env
fix-for-release.sh, line 83
# Environment
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit aff6880435ab. can delete files. can reach registry.npmjs.org. The description does not name that host. can reach a host that is not written as a fixed address. can reach www.instacart.com. The description does not name that host. can reach search.api.tesco.com. The description does not name that host. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: aff6880435ab3c43f4f79f3896dd4cf40142171c
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.