Back to skill

Security audit

SocialKit LinkedIn Post

Security checks for vulnerabilities and agentic risk

Overview

The LinkedIn publishing workflow has approval safeguards, but its setup sends sensitive sign-in responses to a third-party website without explaining that exposure.

Use an HTTPS callback you control instead of copying the supplied third-party URL; that endpoint receives sensitive sign-in parameters. Review socialkit-social-core separately, connect only the intended LinkedIn account, and approve each exact post knowing it will be public. All bundled files were inspected, but the external core dependency and callback service remain outside the verified package.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (10)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 23)May include surrounding context.

md
1. Sign in once: `node scripts/auth.mjs --platform linkedin --start`, give the user the `signInUrl`, then `node scripts/auth.mjs --platform linkedin --finish --

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 26)May include surrounding context.

md
3. Write `post.json` (text, media with alt text, options). See `node scripts/publish.mjs --help`.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 27)May include surrounding context.

md
4. Validate: `node scripts/publish.mjs --check --dir li-<slug>`

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 30)May include surrounding context.

md
6. Publish: `node scripts/publish.mjs --publish --dir li-<slug>` and report the result.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

OAuth setup uses a third-party callback URL without warning that it will receive the authorization response.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The setup recommends and configures an author-controlled HTTPS callback without explaining that its operator receives the OAuth authorization code and state. This unnecessarily exposes sensitive authorization responses to a third party; the required client secret limits direct code redemption, but does not eliminate callback logging, interception, or manipulation risks.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/auth.mjs (reported line 621)May include surrounding context.

js
return v;
}
function apiBase(env) {
  return env[PIN_ENV.sandbox] === "1" ? "https://api-sandbox.pinterest.com/v5" : "https://api.pinterest.com/v5";
}
function basic(env) {
  return {

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/auth.mjs (reported line 649)May include surrounding context.

js
async function finishPinterestLogin(pastedUrl, env = process.env, fetchImpl) {
  const { code, redirectUri } = finishPasteback("pinterest", pastedUrl, env);
  const res = await postForm(
    "https://api.pinterest.com/v5/oauth/token",
    { grant_type: "authorization_code", code, redirect_uri: redirectUri, continuous_refresh: "true" },
    basic(env),
    fetchImpl

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/auth.mjs (reported line 666)May include surrounding context.

js
"pinterest",
      async (t) => toToken(
        await postForm(
          "https://api.pinterest.com/v5/oauth/token",
          { grant_type: "refresh_token", refresh_token: t.refreshToken },
          basic(env)
        ),

The LinkedIn skill exposes authentication and account-query capabilities for unrelated social platforms.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The CLI actively dispatches to X, TikTok, and Pinterest authentication flows, which request platform-specific OAuth scopes and persist their credentials. It also exposes Pinterest board listing and TikTok creator-information queries at L1309–L1310; these are reachable operations, not merely unused bundled code, and are unjustified for a skill whose stated purpose is publishing to LinkedIn.

Content

No source excerpt is available for this finding.