ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
During a sprint review you learn that a developer copied source files for an open-source JSON parser from a public GitHub gist into the project repository to avoid adding a formal dependency. From a secure code reuse perspective, what is the most appropriate response?
Retain the copied code and obfuscate it so attackers cannot easily understand or exploit it.
Replace the copied code with the project's vetted package and manage it through the organization's repository so it is automatically tracked by software composition analysis.
Accept the change because eliminating external dependencies reduces supply-chain risk and simplifies builds.
Keep the copied files but perform a one-time static analysis scan before the next release.
Secure code reuse favors using components that are obtained from trusted sources, kept under version control, and continuously monitored for disclosed vulnerabilities. Replacing the hand-copied files with the officially distributed library and managing it through the organization's package repository allows automated Software Composition Analysis (SCA) and timely patching when the open-source project releases security fixes. Simply running a one-time static scan, accepting the change, or obfuscating the code does not address long-term maintenance and vulnerability tracking, and may actually obscure problems rather than solving them.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Software Composition Analysis (SCA)?
Open an interactive chat with Bash
Why is replacing copied open-source code with an official vetted package recommended?
Open an interactive chat with Bash
What are common risks of using hand-copied open-source code?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Implementation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .