Skip to main content

when-detecting-fake-code-use-theater-detection

Identifies non-functional 'theater' code that appears correct but fails during execution, ensuring only functional code reaches production.

Install this skill

or
35/100

Security score

The when-detecting-fake-code-use-theater-detection skill was audited on Feb 28, 2026 and we found 13 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

medium line 120

Template literal with variable interpolation in command context

SourceSKILL.md
120const usageCount = (content.match(new RegExp(`\\b${symbol}\\b`, 'g')) || []).length;
medium line 124

Template literal with variable interpolation in command context

SourceSKILL.md
124reason: `Unused import: ${symbol}`,
medium line 289

Template literal with variable interpolation in command context

SourceSKILL.md
289analysis.theater_indicators.push(`${emptyCatches.length} empty catch blocks`);
medium line 316

Template literal with variable interpolation in command context

SourceSKILL.md
316console.log(`Analyzed ${analyses.length} files, detected ${theaterCode.length} theater implementations`);
medium line 411

Template literal with variable interpolation in command context

SourceSKILL.md
411describe(`File: ${fileData.file}`, () => {
medium line 414

Template literal with variable interpolation in command context

SourceSKILL.md
414const module = require(`./${fileData.file}`);
medium line 424

Template literal with variable interpolation in command context

SourceSKILL.md
424const module = require(`./${fileData.file}`);
medium line 439

Template literal with variable interpolation in command context

SourceSKILL.md
439fail(`Cannot validate exports: ${error.message}`);
medium line 445

Template literal with variable interpolation in command context

SourceSKILL.md
445const module = require(`./${fileData.file}`);
medium line 468

Template literal with variable interpolation in command context

SourceSKILL.md
468fail(`Function ${key} returns trivial constant`);
medium line 475

Template literal with variable interpolation in command context

SourceSKILL.md
475console.log(`Execution validation: ${error.message}`);
medium line 530

Template literal with variable interpolation in command context

SourceSKILL.md
530console.log(`Confirmed theater code: ${results.confirmed_theater.length} files`);
medium line 879

Template literal with variable interpolation in command context

SourceSKILL.md
879console.log(`Found ${scanResults.results.total_issues} potential theater code issues`);
Scanned on Feb 28, 2026
View Security Dashboard
Installation guide →