Questions tagged [malicious-code]

Code that harms the system, data, or private information. Viruses, trojans, spyware, etc. are forms of malicious code.

Code that harms the system, data, or private information. Viruses, trojans, spyware, etc. are forms of malicious code.

6 questions
51
votes
13 answers

Why are eval-like features considered evil, in contrast to other possibly harmful features?

Most modern languages (which are somehow interpreted) have some kind of eval function. Such a function executes arbitrary language code, most of the time passed as the main argument as a string (different languages may add more features to the eval…
Luis Masuelli
  • 864
  • 1
  • 7
  • 13
3
votes
1 answer

How does antivirus software protect itself from malware?

How does antivirus protect itself from malware? Some types of malware will kill the running processes and since antivirus is just another software like any other why they can't just kill the antivirus process? I understand that antivirus will scan…
Marko
  • 43
  • 3
3
votes
1 answer

How do projects manage security with so many dependencies in open source projects?

Some node.js libraries (just as an example) can pull in literally hundreds of dependencies. Some of these dependencies are small packages that only have one contributor. Often times the contributor doesn't even have any personal information listed…
3
votes
3 answers

Avoid malicious code while dynamically loading classes with ClassLoader

Background One of the advantages of decoupled components in systems is that you can extend the system without having to touch the existing code. Sometimes you don't even have to recompile the old code because you can dynamically load classes from…
Tulains Córdova
  • 39,201
  • 12
  • 97
  • 154
1
vote
3 answers

What cookies are sent to the server during an API call?

I have tried to look this up online a lot but have found no concrete explanation that answers my question hence hoping someone can help me answer my question—- My question revolves around cookies and what cookies are sent to the server everytime I…
1
vote
1 answer

Is parsing a submitted JSON object safe?

I have a RESTful API, built in NODE.js that does what you would expect it to: consumes data and then makes it accessible. Currently, data being submitted to my server is nested form…
rpaskett
  • 166
  • 1
  • 9