Skip to main content

oop-inheritance-composition

Helps developers choose between inheritance and composition in object-oriented design for better system flexibility.

Install this skill

or
69/100

Security score

The oop-inheritance-composition skill was audited on Feb 22, 2026 and we found 7 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 133

Template literal with variable interpolation in command context

SourceSKILL.md
133```python
medium line 328

Template literal with variable interpolation in command context

SourceSKILL.md
328return `${this.constructor.name} (${this.color}): Area = ${this.area().toFixed(2)}, Perimeter = ${this.perimeter().toFixed(2)}`;
medium line 353

Template literal with variable interpolation in command context

SourceSKILL.md
353console.log(`Drawing a ${this.color} circle with radius ${this.radius}`);
medium line 383

Template literal with variable interpolation in command context

SourceSKILL.md
383console.log(`Drawing a ${this.color} rectangle ${this.width}x${this.height}`);
medium line 421

Template literal with variable interpolation in command context

SourceSKILL.md
421console.log(`Drawing a ${this.color} triangle`);
medium line 816

Template literal with variable interpolation in command context

SourceSKILL.md
816```csharp
low line 1293

External URL reference

SourceSKILL.md
1293- TypeScript Classes: <https://www.typescriptlang.org/docs/handbook/2/classes.html>
Scanned on Feb 22, 2026
View Security Dashboard
Installation guide →