Skip to content

Commit b74dcaa

Browse files
jkyberneeesCopilot
andauthored
Update tooling/advanced-pollution-test.js
Co-authored-by: Copilot <[email protected]>
1 parent 5ffc14d commit b74dcaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tooling/advanced-pollution-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ try {
8888
}
8989

9090
// Final verification
91-
const hasPolluton = Object.prototype.polluted || Object.prototype.testProp
92-
if (hasPolluton) {
91+
const hasPollution = Object.prototype.polluted || Object.prototype.testProp
92+
if (hasPollution) {
9393
console.log('\n❌ VULNERABILITY: Prototype pollution detected!')
9494
process.exit(1)
9595
} else {

0 commit comments

Comments
 (0)