Skip to content

Commit b74dcaa

Browse files
jkyberneeesCopilot
andauthored
Update tooling/advanced-pollution-test.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5ffc14d commit b74dcaa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)