Closed Bug 652575 Opened 14 years ago Closed 14 years ago

Validator should flag presence of "capability.policy"

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jorgev, Assigned: basta)

Details

(Whiteboard: [ReviewTeam])

Attachments

(1 file)

Changing the policy set of preferences can lead to very insecure code. Only a few add-ons use it legitimately, so it's better to show a flag for their use. Since there are several preferences on this root, it's best to do a regexp check on all files. So, we need to check for the string "capability.policy", and show a warning saying something like "This add-on uses a preference that is potentially unsafe."
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Attached image post-fix screenshot
Reclassifying editor bugs and changing to a new whiteboard flag. Spam, spam, spam, spam...
Whiteboard: [required amo-editors] → [ReviewTeam]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: