Is linkedin-automation safe?
Use with caution. linkedin-automation is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave linkedin-automation a trust score of 55/100 with 13 findings (4 high).
https://clawhub.ai/zich-dev/linkedin-automation
Is linkedin-automation safe to install?
This LinkedIn automation skill is a browser-based social media automation tool that instructs an AI agent to perform actions on LinkedIn using the user's authenticated session. While no outright malicious code or data exfiltration to external endpoints was found, the install phase showed concerning access to .env, AWS credentials, and agent auth profiles. The skill's core functionality — autonomous posting, commenting, and engagement on behalf of the user's professional identity — carries significant reputation risk, LinkedIn ToS violation risk, and exposes sensitive professional data through browser session access.
What security issues were found in linkedin-automation?
Category Scores
Findings (13)
HIGH Sensitive file access during install: .env and AWS credentials -35 ▶
Filesystem monitoring detected that during the install phase, the process accessed /home/oc-exec/.env and /home/oc-exec/.aws/credentials. While these may be part of the OpenClaw platform's normal initialization, a skill install should not need access to AWS credentials or environment secrets. The .aws/credentials file was opened and read (OPEN, ACCESS, CLOSE_NOWRITE). This access pattern is concerning because the skill claims to only need browser access for LinkedIn automation.
Evidence: 12:08:50 OPEN /home/oc-exec/.env 12:08:50 ACCESS /home/oc-exec/.env 12:08:50 CLOSE_NOWRITE,CLOSE /home/oc-exec/.env 12:08:50 OPEN /home/oc-exec/.aws/credentials 12:08:50 ACCESS /home/oc-exec/.aws/credentials 12:08:50 CLOSE_NOWRITE,CLOSE /home/oc-exec/.aws/credentials
HIGH Agent auth-profiles.json accessed during install -30 ▶
The install process accessed the agent's authentication profiles file, which likely contains tokens or credentials for the agent's authenticated services. This file access is not justified by a LinkedIn automation skill's install requirements.
Evidence: 12:08:50 OPEN /home/oc-exec/.openclaw/agents/main/agent/auth-profiles.json 12:08:50 ACCESS /home/oc-exec/.openclaw/agents/main/agent/auth-profiles.json 12:08:50 CLOSE_NOWRITE,CLOSE /home/oc-exec/.openclaw/agents/main/agent/auth-profiles.json
HIGH Autonomous browser actions on authenticated sessions without per-action consent -30 ▶
The SKILL.md instructs the agent to navigate to linkedin.com, click UI elements, type content, and submit posts using the user's authenticated browser session. The engage.sh workflow further instructs autonomous liking and commenting on posts. These are high-impact actions performed under the user's real professional identity with no per-action confirmation mechanism built into the skill.
Evidence: Steps to execute via browser tool: 1. Navigate to https://www.linkedin.com/feed/ 2. Wait for page load, then click 'Start a post' button 3. In the modal, enter the content in the editor 5. Click the 'Post' button engage.sh: 'Engage with $LIMIT posts in your feed... Like the post (always do this)... Leave a thoughtful comment'
HIGH Authenticated LinkedIn session exposes private professional data -35 ▶
The skill requires browser access to an authenticated LinkedIn session. Once the agent has browser control over a logged-in LinkedIn account, it has access to private messages, connection lists, profile details, email addresses of connections, and other sensitive professional data. The analytics workflow explicitly scrapes personal engagement metrics. While the skill doesn't appear to exfiltrate this data to external endpoints, the access surface is very broad.
Evidence: Prerequisites: 'LinkedIn logged in via browser (use profile with LinkedIn session)' Analytics extracts: 'Impressions per post, Engagement rate, Profile views trend, Follower growth' Browser navigates to: linkedin.com/analytics/creator/, linkedin.com/in/me/recent-activity/all/
MEDIUM Cron scheduling enables deferred autonomous agent actions -15 ▶
The schedule.sh script instructs users to set up cron jobs that inject future instructions into the agent via systemEvent payloads. This creates a mechanism for persistent, unsupervised autonomous behavior where the agent will post to LinkedIn on a schedule without real-time user oversight.
Evidence: schedule.sh: 'payload': {'kind': 'systemEvent', 'text': 'Post to LinkedIn now: $CONTENT'}, 'sessionTarget': 'main' SKILL.md: 'cron add --schedule "0 9 * * 1-5" --payload "Post my LinkedIn content: [content]"'
MEDIUM Engagement automation instructs agent to generate comments as the user -10 ▶
The engage.sh script and engagement.md reference file provide comment templates and instruct the agent to autonomously compose and post comments on other people's LinkedIn posts. The agent is acting as the user's professional identity, and poorly generated or contextually inappropriate comments could damage the user's reputation.
Evidence: engage.sh: 'Leave a thoughtful comment (on best posts) - Add value, not just "Great post!" - Ask a question - Share your experience - Disagree respectfully' engagement.md: 'One thoughtful comment > 10 "Great post!" comments.'
MEDIUM Five shell scripts with user-controlled input parameters -15 ▶
The skill includes 5 bash scripts that accept user input as arguments. While the scripts primarily output instruction text via heredocs (not directly dangerous), post.sh and schedule.sh pass user content ($CONTENT) directly into heredoc output without sanitization. The scripts use 'set -e' (post.sh) but variable expansion within heredocs could be exploited if content contains shell metacharacters in future versions.
Evidence: post.sh: CONTENT="$1" ... cat << EOF ... $CONTENT ... EOF schedule.sh: CONTENT="$1" ... cat << EOF ... $CONTENT ... EOF All scripts accept command-line arguments and use them in heredoc output
MEDIUM LinkedIn ToS violation risk and account ban potential -25 ▶
LinkedIn's Terms of Service explicitly prohibit automated interactions. Using this skill could result in the user's LinkedIn account being restricted, suspended, or permanently banned. The skill acknowledges rate limits but still instructs automated engagement at scale (20-30 comments/day, 100 likes/day).
Evidence: engage.sh rate limits: 'Comments: 20-30/day max, Likes: 100/day max' engagement.md: 'Engagement Pods (Use Carefully) - Risk: LinkedIn may detect and reduce reach' SKILL.md: 'Rate limited: Reduce activity, wait 24h'
MEDIUM Skill could enable coordinated inauthentic behavior -20 ▶
The engagement automation features combined with cron scheduling could be used to create coordinated inauthentic behavior networks on LinkedIn - multiple accounts running this skill to boost each other's content. The engagement.md reference explicitly discusses 'Engagement Pods' for mutual boosting.
Evidence: engagement.md: 'Engagement Pods (Use Carefully) - Small groups that mutually engage on each other's posts. Rules if using: Keep it small (5-10 people), Same industry/niche, Genuine comments only'
LOW Analytics workflow scrapes personal LinkedIn metrics -10 ▶
The analytics.sh workflow instructs the agent to navigate to LinkedIn's analytics dashboard and extract detailed personal metrics including impressions, engagement rates, profile views, and follower data. While this data belongs to the user, it's being collected and structured in a way that could be forwarded if combined with another skill or exfiltration vector.
Evidence: analytics.sh navigates to: https://www.linkedin.com/analytics/creator/ and https://www.linkedin.com/in/me/recent-activity/all/ Extracts: 'totalImpressions, totalEngagements, engagementRate, followerChange, topPost'
LOW Temp file creation during install in /tmp/jiti and /tmp/openclaw -10 ▶
The install process created multiple CJS files in /tmp/jiti/ and a lock file in /tmp/openclaw-1000/. While these appear to be part of the OpenClaw platform's normal JIT compilation process, the creation of executable .cjs files in /tmp during install is noted.
Evidence: 12:08:50 CREATE /tmp/jiti/memory-core-index.87a8c214.cjs 12:08:51 CREATE /tmp/jiti/plugin-sdk-index.b855b2db.cjs 12:08:51 CREATE /tmp/jiti/plugins-runtime.6e101386.cjs (and 6 more .cjs files)
INFO All canary files intact 0 ▶
No honeypot files (fake .env, SSH keys, AWS credentials) were modified or tampered with during the install or runtime phases. This is a positive signal.
Evidence: Monitoring: Canary File Integrity: All canary files intact (no exfiltration detected via honeypots)
INFO No npm install scripts, git hooks, submodules, or symlinks 0 ▶
The skill has no package.json with install scripts, no git hooks, no git submodules, and no symlinks. The shell scripts are straightforward heredoc output generators. No remote code download or execution was observed.
Evidence: package.json: empty gitattributes: empty gitmodules: empty githooks: empty symlinks: empty
Should I install linkedin-automation?
Oathe's verdict for linkedin-automation is CAUTION with a trust score of 55/100. Recommendation: Review before install.