On BNET: Vote: How will Apple blow it?
BNET Business Network:
BNET
TechRepublic
ZDNet

By Paul Festa
Posted on ZDNet News: Mar 23, 2005 9:50:00 PM

Rip, mix--get burned?

That's one cautionary note making the rounds along with a popular new extension for Firefox that lets people customize Web pages they visit without the knowledge or cooperation of Web publishers. The extension, dubbed Greasemonkey, lets people run what's known as a "user script," which alters a Web page as the page is downloaded.

That capability has gained the extension an avid following of Web surfers who want to customize the sites they visit, removing design glitches and stripping sites of ads. But the extension comes with substantial security risks and could stir trouble among site owners who object to individual, custom redesigns of their pages.

News.context

What's new:
Greasemonkey, an add-on for the popular Firefox browser, lets surfers customize the sites they visit. Using the extension, one could, for example, jump directly to "printer-friendly," and ad-free, stories on news sites.

Bottom line:
The catch is that the type of scripts used to enable the customization can also be used by cyberthugs to make mischief on people's PCs. Caution, then, is advised.

More stories on Firefox

"Publishers for now seem to accept that it's OK for users to make some changes," said Danny Sullivan, editor of Search Engine Watch. "I can tell my browser not to run JavaScript, for example, and that could override what the publisher wants the page to do. But people are still struggling with where the line is. Some of these things may go to court, but I think in the long run publishers...will adapt...or develop other ways to combat it."

The idea of letting Web site visitors alter pages they visit isn't new. Many pages use the World Wide Web Consortium's Cascading Style Sheets recommendation to let users do just that--adjust colors, font sizes and other style elements.

Greasemonkey goes well beyond such superficial changes. Among other things, Greasemonkey can strip out ads, a feature that's sure to prove controversial with publishers, if it crosses over to the mainstream.

Web site customization tools that give Web surfers the ability to "rip and mix" Web page elements have drawn fire in the past when publishers balked at alterations. Google, for example, got into hot water with some sites after it released a toolbar that offers Web surfers the option of inserting hyperlinks into pages through its AutoLink feature.

In 2001, Microsoft abandoned the Smart Tags feature in Windows XP, which would have linked words in a Web page to pages of Microsoft's choosing.

By manipulating the Dynamic HTML, or DHTML, of a Web page, Greasemonkey scripts can perform a host of tasks, according to the GreaseMonkey UserScripts page. They can, for example, transform story links on The New York Times site and take readers to ad-free, printable versions. They can also change Slashdot's colors and make the site "less ugly," the page says.


Related story
Google toolbar move
raises online ire

Adding hyperlinks where
there weren't any before
is like hijacking a Web
site, some critics say.


