ਆਧੁਨਿਕ ਐਪਸ ਬਹੁਤ ਸਾਰੀਆਂ ਤੀਸਰੀ-ਪੱਖ ਡਿਪੈਂਡੈਂਸੀਆਂ (ਲਾਇਬ੍ਰੇਰੀਆਂ, ਪੈਕੇਜ) ਦੀ ਵਰਤੋਂ ਕਰਦੀਆਂ ਹਨ, ਜਿਨ੍ਹਾਂ ਵਿੱਚ ਕਮਜ਼ੋਰੀਆਂ ਹੋ ਸਕਦੀਆਂ ਹਨ ਜਾਂ ਉਹ ਖਤਰਨਾਕ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਡਿਪੈਂਡੈਂਸੀ ਸੁਰੱਖਿਆ ਦਾ ਪ੍ਰਬੰਧਨ — ਸਕੈਨਿੰਗ, ਅੱਪਡੇਟ ਕਰਨਾ, ਅਤੇ ਉਨ੍ਹਾਂ ਦਾ ਮੁਲਾਂਕਣ ਕਰਨਾ — ਮਹੱਤਵਪੂਰਨ ਹੈ, ਕਿਉਂਕਿ ਕਮਜ਼ੋਰ ਡਿਪੈਂਡੈਂਸੀਆਂ ਇੱਕ ਆਮ ਹਮਲੇ ਦਾ ਵੈਕਟਰ ਹਨ (OWASP)।
ਜੋਖਮ: ਡਿਪੈਂਡੈਂਸੀਆਂ ਤੁਹਾਡੀ ਹਮਲੇ ਦੀ ਸਤਹ ਦਾ ਹਿੱਸਾ ਹਨ
Apps depend on MANY third-party packages (and their transitive dependencies):
→ a vulnerability in ANY dependency is a vulnerability in YOUR app
→ "using components with known vulnerabilities" is an OWASP Top 10 risk
→ MALICIOUS packages (typosquatting, compromised packages) — supply chain attacks
→ you're trusting/running a lot of code you didn't write.
