question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot add duplicate edge [Edge-Id] -> [Edge-Id]

See original GitHub issue

throw new Error(Cannot add duplicate edge ${edge.name}); ^

Error: Cannot add duplicate edge 2ce1078d75cc4f1d8a304a9f751328dd -> 1cc2b1e3099740bda8186cc9f072f0f8 at Graph.addEdge (/Projects/javascript-deobfuscator-master/dist/graph/graph.js:62:19) at Controller.enter (/Projects/javascript-deobfuscator-master/dist/modifications/proxies/proxyRemover.js:137:44) at Controller.__execute (/Projects/javascript-deobfuscator-master/node_modules/estraverse/estraverse.js:397:31) at Controller.traverse (/Projects/javascript-deobfuscator-master/node_modules/estraverse/estraverse.js:501:28) at Object.traverse (/Projects/javascript-deobfuscator-master/node_modules/estraverse/estraverse.js:713:27) at ProxyRemover.findCycles (/Projects/javascript-deobfuscator-master/dist/modifications/proxies/proxyRemover.js:126:24) at ProxyRemover.execute (/Projects/javascript-deobfuscator-master/dist/modifications/proxies/proxyRemover.js:37:14) at Object.deobfuscate (/Projects/javascript-deobfuscator-master/dist/index.js:65:22) at Object.<anonymous> (/Projects/javascript-deobfuscator-master/dist/run.js:28:24) at Module._compile (node:internal/modules/cjs/loader:1097:14)

source.js

Hi, I don’t know if it is due to some anti-tampering mechanism.

If so, how could I identify it to remove it?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ben-sbcommented, Mar 11, 2022

Yes that script is obfuscated with a custom obfuscator so you’ll need to make a custom deobfuscator for it (this repo is for general deobfuscation, not targeted towards any specific obfuscator). It shouldn’t be too hard, looks like some standard string encoding and a confused attempt at control flow flattening.

0reactions
eliastocommented, Mar 11, 2022

Thanks, the error is gone but it’s not deobfuscated, unfortunately. 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

NSX Edge System Events - VMware Docs
Event Code Event Severity Alarm Code 30011 High N/A 30013 Critical 130013 30014 Major N/A
Read more >
Adding edges create duplicate nodes instead of using the ...
When, edges are added they create duplicate nodes instead of using the ones already added before. import networkx as nx import matplotlib.pyplot ...
Read more >
EdgeID not present in API response · Issue #6947 · portainer ...
Hello, I'm trying to automate edge device deployment using the portainer API to create the endpoint and get the EdgeID and the Edge...
Read more >
EDGE_ID_FROM_PARTS (Transact-SQL) - SQL Server
Returns the character representation (JSON) of the edge ID for a given object ID and graph ID. Syntax. syntaxsql. Copy. EDGE ...
Read more >
NSX Edge Backup and Restore - VMTECHIE
Before pasting the backup in the request body make the following changes…… Remove the section <id><edge-id></id>. remove. Add a new section ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found