VANCOUVER - A judge has refused bail for a Chinese citizen who owns a home in Vancouver and is accused by U.S. authorities of a sophisticated scheme to steal military secrets.

B.C. Supreme Court Justice Austin Cullen ordered the continued detention of Su Bin, whose permanent residency in Canada was revoked as he faces possible extradition to the U.S.

The FBI alleges Su was the mastermind of a plot to electronically steal information from American military contractor Boeing and sell it to companies in China.

Cullen said Su's connections to Canada appeared to be "illusory" and merely a base for his wife and two children and there's a significant risk the man would flee Canada if released.

Su was arrested by RCMP on June 28, and an extensive FBI affidavit outlining the spying allegations against him has been filed in court, although the U.S. has not yet formally requested extradition.

Su's next court appearance in B.C. has been set for Aug. 27, while a hearing date for his appeal on the immigration process has yet be set.