Others are designed to execute more substantial changes, such as making connections to Yahoo Mail and Gmail more secure. One, called "Butler," is meant to remove ads on Google results pages, add links to competing search sites, and remove image copy restrictions from Google Print. (CNET News.com's tests of various scripts showed that some were more successful than others at delivering promised results.)

In what could signal a trend toward user scripts, Norwegian browser maker Opera Software has picked up the idea, adding similar functionality to beta 3 of Opera 8, acknowledging Greasemonkey on its Web site.

Regardless of how Web sites react to Greasemonkey--Google wasn't immediately available for comment on the various Google-oriented Greasemonkey scripts--the extension will have to face down substantial security concerns.

The trouble with Greasemonkey and user scripts in general is that scripts can be used for both good and ill, and end users scanning through lists of enticing scripts might fail to distinguish between malicious and benign code.

"A user JavaScript file can in no way harm your computer or stored data, but badly written files can slow down Opera, and malicious files can spy on your browsing," browser maker Opera warns in a Web posting about the new feature in its latest beta. "Never install and use a script library from someone you don't know and trust--if in doubt, post in the Opera forums, newsgroups or mailing lists and ask if the script you would like to use is well written and exploit-free."

User scripts also could facilitate password-stealing schemes, said security consultant Richard Smith, who runs the ComputerBytesMan Web site.

"The bad guys could likely create a script for stealing usernames and passwords in login forms using this tool," Smith said. "They would still need to break into someone's computer to install the script, but the tool would make the theft process much easier."

Aaron Boodman, the 26-year-old programmer in Seattle who wrote Greasemonkey, declined to comment on the extension or on its security implications.

But in a recent posting to his Web site, he acknowledged its security liabilities, and worried that Greasemonkey would become vulnerable as a result of its increasing notoriety.

"A hacker could create a script that does something users want, but also makes a call to the hacker's server, sending your cookies to that machine," Boodman wrote. "He could even scan for password fields and upload those...At this point, I'm only comfortable because the (Greasemonkey) community is relatively small and techie. It would be difficult for a hacker to distribute a malicious script in this environment."

In his posting, Boodman said he was open to ideas on improving Greasemonkey's security.

For now, he urged caution along the same lines that Opera did.

"All I can say is that just like any other software, you should think a tiny bit before installing a user script," Boodman wrote. "Make sure the author is someone you trust, or at least in a social network you trust."

SponsoredWhite Papers, Webcasts, and Downloads

  • Talkback
  • Most Recent of 86 Talkback(s)
Addendum
Did you know that Microsoft is spearheading a move that allows authors of software to access your computer without your knowledge or permission just to 'see' if you're misusing/abusing their copyright... (Read the rest)
Posted by: Zolar Posted on: 04/06/05 You are currently: a Guest | | Terms of Use
What a load of horsecr@p!  peter.koopman@... | 03/23/05
Since you asked?  ShadeTree | 03/23/05
"Your"  sinkemlow | 03/23/05
Not really  ShadeTree | 03/23/05
Good point - but not what you expected  ejhonda | 03/23/05
Okay on a more serious note.  ShadeTree | 03/23/05
GreaseMonkey is a choice  peter.koopman@... | 03/24/05
You asked  Squawkbox | 03/23/05
You asked  deepee912 | 03/23/05
Double edged sword  Sunny Jalolly | 03/23/05
How can users verify?  deepee912 | 03/23/05
Simpler than you realize  Sunny Jalolly | 03/23/05
re: Simpler than you realize  deepee912 | 03/23/05
True  Sunny Jalolly | 03/23/05
Addendum  Sunny Jalolly | 03/23/05
The user has to put in some effort  osreinstall | 03/23/05
Self-modifying Code?  Roger Ramjet | 03/23/05
Very good point  Sunny Jalolly | 03/23/05
No just lips flapping  jjanks | 03/23/05
A lot more than you obsiously think it can  htotten | 03/23/05
Ever hear of the I-Search toolbar?  Sunny Jalolly | 03/23/05
Mixed feelings....  htotten | 03/23/05
Copyright implications  Reality Checker | 03/23/05
there is the debate  IT Scion | 03/23/05
What exactly comprises the content of a web page?  Reality Checker | 03/23/05
I would respectively disagree  IT Scion | 03/23/05
Yes, think about the "benefits" of Gator  Sunny Jalolly | 03/23/05
Drawing the copyright line  Reality Checker | 03/23/05
I can best explain it like this:  htotten | 03/23/05
Well  IT Scion | 03/23/05
you're such a waste of energy  blahblahblah | 03/24/05
copyright  blahblahblah | 03/24/05
it's the site owner's site -- that's why they're called the owner  blahblahblah | 03/24/05
Technically  voska | 03/23/05
Glasses  htotten | 03/23/05
Missing the point.  bargeemike | 03/23/05
I meant of course...  bargeemike | 03/23/05
The security issue is also the copyright issue......  htotten | 03/23/05
Sure  IT Scion | 03/23/05
It's MY computer, not their copyright  Zolar | 04/06/05
Addendum  Zolar | 04/06/05
I see you point  voska | 03/23/05
Yep.  htotten | 03/23/05
I'd say you are more than a bit on the arrogant side  bystander_z | 03/23/05
Rational people.  htotten | 03/24/05
Copyright? I think you overstate its power here  Root User | 03/23/05
Message has been deleted.  ZZmage | 03/24/05
Firefox in a spot?  IT Scion | 03/23/05
FF ppl have little say here.  doe_z | 03/23/05
Who Really Will Use This?  tbbrickster_z | 03/23/05
That's not even close to the point  IT Scion | 03/23/05
Not all extensions are equal  Sunny Jalolly | 03/23/05
What I am implying  IT Scion | 03/23/05
Agreed  Sunny Jalolly | 03/23/05
i have to agree  ZZmage | 03/24/05
Any bad extension will be quickly identified.  maxo_z | 03/23/05
Exactly  Sunny Jalolly | 03/23/05
Maybe it should be like MS  bystander_z | 03/23/05
At what point  IT Scion | 03/24/05
Bad Idea  neverhome | 03/23/05
block this stuff on my own website  Squawkbox | 03/23/05
It's not you I worry about....  htotten | 03/23/05
It IS the script that "joe user" is unaware of.  Squawkbox | 03/23/05
You Bet.  htotten | 03/23/05
This extension will not be installed by me  osreinstall | 03/23/05
Can -not- change registry  jdunck | 03/23/05
That depends  htotten | 03/23/05
Not So  osreinstall | 03/23/05
Well, its user beware, since it's there choice  FilledOut | 03/23/05
The problem is that with this type of tool  htotten | 03/23/05
Being that it is there choice to download and use  FilledOut | 03/25/05
making up problems  emcee_z | 03/23/05
Great.  htotten | 03/23/05
My point  emcee_z | 03/23/05
Proxomitron does this already  bjahraus | 03/23/05
I agree  CobraA1 | 03/27/05
Big deal  michael-t | 03/23/05
Since it does not change the original...  Timothyked | 03/24/05
ads are important  blahblahblah | 03/24/05
You must be an ad man?  Justcauz | 03/24/05
An unfortunate reality  IT Scion | 03/24/05
Also  IT Scion | 03/24/05
Agreed  Justcauz | 03/25/05
yes and no  CobraA1 | 03/27/05
I own my box  Justcauz | 03/24/05
This is far from new  Jebtrix | 03/24/05

What do you think?

advertisement
advertisement

White Papers, Webcasts, and Downloads

Meet Doc