Questions tagged [malicious-code]

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

Filter by
Sorted by
Tagged with
3 votes
1 answer
355 views

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 ...
Marko's user avatar
  • 43
1 vote
3 answers
1k views

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 ...
CodingNewbie's user avatar
3 votes
1 answer
140 views

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 ...
sgdsgyhetwaraw's user avatar
51 votes
13 answers
12k views

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 (...
Luis Masuelli's user avatar
1 vote
1 answer
2k views

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 data: data[0][...
rpaskett's user avatar
  • 166
3 votes
3 answers
7k views

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 ...
Tulains Córdova's user avatar