Skip to main content

cpp-smart-pointers

Teaches safe memory management in C++ using smart pointers and RAII patterns for efficient resource handling.

Install this skill

or
91/100

Security score

The cpp-smart-pointers skill was audited on Feb 9, 2026 and we found 9 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

low line 976

External URL reference

SourceSKILL.md
976- [C++ Reference - unique_ptr](https://en.cppreference.com/w/cpp/memory/unique_ptr)
low line 977

External URL reference

SourceSKILL.md
977- [C++ Reference - shared_ptr](https://en.cppreference.com/w/cpp/memory/shared_ptr)
low line 978

External URL reference

SourceSKILL.md
978- [C++ Reference - weak_ptr](https://en.cppreference.com/w/cpp/memory/weak_ptr)
low line 979

External URL reference

SourceSKILL.md
979- [C++ Reference - make_unique](https://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique)
low line 980

External URL reference

SourceSKILL.md
980- [C++ Reference - make_shared](https://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared)
low line 981

External URL reference

SourceSKILL.md
981- [C++ Reference - enable_shared_from_this](https://en.cppreference.com/w/cpp/memory/enable_shared_from_this)
low line 982

External URL reference

SourceSKILL.md
982- [GotW #91: Smart Pointer Parameters](https://herbsutter.com/2013/06/05/gotw-91-solution-smart-pointer-parameters/)
low line 983

External URL reference

SourceSKILL.md
983- [Effective Modern C++ by Scott Meyers](https://www.oreilly.com/library/view/effective-modern-c/9781491908419/)
low line 984

External URL reference

SourceSKILL.md
984- [CppCoreGuidelines - Resource Management](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#r-resource-management)
Scanned on Feb 9, 2026
View Security Dashboard
Installation guide →