linkedin-mcp@0.1.0
CAUTION· install onlyPublisher claims: "Enables AI agents to read the signed-in member's basic LinkedIn profile details and publish text posts to their feed through LinkedIn's official OAuth 2.0 API, using locally stored credentials." In our sandbox: Install scripts ran; no agent task scenario for this bundle.
Coverage
Install scripts ran; no agent task scenario for this bundle.- Tested
- install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-09, [email protected] read 7 files and called 1 host, and its code names 7 environment variables. Coverage: install only.
Files read
- ~/.npm/_cacache/index-v5/0b/bf/4226971e16d707d9180cd9fe4d4c5d07b40fa7d4311fe932f69a7fce4e53
- ~/.npm/_cacache/index-v5/1a/fd/532a4c7bf52c908d567ded2bb11b0f3282f0733d0d079a5291c2f72e0077
- ~/.npm/_cacache/index-v5/82/1f/bc6ddfe7826874158ab240154ebbd8569ff129493af149bcc64cca3537c1
- ~/.npm/_cacache/index-v5/88/5d/25679281b30cf75a621bf8d7e1b724abec207e5af6227dfcf8f503319558
- ~/.npm/_cacache/index-v5/e1/c1/b652b100dbb3a5a73667352080ee1a3571f2367294dfaedabb31c272d1c0
- ~/.npm/_logs
- ~/.npmrcplanted decoycredential path
Hosts called
- registry.npmjs.orgdeclared
Environment variables its code names
CONTACT_EMAIL, LINKEDIN_CLIENT_ID, LINKEDIN_CLIENT_SECRET, LINKEDIN_REDIRECT_URI, MCP_RESOURCE, OAUTH_KV, OAUTH_PROVIDER
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- use of the skill by an agent
| Run date | 2026-11-09 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try linkedin-mcp |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
LINKEDIN_CLIENT_SECRETOAUTH_KVOAUTH_PROVIDERConfiguration, not credentials: CONTACT_EMAIL, LINKEDIN_CLIENT_ID, LINKEDIN_REDIRECT_URI, MCP_RESOURCE- Where it talks to
- linkedin.com (its own)Also githubusercontent.com, workers.dev, opencode.ai — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- read ~/.npmrc · reached only registry.npmjs.org
- What we could not test
- use of the skill by an agent
Connect it only under the guard, with no real credential files on the machine it runs on. It read ~/.npmrc, which is nothing an MCP server needs from a user. `--contain` makes those directories unreadable.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; install scripts ran; no agent task scenario for this bundle) on 2026-11-09 and scored it 58/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Pipe-to-shell pattern; Access to sensitive file paths; Access to sensitive file paths. Summary: reads credential files.
Behavior trace
Honeypot run · 10 s · 2 scenariosStatic findings
gemini: ["mcpServers", { httpUrl: url }],Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.# curl -fsSL https://raw.githubusercontent.com/aigamer-dev/linkedin-mcp/main/install.sh | bash -s -- --hostedFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.npm run auth # build + one-off OAuth flow (needs .env; opens a localhost:3000 listener)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- **Never read, print, commit or log** `.env`, `~/.config/linkedin-mcp/token.json`, client secrets or access tokens. Tests must run with an empty `HOME` and no network.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- `src/index.ts`: server and tools. `src/auth.ts`: OAuth helper. `src/config.ts`: `.env` loading, scopes, token storage.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# curl -fsSL https://raw.githubusercontent.com/aigamer-dev/linkedin-mcp/main/install.sh | bash -s -- --hostedFix: Pin versions and sources; vendor anything fetched at install time.// Minimal .env loader (no extra dependency). Real env vars win.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# curl -fsSL https://raw.githubusercontent.com/aigamer-dev/linkedin-mcp/main/install.sh | bashFix: Pin versions and sources; vendor anything fetched at install time.cp "$INSTALL_DIR/.env.example" "$INSTALL_DIR/.env" && chmod 600 "$INSTALL_DIR/.env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.$INSTALL_DIR/.envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# curl -fsSL https://raw.githubusercontent.com/aigamer-dev/linkedin-mcp/main/install.sh | bash -s -- --hostedFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.run("add-remote", f, "mcpServers", "linkedin", "https://example.com/mcp");Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.assert.equal(run("add-remote", f, "mcpServers", "linkedin", "file:///etc/passwd").status, 2);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if [ "$DRY" = 0 ] && [ ! -f "$INSTALL_DIR/.env" ]; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.cp "$INSTALL_DIR/.env.example" "$INSTALL_DIR/.env" && chmod 600 "$INSTALL_DIR/.env"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.<summary>Where do my credentials go?</summary><p><strong>Hosted:</strong> LinkedIn's app secret is a Cloudflare Worker secret, and your access token is stored eFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.# curl -fsSL https://raw.githubusercontent.com/aigamer-dev/linkedin-mcp/main/install.sh | bashFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.console.error("Set LINKEDIN_CLIENT_ID and LINKEDIN_CLIENT_SECRET in .env first.");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- [ ] No secrets, tokens or `.env` content includedFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const envFile = join(root, ".env");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.<summary>Do I need my own LinkedIn app?</summary><p>Not with the hosted connector, which uses a shared app. Run the local version if you want your own app, so yFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.# curl -fsSL https://raw.githubusercontent.com/aigamer-dev/linkedin-mcp/main/install.sh | bashFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
22 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.npmrc.
- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Unclaimed publisher≈ +8 on the totalClaim aigamer-dev: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Direct script execution from GitHub raw URL≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.