Skip to main content

testing-strategy

Provides a comprehensive guide for running and writing tests in the Orient monorepo, covering various test categories and commands.

Install this skill

or
40/100

Security score

The testing-strategy skill was audited on Feb 25, 2026 and we found 12 security issues across 4 threat categories, including 2 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

high line 1028

Direct command execution function call

SourceSKILL.md
1028const result = execSync(`curl -s --connect-timeout 2 ${OPENCODE_URL}/global/health`, {
medium line 860

Template literal with variable interpolation in command context

SourceSKILL.md
860const testAppName = `test-app-${Date.now()}`; // Unique per test run
medium line 901

Template literal with variable interpolation in command context

SourceSKILL.md
901const testAppName = `test-${Date.now()}-${Math.random().toString(36).slice(2)}`;
medium line 908

Template literal with variable interpolation in command context

SourceSKILL.md
908await db.query(`DELETE FROM app_storage WHERE app_name LIKE '${TEST_PREFIX}%'`);
medium line 913

Template literal with variable interpolation in command context

SourceSKILL.md
913await db.query(`DELETE FROM app_storage WHERE app_name LIKE '${TEST_PREFIX}%'`);
medium line 1028

Template literal with variable interpolation in command context

SourceSKILL.md
1028const result = execSync(`curl -s --connect-timeout 2 ${OPENCODE_URL}/global/health`, {
low line 1018

Node child_process module reference

SourceSKILL.md
1018import { execSync } from 'child_process';
high line 1063

Curl to non-GitHub URL

SourceSKILL.md
1063- Verify OpenCode is on port 4099 (dev port): `curl http://localhost:4099/global/health`
low line 855

Access to .env file

SourceSKILL.md
855const TEST_DB_URL = process.env.TEST_DATABASE_URL || process.env.DATABASE_URL;
low line 1022

Access to .env file

SourceSKILL.md
1022const OPENCODE_URL = process.env.OPENCODE_URL || 'http://localhost:4099';
low line 1022

External URL reference

SourceSKILL.md
1022const OPENCODE_URL = process.env.OPENCODE_URL || 'http://localhost:4099';
low line 1063

External URL reference

SourceSKILL.md
1063- Verify OpenCode is on port 4099 (dev port): `curl http://localhost:4099/global/health`
Scanned on Feb 25, 2026
View Security Dashboard