Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am completely new to this field and am a college student. I am looking for a static code analysis tool that scans the source code of a web app ( NOT the URL) for security vulnerabilities. So far i have not found a tool that scans the code, it is only asking to paste the URL which is not what i am looking for.Could you please suggest me an "OPEN SOURCE" tool that scans web app developed using ""javascript"""? Please guys!!!

share|improve this question

closed as off-topic by Terry Chia, Adi, NULLZ, Rory Alsop Nov 9 '13 at 12:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question. – John Deters Nov 9 '13 at 1:49

You've mentioned that your app is written in JavaScript, and I assume you are talking about JavaScript that runs in the browser, and not in a Node.js server. That leaves me unsure about whether your app has any server side code (e.g. Java Servlets, PHP, ASP.NET, Ruby, etc).

If you don't have any server side code then your app is quite low risk: there is very little an attacker could get from attacking it. There won't be any database, so there won't be a risk of SQL injection. Can you elaborate on what you are trying to protect? For example, is there any sensitive information handled by the app?

This open source scanner looks for DOM based Cross site scripting, but I'm not sure how easy it would be to set up. You can also search Google for "xss detection plugin" to find other browser plugins that scan web apps.

If your app has server side code then leave a comment to say what language it is so I can suggest a scanner for it.

EDIT: If I understand you correctly, you need to create a web app where users can upload the source for their app, and your web app will tell the users what vulnerabilities are in their app. The uploaded app to be tested might contain Javascript. Have a look at this library, it might help you to scan Javascript for security vulnerabilities.

share|improve this answer
This is what my professor asked me to develop.. "develop a web based app to scan a web app. This will find security vulnerabilities in the code and visualize it nicely. User will have option to remove false alarm and use his own rules. Feel free to use any open source" Am not developing an app with javascript!! My prof insisted that my scanning app shud scan apps that are written in javascript. ##Am looking for a tool not to test my app but to modify it and use it as my scanner. – user33009 Nov 9 '13 at 10:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.