CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

ai-ecoverse/advanced-skills

Quarantined high-risk skills (browser session capture, WebSocket interception) for Slack and Microsoft Teams. Install only after reviewing the security implications.

Quality

96%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

script.jsskills/slack/tests/

// script.js — read a shipped .jsh the way jsh runs it, for tests.
// The `#!/usr/bin/env jsh` line is stripped and kept as an empty line, so line
// numbers still match, as the jsh executors and tools/check-jsh-parse.mjs do:
// an AsyncFunction body cannot contain a hashbang.
import { readFileSync } from 'node:fs';

export function stripShebang(source) {
  if (!source.startsWith('#!')) return source;
  const newline = source.indexOf('\n');
  return newline === -1 ? '' : `\n${source.slice(newline + 1)}`;
}

export function readScript(file) {
  return stripShebang(readFileSync(file, 'utf8'));
}

tile.json